October 2017
Intermediate to advanced
370 pages
8h 57m
English
If an amp-ad slot is not filled, then the element will not be displayed unless a fallback element has been defined. In this case, the fallback will be displayed instead of the ad. If no fallback is specified and the ad request goes unfilled, then the ad container will collapse. This may or may not be desirable, depending on your application:
<amp-ad width="300 height="250" type="adsense"> <div fallback>No ad this time</div></amp-ad>
Read now
Unlock full access