Notification

Please make sure to visit Your AdSense Page where you can find personalized information about your account to help you succeed with AdSense.

AMP ads

Create an AMP-compatible display ad unit

This guide shows you how to create an AMP-compatible display ad unit to show AdSense ads on your AMP pages. Note that all AdSense features (e.g., Blocking controls, Reports, etc.) support AMP ads.

Responsive ads on AMP-compatible pages perform better than non-responsive ads. Other publishers who already implemented responsive AMP ad units, see on average 45% higher RPM* compared to non-responsive ad units.

* Impression RPM, based on data from April 17 to May 17, 2019.

Monetizing your AMP pages with AdSense

For subtitles in your language, turn on YouTube captions. Select the settings icon Image of YouTube settings icon at the bottom of the video player, then select "Subtitles/CC" and choose your language.


Create a display ad unit for your AMP pages

  1. Sign in to your AdSense account.
  2. Click Ads.
  3. Click By ad unit.
  4. Click Display ads.
  5. Give your ad unit a name. We suggest using a unique, descriptive name to help you find your ad unit later.
  6. In the "Ad size" section, choose the size of the ads that you’d like to show:
    • We recommend you leave Responsive selected. Responsive ads automatically adapt their size to fit your page layout and your users' devices. Learn more about the responsive behavior of display ad units.
    • If you prefer to specify the size of the ads that appear on your page, select Fixed and enter the required width and height. Note that fixed sized ad units may have a limited pool of ads available, which might result in lower earnings than using responsive. For more information, check out our guidelines for fixed-sized display ad units.
      Tip: Refer to examples of the most common fixed ad sizes.
  7. Click Save and get code.
  8. Click AMP.
  9. Copy and paste the AMP script between the <head></head> tags of your AMP page.

    This script loads the required amp-ad libraries. You can read more about the amp-ad component here: https://www.ampproject.org/docs/reference/components/amp-ad

  10. Copy and paste the AMP ad code in between the <body></body> tags of your AMP pages where you want ads to appear. If you're not sure how to do this, you might want to review our code implementation guide.
  11. Click Done.

    It usually takes a few minutes for ads to appear on the page but occasionally it can take up to an hour.

Track the performance of your AMP ad unit

Was this helpful?

How can we improve it?
true
Unlock Growth Potential

Don't miss out on valuable AdSense insights. Opt in to receive performance reports, personalized tips, and webinar invites that can help boost your earnings

Opt in

Search
Clear search
Close search
Main menu
14375335102101962748
true
Search Help Center
true
true
true
true
true
157
false
false