Hi.
Is there any plugin to use Yandex Ad (https://partner2.yandex.ru) banners with Discourse (with auto disabling for trust users)?
Perhaps there is another way? The ads code doesn’t work (
¿Cómo lo hiciste? ¿Podrías compartirlo, por favor?
- He utilizado GitHub - discourse/discourse-adplugin: Official Discourse Advertising Plugin. Install & Start Serving Ads on Your Discourse Forum · GitHub. Necesitas crear tu propio anuncio.
Debes agregar un código de Yandex como este:
<! - Yandex.RTB R-A-******-* - > <div id = "yandex_rtb_R-A-******-*"></div>
- Y agrega el código completo de Yandex a
- Agrega a “content security policy script src” el código
https://mc.yandex.ru/metrika/tag.js
Desafortunadamente, el anuncio de Yandex solo aparece después de recargar la página del sitio (Ctrl + F5). Si resuelves este problema, por favor comparte la solución.

