Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.22 KB

doubleclick.md

File metadata and controls

53 lines (38 loc) · 1.22 KB

Doubleclick

Example

Basic

<amp-ad width=320 height=50
    type="doubleclick"
    data-slot="/4119129/mobile_ad_banner">
</amp-ad>

With additional targeting

<amp-ad width=320 height=50
    type="doubleclick"
    data-slot="/4119129/mobile_ad_banner"
    json='{"targeting":{"sport":["rugby","cricket"]},"categoryExclusion":"health","tagForChildDirectedTreatment":1}'>
</amp-ad>

Configuration

For semantics of configuration, please see ad network documentation.

Supported parameters:

  • data-slot

Supported via json attribute:

  • categoryExclusion
  • cookieOptions
  • tagForChildDirectedTreatment
  • targeting