I’ve created a static home page with a custom ad placed below a big grid 3 (Newspaper 6.6.1) via an ad box.
Google AdSense code is specifically for a leaderboard ad (728×90) but in my page on desktop I’m receiving an MREC (300×250). Column layout in visual composer is full width (1/1), so I’d expect it to be a full width banner ad, horizontally centered.
I know Newspaper scales ads to fit the space, but even if it’s a different size ad, I’d expect it to still be a banner form factor rather than a square.
I tried deleting my cache (WP Super Cache) and clearing browser cache. No effect.
Suggestions?
Thanks, Chris.
I’ve been using responsive ads on my site so far, with pretty limited results. It seems there aren’t a lot of responsive ads in Google’s inventory.
I’d like to use leaderboards and MRECs since those are two of the most common ad sizes. If I put my leaderboard adsense code in the header ad block, it displays a banner ad. If I put that same code in my page body, it displays an MREC. This is a full width row in a full screen laptop browser, so I’d expect it to be able to fit.
Does Newspaper handle custom ad code differently from ad code in the header, footer, etc.?
I may be asking the wrong question. I’m trying to ad a leaderboard ad below a BigGrid 3 on my home page. I’m trying to use custom ad 1 and an ad box. What’s the recommended method?
Thanks
Digging into this deeper – I’m pasting code into custom ad 1 that contains this:
<ins class=”adsbygoogle”
style=”display:inline-block;width:728px;height:90px”
data-ad-client=”ca-pub-XXXXXXXXXXXXX”
data-ad-slot=”XXXXXXXXX”></ins>
And I see in the page source it’s turned into different requests depending on the window size, e.g.
if ( td_screen_width >= 1140 ) {
/* large monitors */
document.write(‘<ins class=”adsbygoogle” style=”display:inline-block;width:300px;height:250px” data-ad-client=”ca-pub-XXXXXXXXXXXXX” data-ad-slot=”XXXXXXX”></ins>’);
So one question is why is the size for large monitors set to 300×250? In fact, they’re all set to 300×250 except for portrait tablets which is set to 200×200 for some reason.
I think there’s an error in the custom ad handling code.
Hello,
The theme actually does use different methods for implementing ads. The standard adsense code can be placed in the theme panel and should display fine. But custom codes or non-adsense must be placed using this method: https://forum.tagdiv.com/using-other-ads/
Thank you!
