# Discourse adplugin showing ERR\_BLOCKED\_BY\_CLIENT in dashboard

**URL:** https://meta.discourse.org/t/discourse-adplugin-showing-err-blocked-by-client-in-dashboard/109967
**Category:** Support
**Tags:** advertising
**Created:** [February 24, 2019, 9:15pm UTC](https://meta.discourse.org/t/discourse-adplugin-showing-err-blocked-by-client-in-dashboard/109967 "2019-02-24T21:15:18Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![thegurjyot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thegurjyot/32/120516_2.png) [@thegurjyot](https://meta.discourse.org/u/thegurjyot)
#### Post date: [February 24, 2019, 9:15pm UTC](https://meta.discourse.org/t/discourse-adplugin-showing-err-blocked-by-client-in-dashboard/109967/1 "2019-02-24T21:15:18Z")

</div>

I just installed official Discourse Adplugin and was setting it up according to the instructions on its Readme on Github. As soon as I paste the “Adsense publisher code” or even change the trust level and paste anything else then it says “sorry, an error occurred”. I checked the developer tools console and as soon as I change anything in Adsense settings, the errors just keep piling in the console.

> `PUT https://domain.com/admin/site_settings/adsense_publisher_code net::ERR_BLOCKED_BY_CLIENT`

This is the error I get in the developer console. What could be the issue for this?

---

<div class="post-metadata">

### Author: ![michaeld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michaeld/32/1594_2.png) [@michaeld](https://meta.discourse.org/u/michaeld)
#### Post date: [February 24, 2019, 9:26pm UTC](https://meta.discourse.org/t/discourse-adplugin-showing-err-blocked-by-client-in-dashboard/109967/2 "2019-02-24T21:26:00Z")

</div>

Turn off your ad blocker…

---

<div class="post-metadata">

### Author: ![thegurjyot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thegurjyot/32/120516_2.png) [@thegurjyot](https://meta.discourse.org/u/thegurjyot)
#### Post date: [February 24, 2019, 9:33pm UTC](https://meta.discourse.org/t/discourse-adplugin-showing-err-blocked-by-client-in-dashboard/109967/3 "2019-02-24T21:33:19Z")

</div>

Now that’s a shame on my part. I didn’t notice that adblocker is running for almost a week now on my chrome. Thanks a lot for your reply.

---

<div class="post-metadata">

### Author: ![thegurjyot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thegurjyot/32/120516_2.png) [@thegurjyot](https://meta.discourse.org/u/thegurjyot)
#### Post date: [February 24, 2019, 9:55pm UTC](https://meta.discourse.org/t/discourse-adplugin-showing-err-blocked-by-client-in-dashboard/109967/4 "2019-02-24T21:55:43Z")

</div>

I removed the adblocker and setup the ads. Now, the ads aren’t showing but there’s written “ADVERTISEMENT”. Checked the developer console and there’s a warning which says.

> Refused to load the script ‘[https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js](https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js)’ because it violates the following Content Security Policy directive: "script-src 'unsafe

Then there are a lot of links and then.

> Note that ‘script-src-elem’ was not explicitly set, so ‘script-src’ is used as a fallback.

Now, what should be done? I am getting clueless here.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 24, 2019, 10:05pm UTC](https://meta.discourse.org/t/discourse-adplugin-showing-err-blocked-by-client-in-dashboard/109967/5 "2019-02-24T22:05:13Z")

</div>

Try searching for words in the error message, such as “Content Security Policy”

---

<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: [March 24, 2022, 2:50pm UTC](https://meta.discourse.org/t/discourse-adplugin-showing-err-blocked-by-client-in-dashboard/109967/6 "2022-03-24T14:50:11Z")

</div>


