# AdSense problems

**URL:** https://meta.discourse.org/t/adsense-problems/119504
**Category:** Support
**Tags:** advertising
**Created:** [June 4, 2019, 4:24pm UTC](https://meta.discourse.org/t/adsense-problems/119504 "2019-06-04T16:24:46Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![puchal](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@puchal](https://meta.discourse.org/u/puchal)
#### Post date: [June 4, 2019, 4:24pm UTC](https://meta.discourse.org/t/adsense-problems/119504/1 "2019-06-04T16:24:46Z")

</div>

Hi, I am unable to verify publisher code. I live in Canada and my publisher code looks like:  
_ **google\_ad\_client: "ca-pub-81875578…** _  
and when I enter publisher number (without “pub-”) Google does not find it.

How can I get Google to verify (Moving to US is not possible at the moment) 😉

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [June 4, 2019, 7:55pm UTC](https://meta.discourse.org/t/adsense-problems/119504/2 "2019-06-04T19:55:04Z")

</div>

The “ca-” in “ca-pub-” isn’t a Canada thing. The ad plugin is already using “ca-pub-” according to [Google’s instructions](https://support.google.com/adsense/answer/3221666?hl=en). How are you diagnosing the problem to determine that Google isn’t finding your publisher id?

---

<div class="post-metadata">

### Author: ![puchal](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@puchal](https://meta.discourse.org/u/puchal)
#### Post date: [June 4, 2019, 10:01pm UTC](https://meta.discourse.org/t/adsense-problems/119504/3 "2019-06-04T22:01:12Z")

</div>

Google won’t verify, and when I view page source there is no string with ad client ID anywhere on the page. Sry, newbie to Discourse..

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [June 5, 2019, 2:50pm UTC](https://meta.discourse.org/t/adsense-problems/119504/4 "2019-06-05T14:50:26Z")

</div>

Maybe you need to do the same as here:

> [@Your site isn't ready to show ads error](https://meta.discourse.org/t/adsense-plugin-site-error-alert-from-adsense/119115):
>
> I use [Communiteq](https://www.communiteq.com) (formerly DiscourseHosting) and their Adsense plugin — I do not know whether this factoid matters but I share it regardless. Anyhoo, I have added my necessary publisher ID and slot unit ID’s and such in plugin settings, and also added my site and subdomain on Adsense under their Sites settings. However, I have received this error, see attached: Did I need to add my site to Adsense? If so, do I need to copy and paste their snippet anywhere? Please help clarify this.…

---

<div class="post-metadata">

### Author: ![puchal](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@puchal](https://meta.discourse.org/u/puchal)
#### Post date: [June 6, 2019, 9:46pm UTC](https://meta.discourse.org/t/adsense-problems/119504/5 "2019-06-06T21:46:42Z")

</div>

Nope. It generated following

`script async src=“[https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js](https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js)”  
script src="/theme-javascripts/b066ca3b74adbe0d038d57380e72163b79e3f87e.js?\_\_ws=here\_was\_hostname\_of\_forum"1st

Basically first line is ok, but it appears software will serve script as separate \*.js file and Google refuses to validate it..

---

<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: [November 9, 2022, 1:47pm UTC](https://meta.discourse.org/t/adsense-problems/119504/6 "2022-11-09T13:47:50Z")

</div>


