Skip to content

Latest commit

 

History

History
61 lines (49 loc) · 1.37 KB

trugaze.md

File metadata and controls

61 lines (49 loc) · 1.37 KB

Trugaze

Example

Basic sample

<amp-ad
  width="300"
  height="250"
  type="trugaze"
  data-public-id="4WMPI6PV"
  data-slot="/134642692/amp-samples"
>
</amp-ad>

Sample with multisize

<amp-ad
  width="300"
  height="250"
  type="trugaze"
  data-public-id="4WMPI6PV"
  data-slot="/134642692/amp-samples"
  data-multi-size="320x50"
>
</amp-ad>

Sample with targeting

<amp-ad
  width="320"
  height="50"
  type="trugaze"
  data-public-id="4WMPI6PV"
  data-slot="/134642692/amp-samples"
  json='{"targeting":{"target":["sample"],"pos":["amp"]}}'
>
</amp-ad>

Configuration

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

Supported parameters

Parameter name Description Required
width Primary size width Yes
height Primary size height Yes
data-public-id Application public id Yes
data-slot Ad unit code Yes
data-multi-size Comma separated list of other sizes No
json Custom targeting map No

Note: if any of the required parameters is not present, the ad slot will not be filled.