Google AMP Ads - Google AMP Advertising
16683
page-template-default,page,page-id-16683,page-child,parent-pageid-16529,ajax_fade,page_not_loaded,,qode-child-theme-ver-1.0.0,qode-theme-ver-7.9,wpb-js-composer js-comp-ver-5.2,vc_responsive
 

How do I enable Google AMP ads on my AMP pages?

Enabling Google AMP ads on an AMP page is relatively simple.  You will need to place the appropriate AMP ad code on the page.  Here is the list of things you need to know:

  • Before you start you need to know exactly who your ad provider(s) is.
  • You need to determine if your ad provider(s) is participating in the Google AMP project.  You can find the list of Google AMP ad providers (supported ad networks) here: https://www.ampproject.org/docs/reference/components/amp-ad.  Before continuing, you really should visit this page!
  • All Google AMP ads require you to specify the height, width, layout, and type.
  • The type attribute (required) is actually the ad network name.
  • The layout attribute is required for some ad networks.
  • The additional parameters required by the ad provider are specified as “data-” attributes.
  • Once you have determined that your ad provider is supported you need to locate the sample ad unit and view the list of required and optional data attributes.
  • For some ad providers the values for the data attributes can be taken directly from the mobile ad code.
  • If you cannot determine the data attributes, you need to get them from your ad provider.  Many ad providers provide the entire AMP ad code snippet and you can just copy/paste from that.
  • You can have multiple ad placements on the page.
  • It is critical that you use the Google AMP validator tool ater installing the ad units to ensure the code is valid.

Sample Google AMP Ad Code

The code below is a sample that would be used for the Taboola ad network.

<amp-embed width=400 height=300
    type="taboola"
    layout=responsive
    data-publisher=thepublisher
    data-mode=themode
    data-article=auto
    data-placement="Below Article Thumbnails">
</amp-embed>

Other Google AMP Ad Considerations

It is very likely that if you are using a WordPress Google AMP plugin to support your AMP pages, that it will not properly support your ad code.  You may need a customized plugin to get the desired ad implementation.