I am running a website that uses AJAX requests and history.pushState for navigation.
The requested content code contains Google\'s asynchronus AdSense code:
<
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.
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.
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.