Monday, February 11, 2019

Google ads don't appear: adsbygoogle.push() error: No slot size for availableWidth=0

Console shows this error: adsbygoogle.push() error: No slot size for availableWidth=0


Check if there is a responsive ad unit (e.g. with data-ad-format="auto") and media queries at the same time. The ad should either be responsive or you give the size. The two can't be mixed and it results in the above error.