Cannot see adsense ads - using official discourse ad plugin

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!

4 Likes

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…

1 Like

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

Same! any solution for this?