How to add a Sticky ad to the AMP pages?


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:

  1. Create a new advertisement (ACP > Setup > Advertising)
  2. In the Position-field choose After opening of <body>-tag [AMP]
  3. In the HTML field add the following:
<amp-sticky-ad layout="nodisplay">
    <amp-ad width="320" height="100"