Back to Amphtml

Trugaze

ads/vendors/trugaze.md

latest1.4 KB
Original Source

Trugaze

Example

Basic sample

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

Sample with multisize

html
<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

html
<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 nameDescriptionRequired
widthPrimary size widthYes
heightPrimary size heightYes
data-public-idApplication public idYes
data-slotAd unit codeYes
data-multi-sizeComma separated list of other sizesNo
jsonCustom targeting mapNo

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