Like this:
- Mozilla runs some algorithm to categorize browsing history
- Advertisers send an ad compaign to Mozilla targeting certain categories
- Firefox downloads those campaigns regularly and notifies websites that the client has opted-in to local ads
- Website doesn't display ads, and Firefox replaces ad areas with locally-driven ads
- Any clicks/views are recorded locally and reported periodically to Mozilla in an anonymized fashion (e.g. distribution of categories among views and clicks, distribution across domains, etc); clicks open in a new tab with no tracking other than the ad image that was clicked (e.g. if it was a product, the server can redirect to that product page)
- Mozilla bills advertisers using click and view stats; advertisers only get summarized, aggregated data
That's what I thought Brave was promising, and that's what I hope Mozilla is planning. I doubt Mozilla will deliver, but hope springs eternal. If anyone can do it, it's Mozilla, I just doubt they will.