whenever a Google DFP (DoubleClick for Publishers) ad doesn’t deliver a banner (i.e. not enough inventory, not in the geographic location that you set up) you’ll have an empty blank space instead
to avoid this you’ll have to make a little change in the code
in the first piece of code, the one placed in head, insert this line
1 |
googletag.pubads().collapseEmptyDivs(); |
before
1 |
googletag.enableServices(); |