Google Adsense Error “TagError: adsbygoogle.push() error: No slot size for availableWidth=0 ”

后端 未结 13 1400
梦如初夏
梦如初夏 2021-01-31 08:56

I\'m using responsive Google Ads on my website but unfortunately it is not working all the time and most of time it is returning

TagError: adsbygoogle.pus

13条回答
  •  抹茶落季
    2021-01-31 09:30

    I solved it using setTimeout as the issue is that the GA code its not picking the size of the parent on its default loading.

    setTimeout(function(){(adsbygoogle = window.adsbygoogle || []).push({})}, 1000);

提交回复
热议问题