Have you worked in the field? Because I have, and I can tell you that ads targeting works. I've built some of these systems that people love to hate on HN. Hundreds of PhDs at Yahoo Labs, Google, FB etc have worked on this for decades and run thousands of A/B experiments. Are you saying that all these people are fraudulent / incompetent and that somehow the whole market cap of Google and FB combined (above 1 trillion dollars) is just a complete fraud?
Contextual advertising works, but much less than behavioral targeting. Anyone who has seen and worked on the data knows that.
Knowing that you just visited Best Buy website 10 minutes ago and searched for a camera is _much_ more relevant to figure out which ad to show you on nytimes.com right now than the content of the article you're reading on nytimes.com