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 (
どうやってやったんですか?ぜひ教えてください。
- GitHub - discourse/discourse-adplugin: Official Discourse Advertising Plugin. Install & Start Serving Ads on Your Discourse Forum · GitHub を使用しました。ご自身の広告を作成する必要があります。
Yandex からのコードを追加する必要があります。
<!-- Yandex.RTB R-A-******-* --> <div id="yandex_rtb_R-A-******-*"></div>
- Yandex からの完全なコードを に追加します。
- 「content security policy script src」にコード
https://mc.yandex.ru/metrika/tag.jsを追加します。
残念ながら、Yandex の広告はページをリフレッシュ(Ctrl + F5)するまで表示されません。この問題を解決された場合は、解決策を共有してください。

