To be honest ads in extensions are tricky. It's technically possible, but a bit of a minefield. You are allowed to use ads so long as ads are clearly attributed to your extension, use of ads are clearly disclosed in your extension's description, the extension abides by the
User Data policy requirements (here be dragons), you don't use ads in a way that violates the
Extensions Quality Guidelines policy, and possibly other hurdles that aren't occuring to me this late at night.
Adsense is explicitly not allowed to be used for monetising extensions, neither can you inject tracker advertisements/generated advertisements inside an extension - Deco
I think the issue you're getting at here is the use of user data such as the page URL or exposing a user's browsing history to advertising partners. The relevant policy states that "Collection and use of web browsing activity is prohibited except to the extent required for a user-facing feature described prominently in the Product's Chrome Web Store page and in the Product's user interface." If that's the concern, then I wholeheartedly agree that injecting ads directly into a page is a bad idea.
That said, you may be able to work within this limitation by using a sandboxed iframe that loads a chrome-extension:// page and displaying ads inside that context. Please note that this is an off the cuff idea by a sleep dev and is not officially endorsed by Chrome or Google. Heck, it may not even work - IDK, I haven't tried it.
Cheers,
Simeon - @dotproto
Extensions Developer Advocate
On Wednesday, May 27, 2020 at 10:47:36 AM UTC-7, Deco wrote: