Hi,

I've recently started to work with responsive ads, but there is a problem with the way the ad is displayed(see attached file). If I place the adsense tag above some text it will overflow over the text. In the attached picture I placed it at the end so that it does not overlap the other elements in the page.

I'm using this line to display the ad:
[adsense:responsive:xxxxxxxxxxxxxxx]

and when I'm logged in as an admin I get the nice window saying that it's a responsive ad... everything is fine, but in non-admin mode the text of the ad is too narrow, even though all the container of the ad (including the first divs that are generated by adsense not my divs) have a much wider size.

I think this is a bug just because if I place at the same place the whole Google adsense code:

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><!-- LeaderBoardHeaderResponsive --><ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-yyyyyyyyyyyyyyyy" data-ad-slot="xxxxxxxxxxxxx" data-ad-format="auto"></ins> <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>

the normal adsene tag works: [adsense:728x90:xxxxxxxxxxxxxxxxx]

I can pm you with the link to my website for further investigations if needed.

Thanks

CommentFileSizeAuthor
adsense_bug.JPG6.77 KBpureh2o
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jcnventura’s picture

Yes, please PM me.

pureh2o’s picture

Hi,

I PM-ed you last weekend, but had to remove the faulty code in the meantime, I can place it again, but I can't leave it there for too long as it does not comply with the Adsense policies...

Let me know if you need to have a look at it again.

Happy to help

jcnventura’s picture

Status: Active » Closed (cannot reproduce)

I wasn't able to reproduce this at the time, and I can't seem to reproduce it now. Feel free to reopen it..