Welcome to WebmasterWorld Guest from 18.212.222.217

Forum Moderators: martinibuster

Message Too Old, No Replies

Weird Adsense Responsive ads bug

resizing from 728 to 300 doesn't work right

     
2:49 am on Jan 2, 2015 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 10, 2003
posts: 929
votes: 13


OK, so had a few days free over the holidays to look at adding responsive ads to our older pages designed for 800 width pages.

Adsense home page kept giving us only 3 out of 5 blots for multi-screen compatibility. I have one long page which didn't need a whole lot of changes to make it mobile friendly as it was mostly text in a table, except that it has a 728 wide G-ad midway down the large table of text on the page for desktop use which was of course making the majority of the page 728 plus pixels and thus non-mobile iphone compliant by GAds standards of 320 width.

Swapped it out for a responsive ad, but was not quite right. Then broke the page into two tables one above and one below width-sized 90%, and the responsive ad in the middle of them in its own table (also tried a div with same results). Still not quite right. Ran it through an emulator and it appears that the Adsense responsive ad is not 300 x 250 as I would expect, but rather 353! Then for some reason it allows the bottom table (not the top one though) to extend out to this same width as if it is the new page width!

Adsense Pagespeed Insights ranks this as a too wide penalty and everything in the bottom table starts to come up as 'falling outside the viewport'. Works the same when reducing Chrome or Firefox. Under MSIE 8.0 it causes the page to stop loading at that point altogether in any width!

Sound familiar to anyone? A search hasn't produced anyone else reporting this.

[edited by: martinibuster at 3:05 am (utc) on Jan 2, 2015]
[edit reason] Added paragraph breaks for ease of reading. [/edit]

3:06 am on Jan 2, 2015 (gmt 0)

Moderator This Forum from US 

WebmasterWorld Administrator martinibuster is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 13, 2002
posts:14872
votes: 478


Sounds like a problem with your stylesheet.
3:14 am on Jan 2, 2015 (gmt 0)

Administrator from US 

WebmasterWorld Administrator not2easy is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 27, 2006
posts:4165
votes: 262


Is the mid page ad in a container element that is sized in your css? Can Google crawl your css? Have you made your pages mobile friendly via @media requests for different sizes or via auto resizing (using ems/% rather than px)? Do you have a viewport setting? These questions relate to AdSense's ability to determine the size the ads should be because it sounds like they are confused. The 353 size especially sounds like there is no size specified for its width so it takes 100%.
10:34 am on Jan 2, 2015 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 10, 2003
posts: 929
votes: 13


CSS? Style-sheets? What are those? Who needs them in HTML 4.01? pish-posh... :-)
DID recently add a viewport setting (huh, something new and quaint) at G's insistence.

Sorry, After much commenting out parts, and re-testing, turns out the width of the 2nd table was being forced to a minimum width of 353, far below, away from the apparent action (i.e the adsense ads) by a string of characters almost identical to "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18..."
Without any spaces, it was being interpreted by the emulators and other browsers, at 320 screen-width, as one unbreakable string which could not be wrapped to the next line and thus forcing the width to >320. Once that was fixed up was able to restore everything back into one big table element including the responsive ad and works ok.

Still having an odd issue with MSIE stopping at the responsive ad... SOME, but not ALL, of the time.

Thanks for taking the time to think about this.
Mike
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members