400 Bad Request with Google AdSense

后端 未结 4 685
星月不相逢
星月不相逢 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条回答
  •  旧时难觅i
    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.

提交回复
热议问题