You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Desired default behavior for instances when ad slots get filled most of the time:
Add googletag.pubads().collapseEmptyDivs(); to the portion of your page to collapse a particular div only when an ad doesn't serve to its ad slot. If a slot isn't filled, the div collapses, possibly moving the page content up with it and reflowing the page.
The text was updated successfully, but these errors were encountered:
Expected Behavior
When ad slots don't get filled, the empty divs should collapse by default.
Actual Behavior
Divs that are used by ads slots that don't get filled, do not collapse. These divs introduce blank spaces in the layout.
Steps to Reproduce the Behavior
Catch an ad slot that does not deliver creative, or schedule a slot to deliver an empty creative.
Additional Comments
Further details for implementation can be found here:
https://support.google.com/admanager/answer/3072674?hl=en
Desired default behavior for instances when ad slots get filled most of the time:
Add googletag.pubads().collapseEmptyDivs(); to the portion of your page to collapse a particular div only when an ad doesn't serve to its ad slot. If a slot isn't filled, the div collapses, possibly moving the page content up with it and reflowing the page.
The text was updated successfully, but these errors were encountered: