400 Bad Request with Google AdSense

后端 未结 4 681
星月不相逢
星月不相逢 2021-02-02 06:06

I am running a website that uses AJAX requests and history.pushState for navigation.

The requested content code contains Google\'s asynchronus AdSense code:

<         


        
相关标签:
4条回答
  • 2021-02-02 06:52

    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.

    0 讨论(0)
  • 2021-02-02 06:53

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

    0 讨论(0)
  • 2021-02-02 06:54

    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.

    0 讨论(0)
  • 2021-02-02 07:10

    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.

    0 讨论(0)
提交回复
热议问题