Plugin for Yandex Ad Network

Hi.
Is there any plugin to use Yandex Ad (https://partner2.yandex.ru) banners with Discourse (with auto disabling for trust users)?

2 Likes

Perhaps there is another way? The ads code doesn’t work (

I managed to add ads from Yandex. But ads are displayed only after refreshing the site page (ctrl + f5). Ads do not appear automatically :frowning:

How did you do it? Could you please share?

  1. I used https://github.com/discourse/discourse-adplugin. You need to create your own ad.
    You need to add a code from Yandex like

<! - Yandex.RTB R-A-******-* -> <div id = "yandex_rtb_R-A-******-*"> </div>

  1. And add the full code from Yandex to

  1. Add to " content security policy script src" код https://mc.yandex.ru/metrika/tag.js

Unfortunately, the ad from Yandex appears only after refreshing the site page (ctrl + f5). If you solve this problem, please share the solution.

2 Likes

installation error GitHub - discourse/discourse-adplugin: Official Discourse Advertising Plugin. Install & Start Serving Ads on Your Discourse Forum