• Resolved ibiza69

    (@ibiza69)


    Hi, I wrote plugin author, but being sunday, probably will answer me next week.

    I had a question (that maybe someone has faced too and know how to fix it)…

    When our users login into the site, ads dissapear and Google developers console throws an error:

    Uncaught 
    P
    message: "adsbygoogle.push() error: No slot size for availableWidth=0"
    name: "TagError"
    pbr: true
    stack: "TagError: adsbygoogle.push() error: No slot size for availableWidth=0↵    at zk (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:160:453)↵    at yk (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:159:137)↵    at Mk (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:167:239)↵    at Ml (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:203:493)↵    at im (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:212:106)↵    at hm (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:210:363)↵    at rm (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:224:165)↵    at https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:219:45↵    at Ue.n.ga (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:72:294)↵    at hf (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:81:357)"
    __proto__: Error
    Uncaught 
    P
    message: "adsbygoogle.push() error: No link unit size for width=0px"
    name: "TagError"
    pbr: true
    stack: "TagError: adsbygoogle.push() error: No link unit size for width=0px↵    at Hk (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:165:103)↵    at Nk (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:168:351)↵    at Mk (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:167:222)↵    at Ml (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:203:493)↵    at im (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:212:106)↵    at hm (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:210:363)↵    at rm (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:224:165)↵    at https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:219:45↵    at Ue.n.ga (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:72:294)↵    at hf (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:81:357)"
    __proto__: Error

    BUT, when users are NOT LOGGED into the site, this error completly dissaparears in Google Developers console and shows the ads well in the site, they do not dissapear as when logged in…

    This are our both ads at Adinserter Pro:

    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <ins class="adsbygoogle"
         style="display:block"
         data-ad-client="ca-pub-XXXXXXXXXXXXXXXXXX"
         data-ad-slot="XXXXXXXXXXXX"
         data-ad-format="auto"
         data-full-width-responsive="true"></ins>
    <script>
         (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <ins class="adsbygoogle"
         style="display:block"
         data-ad-client="ca-pub-XXXXXXXXXXXXXXXXXX"
         data-ad-slot="XXXXXXXXXXXX"
         data-ad-format="link"
         data-full-width-responsive="true"></ins>
    <script>
         (adsbygoogle = window.adsbygoogle || []).push({});
    </script>

    We use no cache plugin at all.
    We have “Dinamic Blocks” set to “Client Side Insert”.

    This problem is only inside POSTS, not at Widgets side.

    Maybe someone faced this problem and knows how to solve it?

    Thanks in advance 😉

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Ads Not showing to Logged in users’ is closed to new replies.