400 Bad Request with Google AdSense

十年热恋 提交于 2019-12-02 20:03:12

You just need to wait, when you first implement Adsense it will give this error. It took until next morning for Adsense to start displaying ads. I implemented their Responsive ad type.

Balram Singh

I was also getting same error when I added adsense code first time in my website. In my case, it started working simply after reloading page.

I had the same problem, and after some research, I've seen it's a problem of incompatibility between Google Adsens and AJAX sites.

See Google's announcement and these two threads in Google's forums.

I've tried to artifically mangle the prev_fmts parameter, but I couldn't find my way through the obfuscated JS. Anyway, I guess that doing this would go against Google Adsense TOS.

Adblock was blocking the ads. I Enabled the site to solved it.

If you actived ads auto you just replace

data-ad-slot="ad_slot"
by
enable_page_level_ads=true

Working for me.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!