Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

AdUnity

Example

<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