Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 1.37 KB

adform.md

File metadata and controls

60 lines (44 loc) · 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.