Fixing Google AdSense-WordPress Integration problems

Photo by lalo Hernandez on Unsplash

As you may have noticed, this site is heavily relying on GoogleAds and setting up the ads was a bit challenging task. Everything was a lot simpler years ago, but now the ads require adding the GDPR disclaimer, ads.txt, ideally linking various google systems and so on. Anyway, just wanted to highlight the solution to two relatively simple problems reflected by these error messages in Chrome Dev Console:
Failed to load resource: the server responded with a status of 400 () – happened to me with newly created ads. Nothing to fix here, just wait and the ads will eventually pop-up, that’s it. It took Google approximately 40 minutes to set up the ads, then the errors disappeared and the ads appeared. 40 minutes is actually quite reasonable given the amount of traffic processed by Adsense.
GET net::ERR_BLOCKED_BY_CLIENT – this one is quite silly. I have an ad blocker installed (Adblock Plus, highly recommend: and it was blocking all ads, including the ads on my own sites. Whitelisting the site removed the error message and allowed be to debug the ads placement.

Leave a Reply