How to add a Sticky ad to the AMP pages?
Answer
If you are running e.g. doubleclick or another ad network that allows Sticky ads, you can add those as follows with the <amp-sticky-ad>
-component:
- Create a new advertisement (ACP > Setup > Advertising)
- In the Position-field choose
After opening of <body>-tag [AMP]
- In the HTML field add the following:
<amp-sticky-ad layout="nodisplay">
<amp-ad width="320" height="100"
type="doubleclick"
data-slot="...">
</amp-ad>
</amp-sticky-ad>