Much simpler than that, you just ban all targeted ads full stop end of story. The ad-funded internet existed in the 90s before ad targeting was a thing.
You went on a car forum, you'd get ads about car parts. You went on a PC forum, you'd get ads about PC parts. Pretty simple stuff that didn't need to know your age, gender, political affiliation, ovulation status, etc so it's not like the web will go bust without ad targeting.
Targeted ads are exploitative and manipulative, and a crime against humanity, or at least on society.