Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.33 KB

adsnative.md

File metadata and controls

46 lines (35 loc) · 1.33 KB

AdsNative

Example

<amp-ad width=300 height=250
    type="adsnative"
    data-anapiid="123456"
</amp-ad>

Configuration

For configuration, please see ad network documentation.

Supported parameters:

Required

  • width: required by amp
  • height: required by amp
  • data-anapiid: the api id may be used instead of network and widget id
  • data-annid: the network id must be paired with widget id
  • data-anwid: the widget id must be paired with network id

Optional

  • data-anapiid: the api id
  • data-anwid: the widget id
  • data-antid: the template id
  • data-ancat: a comma separated list of categories
  • data-ankv: a list of key value pairs in the format "key1:value1, key2:value2"