I don't personally use responsive ads - but this guide also helped with the non-responsive ads. I want my ads fixed at 728x90 on desktop -- then I load different adsense ads for tablets/phones myself
In the end I did the following - look in adsense code for the "width", and change it to "min-width"
I control responsive ad size by controlling the size of the container, usually a <div>
leebow
1:47 pm on May 22, 2018 (gmt 0)
Yeah - that was my first idea - wrap it in a div - and then set the div to block, and fixed size.
It didn't work - the iframe created by adsense was being resized - so although I had a fixed size div - the ad was smaller inside.
I don't even use responsive ads - so I want them to be the size I want.
if a mobile user visits my site - then I load mobile sized ads.
Until then - I don't want a desktop user, who just hasn't opened their browser with a full screen window not seeing the high-paying more attractive 728x90 ads - instead of some text-based 600px sized ads.
Pedro_M
11:02 am on May 26, 2018 (gmt 0)
Hi leebow, if I understand, you don't want a bigger ad size to display a smaller creative? Like this:
300×250 showing up in 328×280 468×60 showing up in 728×90
If that is the case, I believe you can disable this feature in "Ad Serving", located in Allow and Block ads -> Content -> All my sites (or specific one) -> (in the tabs) Ad Serving -> Similar sized display ads - show similar-sized display ads resized to fit within ad units.
If the problem happens in mobile, something like a 300x250 ad size filling up the mobile user full width screen becoming something like a 411px x 250 you can disable this with 'data-full-width-responsive="false" ' in the INS tag. Read more at: