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!

1 Like