The gambling analogy doesn’t quite hold here. Gambling is a zero sum game. Advertising is not a zero sum game. There is room for both sides to walk away with gains from trade.
The whole ecosystem is extractive with the goal of improving quarterly earnings by removing control from the people spending the money. Online ads started out being trackable and much higher ROI than traditional media. Then they ran traditional media out of business while continously raising their own rates (opaque quality score, nebulous targeting options) and then go even further, essentially stealing publishers' content for their own walled garden models.
Amazon got fined a bajillion dollars for deciding to add undisclosed reserve prices for their ad auctions. They just decided that too many auctions ended too low, so they added fake reserve prices and just chose what the price would be...
I drive by an Ikea on may way to work. They just installed a video wall in view of the highway. It is huge, four stories tall and square. It gets noticed but is not intrusive. It is not animated. In daylight it just looks like a big painting. At night it isn't any brighter than the parking lot around it. Yesterday it was advertising an end table for 65$. This morning it was something with a plant in the background. I actually saw and remember that ad. I almost never see ads on websites and certainly don't remember those I do. But that Ikea wall... THAT I remember.
Every marketing channel has its pros and cons. Advertising is no exception.
Online adds are a fool's errand.