Tue Apr 10, 2018 8:22 pm
I was reading through this thread and noticed this:
Margeurite from Camden wrote:I had the exact same problem with the white space - awful isn't it? I only had this problem on desktop, I really loved what G did with my site on mobile. So here's what I did to solve the problem:
- Go to the auto ads section in your AdSense account.
- Change your global settings to reflect the mobile ad options only. That is, disable text and display ads and inarticle ads.
- Give it some time (it took approx. 2 hours on my site) and you won't see the white spaces anymore.
The only downside to this is that you will now have to manually add code onto each individual page in a container for desktop only. This is painful, but I would much rather this than the white space.
I would NOT do this: "manually add code onto each individual page in a container for desktop only."
When you place AdSense in a container that's designated "desktop only" or "mobile only" it loads the AdSense code onto the page, so it remains in the source code, but it then "hides" the ad from displaying on either desktop or mobile, depending on how you've Preset the container. This is against AdSense policy, as AdSense ads cannot be hidden!
Instead, use the accepable modification code that Google supplies and modify your responsive ad code to set specific ad sizes for mobile, tablet and desktop, and-or to hide a specified ad unit.
Everything is found on the following Google page; simply place your own responsive ad info in the highlighted areas:
You won't violate any AdSense policies and risk your account by modifying your responsive ad code in the Google approved way.
SBI's Tips and Techniques page covers the same information:
Hope this helps.