Permalink
Find file
ba9657d Feb 29, 2016
61 lines (44 sloc) 1.37 KB

Adform

Please refer to Adform Help Center for more information on how to get required ad tag or placement IDs.

Examples

Simple ad tag with data-bn

<amp-ad width=320 height=50
    type="adform"
    data-bn="12345">
</amp-ad>

Ad placement with data-mid

<amp-ad width=320 height=50
    type="adform"
    data-mid="12345">
</amp-ad>

Ad tag or placement with src

<amp-ad width=320 height=50
    type="adform"
    src="https://track.adform.net/adfscript/?bn=4849385;msrc=1">
</amp-ad>

Supported parameters

  • data-bn
  • data-mid
  • src

Only one of the mentioned parameters should be used at the same time.

The src parameter must use https protocol and must be from one of the allowed Adform hosts.