Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 867 Bytes

adsense.md

File metadata and controls

37 lines (31 loc) · 867 Bytes

AdSense

Example

<amp-ad
  width="100vw"
  height="320"
  type="adsense"
  data-ad-client="ca-pub-2005682797531342"
  data-ad-slot="7046626912"
  data-auto-format="rspv"
  data-full-width
>
  <div overflow></div>
</amp-ad>

Configuration

For semantics of configuration, please see ad network documentation. For AdSense for Search and AdSense for Shopping, please see the CSA AMP ad type.

Supported parameters:

  • data-ad-channel
  • data-ad-client
  • data-ad-slot
  • data-ad-host
  • data-adtest
  • data-auto-format
  • data-full-width
  • data-tag-origin
  • data-language
  • data-matched-content-ui-type
  • data-matched-content-rows-num
  • data-matched-content-columns-num
  • data-npa-on-unknown-consent