Forum Moderators: martinibuster

Message Too Old, No Replies

The advice from Google

         

Ironside

3:26 pm on May 20, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I've spent quite a long time trying to make my websites mobile responsive, therefore I have been using a special module that you use with Google AdSense, the module make sure that the AdSense units are properly responsive. I used to like putting a 336 x 280 rectangle into the body of my content. However, that unit is too big for some mobile phones. So I started using the module which I hoped would have made the rectangular unit smaller. What I found happens is when you put the code into the module, the code for the rectangular unit and then put onto your page, it actually displays it as a 728 x 90 banner, not a rectangle. The only time it displays it as a rectangle is when the screen is a lot smaller, i.e. a mobile phone.

Has anyone else managed to get around using 336 x 280 units on both desktop and mobile devices?

netmeg

4:21 pm on May 20, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Well a lot of the smartphones still have 320 wide screens, so you might have an issue running a fixed 336x280.

webcentric

5:29 pm on May 20, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



"special module" ? I'm not really following what you're trying to do or what you think the result should be. You can use css media queries to get very specific ad sizes at different viewport sizes without getting into "special modules" that do who-knows-what(?).

the module make sure that the AdSense units are properly responsive


No module required! See the exact size section of this page [support.google.com ]