# Adsense Not Working after Recent Discourse Update

**URL:** https://meta.discourse.org/t/adsense-not-working-after-recent-discourse-update/106656
**Category:** Support
**Created:** [January 16, 2019, 4:06am UTC](https://meta.discourse.org/t/adsense-not-working-after-recent-discourse-update/106656 "2019-01-16T04:06:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rkaplan](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@rkaplan](https://meta.discourse.org/u/rkaplan)
#### Post date: [January 16, 2019, 4:06am UTC](https://meta.discourse.org/t/adsense-not-working-after-recent-discourse-update/106656/1 "2019-01-16T04:06:52Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [January 16, 2019, 4:07am UTC](https://meta.discourse.org/t/adsense-not-working-after-recent-discourse-update/106656/2 "2019-01-16T04:07:55Z")

</div>

This is very likely due to CSP, a security feature. Please review [Mitigate XSS Attacks with Content Security Policy](https://meta.discourse.org/t/mitigate-xss-attacks-with-content-security-policy/104243), including the most recent reply for details.

---

<div class="post-metadata">

### Author: ![rkaplan](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@rkaplan](https://meta.discourse.org/u/rkaplan)
#### Post date: [January 16, 2019, 4:15am UTC](https://meta.discourse.org/t/adsense-not-working-after-recent-discourse-update/106656/3 "2019-01-16T04:15:05Z")

</div>

Turning off CSP fixed it - thank you.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [January 4, 2022, 2:02am UTC](https://meta.discourse.org/t/adsense-not-working-after-recent-discourse-update/106656/4 "2022-01-04T02:02:24Z")

</div>


