Note that you still have to whitelist the external domain for CSP if this is a new install of Discourse, as CSP is mandatory on all new installs. CSP will be mandatory on all installs once 2.3 is released as well.
It’s a great solution, but not customizable. Every user on every page of the forum will face the code.
I want it to work like Discourse Advertisement Plugin, where you can choose user groups who can see ads and where. I prefers users below trust level 2 and only on topics where the content is enough to serve ads.
@codinghorror It will be great if this auto ads also added to Discourse Ads Plugin.
I’m not convinced that auto ads can work with Discourse. I can’t find any documentation about this, so maybe it’s possible. If you can point us to documentation about how to implement it with single page apps/infinite scroll, then we can try it.
The ad plugin handles AdSense and Ad Manager by using their APIs to request ads be rendered and updated, but I don’t see how that’s done with Auto Ads.
@neil, ¿no hay alguna forma de forzar simplemente una actualización del JavaScript de anuncios automáticos en cada carga de “página”?
Supongo que tendría dificultades para gestionar los anuncios al desplazarse por más respuestas, pero aparte de eso, parece una solución interesante. Me pregunto si se puede utilizar en combinación con los espacios publicitarios tradicionales de AdSense.