Site logo

Archived topic

Google can't find Adsense code

5 replies · Started by Danny on March 1, 2021

Viewing posts 1–6 of 6

Created a hook for Adsense as shown in the video: wp_head, priority:1

Google Adsense can’t find it (although I can find it in the source code). Is there any common error / recommended troubleshooting?

My Website

Thanks for your help!

Hi there,

what code are you adding? - i can see an ezoic code but can't see and adsense code.

Hey David, it is this script:

<script data-ad-client="ca-pub-7506036706991479" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

I used a hook (wp_head) to put it in.

I can see it in the source code, but Adsense can't find it and just kicked me out for 24hrs.

I can see it now :)
I can also see the iFrames the ads generate in the Sites HTML. Which means the script is running. Not sure what the issue is - maybe its just requires a little time for google to do its thing

Well, I'll just wait a while and see. At least I know it's there. Thanks.

If nothing happens then let us know - happy to take another look :)

This archived topic is closed to new replies.