Back to Amphtml

AdUnity

ads/vendors/adunity.md

latest678 B
Original Source

AdUnity

Example

html
<amp-ad
  type="adunity"
  width="300"
  height="250"
  data-au-account="xxx"
  data-au-site="xxx"
  data-au-section="xxx"
  data-au-zone="xxx"
>
</amp-ad>

Configuration

Required attributes

data-au-account - account number data-au-site - site id

Optional attributes

data-au-section - section of the site (i.e. hp - homepage), can be empty value data-au-zone - zone id of the ad data-au-dual - this is used to fetch ads for both desktop and mobile devices automatically data-au-isdemo - used to fetch demo ad

Other attributes

For more information please see ad network documentation at https://kb.adunity.com