Archived topic
Adsense script in a hook element stopped working
3 replies · Started by Carsten on August 30, 2020
Hi there, I have added an Adsense script to a wp_head hook element. The ad was kicking in the beginning, but now it has stopped.
It is very strange how this can happen, when the settings apparently are right. I can't find any documentation on this, but are there any known issues with Adsense scripts in elements?
Thanks!
Hi there,
We are no aware of any issues.
Maybe try disabling your other plugins to see if anything is conflicting if it used to work?
Disabling all other plugins always is an option, but I don't think this is causing this, since the ads are showing up periodically with no pattern or logic.
Just to clarify, the script should be pasted in directly from Adsense, in the element as it is?
Thanks!
If the instruction from Google says to add the code in <head> tag then yes wp_head is the correct place.