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

Auto ads

Set up Auto ads on your AMP site

Auto ads for AMP automatically place AdSense Auto ads on your AMP pages. After you've added the AMP auto script and ad code, Google will automatically show ads on your AMP pages at optimal times when they're likely to perform well and provide a good experience.

Note: Auto ads for AMP only support display ads at this time.

Before you get started


Let's say you have a site and you host the AMP versions of each page under You'd add <link> tags in the <head> of each AMP and non-AMP page to indicate which content belongs together.

In the non-AMP page:
<link rel="amphtml" href="">

In the AMP page:
<link rel="canonical" href="">

Monetizing your AMP pages with AdSense

Set up Auto ads for AMP

  1. Sign in to your AdSense account.
  2. Click Ads and then Overview.
  3. Click Got an AMP site?
  4. On the "Get AdSense code for AMP site" page, turn on Let Google place display ads on your AMP sites.
  5. Copy and paste the amp-auto-ads script between the <head></head> tags of your page.

    This script loads the required amp-auto-ads libraries. Learn more about the amp-auto-ads component.

  6. Copy and paste the AMP Auto ad code immediately after the opening <body> tag of the pages you want ads to appear.
  7. Click Done. It can take up to an hour for ads to appear on the page.

    On your Ads page, it now says "AMP is on".

Tracking the performance of Auto ads for AMP

To track the performance of your Auto ads for AMP:

  • Visit your Reports page, create a custom report and add the "Content platform" breakdown.
Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

' data-mime-type=
Your AdSense page

Introducing AdSense Page: a new resource in which you can find personalized information and new opportunities in your account to help to succeed with AdSense.

Clear search
Close search
Google apps
Main menu
Search Help Center