Advertisers are the reason we have this problem. The only way to stop them is legislation.
People could return to burning down enterprises that they find unsavory or detrimental to society, such as they did during the industrial revolution, but this is problematic in that it's violent and not something the modern person often considers as viable. A part of why people consider this unviable now is in-part due to the consequences of these surveilance technologies. It's difficult to accomplish a revolution when everyone is being spied on all the time.
As much as the problem is advertising the government allows it because the government buys the data!
Well, not the only way: widespread slaughter would probably work too.
Advertisers may be the reason we got this problem, but the security state is the reason we can't fix this problem and it only gets worse.