After installing the dev to get the responsive ad feature, I began getting errors that prevented ads from displaying:
Uncaught Error: adsbygoogle.push(): All ins elements in the DOM with class=adsbygoogle already have ads in them.

Ads displayed in my IE10 but not Chrome.

I had initially tried using two responsive blocks, then tried reverting to just one, and finally I backed out the dev to the 1.2 version. That made the errors go away.

I googled the error message and found a lot of information there for debugging the problem, but it's a bit over my head. I'll wait for a little more debugging to try this great feature again.

Comments

jcnventura’s picture

Comment #1

jcnventura
Primary language English
commented
Status: Active » Postponed (maintainer needs more info)

I believe this is a race condition between the responsive/async adsense ads and the (experimental) "Display anti ad-block request?" option.

Can you confirm that you have that enabled in admin/config/services/adsense?

jcnventura’s picture

Comment #2

jcnventura
Primary language English
commented
Status: Postponed (maintainer needs more info) » Fixed

I'm trying a better approach to this. The ad unblocker request is now displayed 3 seconds after page load.. That should give more than enough time for the adsense ads to load. It doesn't block the page load, but it does behave funny, as the user is actually able to see the message appear. I had managed to reproduce this problem, and this solution made it go away.

http://drupalcode.org/project/adsense.git/commit/c5cb1e3

bunthorne’s picture

Comment #3

bunthorne commented

Awesome. I just gave it a shot, applying the Responsive ad to one of my units. The ads properly display with my Chrome browser now. Thank you for the quick response, and for getting this working.

Comment #4

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.