Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use this method to support single size ad units on your AMP page.

Sample HTML

  1. a. Insert an initial <amp-ad> tag block within the HTML <body> block to initialize the ad slot (BEGIN AD to END AD below).
  2. b. Follow it with an <amp-iframe> tag block to sync the cookie (USER SYNC to END USER SYNC below).

...

Use this method to support multiple ad slot sizes on your AMP page.

Sample HTML

  1. a. Insert an initial <amp-ad> tag block in the HTML <body> block to (BEGIN AD to END AD below).
  2. b. Follow it with another <amp-ad> block to specify multi-size ads (BEGIN MULTI-SIZE-SLOT to END MULTI-SIZE-SLOT below).

...