S
S
Shillkas112019-07-27 15:23:52
Google Adsense
Shillkas11, 2019-07-27 15:23:52

Google Adsense Fluid responsive ads must be at least 250px wide?

Google Adsense ad unit is not loading, an error occurs in the console:

adsbygoogle.push() error: Fluid responsive ads must be at least 250px wide: availableWidth=0

I don’t understand what’s the matter, the parent element has a width of 100% and a height of auto, the width is clearly greater than 250px, I also tried to set the width manually to 250px, 300px, but the error does not disappear. What could be the problem?
Ad block code:
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
        style="display:block; text-align:center;"
        data-ad-layout="in-article"
        data-ad-format="fluid"
        data-ad-client="ca-pub-XXXXXXXX"
        data-ad-slot="XXXXXXXX"
        data-full-width-responsive="false"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mNigma, 2021-04-01
@mNigma

Check block style. If FLEX, change to display:block;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question