Adsense Not Working after Recent Discourse Update

My site shows Adsense ads using the Dicourse Ad Plugin.

After I updated to the latest Discourse version today, ads stopped appearing - I just see the word “Advertisement.”

Ads work fine on a different web page I maintain so this seems to be an issue related to Discourse and not related to my Adsense account.

Has anyone else experienced this?

This is very likely due to CSP, a security feature. Please review Mitigate XSS Attacks with Content Security Policy, including the most recent reply for details.

3 Likes

Turning off CSP fixed it - thank you.

2 Likes