Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (36 sloc) 1.33 KB

SpotX

Example

Basic

  <amp-ad width="300" height="250"
      type="spotx"
      data-spotx_channel_id="85394"
      data-spotx_autoplay="1">
  </amp-ad>

Using Custom Key-Value Pairs

<amp-ad width="300" height="250"
    type="spotx"
    data-spotx_channel_id="85394"
    data-spotx_custom='{"key1": "val1", "key2": "val2"}'>
</amp-ad>

Configuration

The SpotX amp-ad integration has many of the same capabilities and options as our SpotX EASI integration. For full list of options, please see the SpotX EASI integration documentation.

Required parameters

  • data-spotx_channel_id
  • width
  • height