Viewing 3 replies - 1 through 3 (of 3 total)
  • Here is additional info about above issue:

    Uncaught Error: Cannot find a responsive size for a container of width=0px and data-ad-format=auto

    Parent container is set to be 33.33333 percents wide.

    media="all"
    @media (min-width: 992px)
    .col-md-4 {
    width: 33.33333333333333%;
    }
    <div id="secondary" class="widget-area col-sm-12 col-md-4" role="complementary">
    ...
    <div class="googlepublisherpluginad" style="text-align: center; width: 100%; height: auto; clear: both;">
    <ins class="adsbygoogle" data-ad-client="ca-pub-****************" data-ad-slot="6266230151" data-ad-format="auto" data-adsbygoogle-status="done" style="display: block; margin: 10px auto; background-color: transparent;"></ins>
    </div>
    </div>

    This thread actually started on AdSense in English forum:
    https://productforums.google.com/d/topic/adsense/Qsp1QrTKvEQ/discussion

    And that is why I am posting “additional info” ??

    Thanks for reporting the issue: I’m able to see 2 ads on the page, one in the side-bar on the right and one in the footer. Is there a third placement which should be there but isn’t?

    Hi GManu, thanks for response!

    adSlot 4290726558 160×600 (in sidebar) is pasted in text widget, and that is the one we can see.

    There is another adSlot 6266230151 (third placement, now):

    dynamicgoogletags.defs.push({"id":"secondary","position":"lastChild","clearBoth":true,"marginBottom":"10px","adSlot":"6266230151","adFormat":"auto","marginTop":"10px","tagName":"DIV","adClient":"ca-pub-************"});

    That one is not visible:
    https://drive.google.com/file/d/0B79gF0lBxgr0Y1lIc2htSjJsUHM/edit?usp=sharing

    I think that 6266230151 is making “Cannot find a responsive size for a container of width=0px and data-ad-format=auto” error. And I think the width of parent container is set in .col-md-4 to 33.33333333333333% so if that position isn’t capable to be used for ad slot, I thought it would be nice to report it here, to you.

    And also, some changes were made to template after ads were implemented with Google Publisher Plugin, you can see details in this message:
    https://productforums.google.com/d/msg/adsense/Qsp1QrTKvEQ/6WqdvRCTvFkJ

    I’m not sure those changes affected adSlot 6266230151, but they were implemented after ads were implemented.

    Thanks!

    (Btw. – if plugin would be disabled, I can provide you with “HAR archive with content” from DevToos, I saved one.)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adsense ad in the sidebar not working’ is closed to new replies.