Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (44 sloc) 1.38 KB

Adform

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>

Configuration

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

Supported parameters

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

  • data-bn
  • data-mid
  • src: must use https protocol and must be from one of the allowed Adform hosts.