The discussion revolves around issues with Google AdSense verification. The original poster, adambirds, is unable to verify their site as the required AdSense code is not present in the site’s head. Despite entering the publisher ID in the plugin settings, the code is not visible in the site’s head.
Other users, including Bathinda and Shaneod, are experiencing similar issues. Bathinda has an approved AdSense account, but the warning persists despite having an ads.txt file.
neounix suggests that JavaScript errors on the site may be causing the issue, as seen in Bathinda’s case. neounix recommends disabling plugins and theme components to identify the source of the errors.
PoojaPatel mentions that an ads.txt file is required, but adambirds points out that Google AdSense only allows creation of the file after verification.
However, as you can see, from my site - mufcforum.co.uk, the Advert slots (with no adverts) are showing and see screenshot of admin page with publisher id entered:
Same problem for me.
My website is approved by GASense. They provided me with an ads.txt file, which is now available at BathindaHelper.com/ads.txt (as well as at www.bathindahelper.com/ads.txt). However, the warning has not disappeared (I waited a few days).
My suggestion, at this point in time, is to insure your site is free from JS errors before running third-party ad code and tags, to insure any plugins or mods to your site (other than the adcode tags) are not causing JS errors.
If you wish me to check for you again, kindly disable your ad serving plugin; and let’s check your site for JS errors without the plugin enabled.
Hey guys - i have added my published ID to the ads txt file but the
mydomain.com/ads.txt is showing the incorrect pub number so Google AdSense is throwing the error. Any idea how to change it so the correct pub ID is shown here? Do I need to uninstall and reinstall the plugin maybe?