Back to Amphtml

AdvertServe

ads/vendors/advertserve.md

latest876 B
Original Source

AdvertServe

Example

html
<amp-ad
  width="300"
  height="250"
  type="advertserve"
  data-client="tester"
  data-pid="0"
  data-zid="68"
  data-custom1="example"
>
  <div placeholder>Loading ad.</div>
  <div fallback>Ad could not be loaded.</div>
</amp-ad>

Configuration

For details on the configuration semantics, please contact the ad network or refer to their documentation.

Required parameters:

  • data-client: client id
  • data-pid: publisher id
  • data-zid: zone id

Optional parameters:

  • data-custom1: custom field 1
  • data-custom2: custom field 2
  • data-custom3: custom field 3
  • data-custom4: custom field 4
  • data-custom5: custom field 5
  • data-custom6: custom field 6
  • data-custom7: custom field 7
  • data-custom8: custom field 8
  • data-custom9: custom field 9
  • data-custom10: custom field 10