# Cannot see adsense ads - using official discourse ad plugin

**URL:** https://meta.discourse.org/t/cannot-see-adsense-ads-using-official-discourse-ad-plugin/124194
**Category:** Support
**Created:** [July 28, 2019, 4:42pm UTC](https://meta.discourse.org/t/cannot-see-adsense-ads-using-official-discourse-ad-plugin/124194 "2019-07-28T16:42:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Cybi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cybi/32/151020_2.png) [@Cybi](https://meta.discourse.org/u/Cybi)
#### Post date: [July 28, 2019, 4:42pm UTC](https://meta.discourse.org/t/cannot-see-adsense-ads-using-official-discourse-ad-plugin/124194/1 "2019-07-28T16:42:24Z")

</div>

There were previous topics relating to this issue, but none of them helped!!

I have copy/pasted the code from google adsense for account activation. Every time google says code is not pasted in the format needed and account does not get activated. Then i saw the following error in the browser console

> **Refused to load the script ‘’ because it violates the following Content Security Policy directive: “script-src ‘unsafe-eval’ ‘report-sample’ ‘unsafe-inline’ 'unsafe-eval”. Note that ‘script-src-elem’ was not explicitly set, so ‘script-src’ is used as a fallback.**

The content security policy is enabled in the settings. I tried whitelisting the script-src from google adsense, but nothing works.

This is frustating!

---

<div class="post-metadata">

### Author: ![Yassine\_Yousfi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yassine_yousfi/32/195913_2.png) [@Yassine\_Yousfi](https://meta.discourse.org/u/Yassine_Yousfi)
#### Post date: [July 9, 2020, 9:17pm UTC](https://meta.discourse.org/t/cannot-see-adsense-ads-using-official-discourse-ad-plugin/124194/3 "2020-07-09T21:17:52Z")

</div>

Any input from anyone on this facing same thing after upgrading an old forum… but on scripts.

I disabled `content security policy` but still the same…

---

<div class="post-metadata">

### Author: ![Diogo\_Alves](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/diogo_alves/32/218603_2.png) [@Diogo\_Alves](https://meta.discourse.org/u/Diogo_Alves)
#### Post date: [June 16, 2021, 3:14am UTC](https://meta.discourse.org/t/cannot-see-adsense-ads-using-official-discourse-ad-plugin/124194/4 "2021-06-16T03:14:33Z")

</div>

I’m also having this problem. I’ve been stuck for a days trying to configure this plugin on my website. 😕

---

<div class="post-metadata">

### Author: ![codergautam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codergautam/32/261083_2.png) [@codergautam](https://meta.discourse.org/u/codergautam)
#### Post date: [January 27, 2023, 5:08am UTC](https://meta.discourse.org/t/cannot-see-adsense-ads-using-official-discourse-ad-plugin/124194/5 "2023-01-27T05:08:09Z")

</div>

Same! any solution for this?
