Getting Error For Mobile Header Ad

Posted in: Newspaper
Post count: 11

I am using shortcodes in Theme Ads spot, from an Ad plugin(for blocking ads on some posts). While all other ads are working fine, I am facing issue only in mobile header ad. It’s showing an error “No slot size available for width=0”. Can you tell me anyway that I can remove the error(can we set the minimum width of mobile ad container)?
You can check at http://www.groundzeroweb.com

Post count: 20685

Hi,

Maybe the ad code is not correct or responsive – the theme displays the code without modifications to the width – https://www.screencast.com/t/dyT551FwxfH. Try setting manually a width and height within the ad code. You can try some online suggestions for this type of error – https://wordpress.org/support/topic/adsbygooglepush-error-no-slot-size-for-availablewidth0-blank-ads-solution/ but keep in mind that not all plugins are fully compatible with the theme, and may not work properly. You can find more about the theme ad settings here – https://forum.tagdiv.com/header-ads-adsense/ and also here – https://forum.tagdiv.com/using-other-ads-non-adsense-ads/

Thanks

Post count: 11

Hi Simon,

Thanks for the reply and the suggestion links. It really helped me. With a little bit of custom code, the mobile header ad is displayed properly. You can mark this topic as resolved.

Thanks once again.

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.