Versions Compared

Key

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

...

You can more or less copy and paste the code. All values are predefined except data-slot. Here you have to define the right values just the last value is predefined picount.

Example code for page impression counter:

<amp-ad width=1 height=1
type = "doubleclick"
data-slot = "/AdserverID/WebPageKey/Channel/ContentTyp/picount"
data-override-width = "1"
data-override-height = "1"
data-multi-size = "1x1"
data-multi-size-validation = "false"
json='{"targeting":{"ad_position":"picount"}}'>
</amp-ad>

...