When you use Accelerated Mobile Pages (AMP) HTML to build your pages, your AMP page can appear in Google search results including:
- Standard Google search results
- Top Stories carousel
- Other rich cards and rich snippets (such as Recipes, Movie Lists, and Online Courses)
This page describes how you take advantage of special AMP-related features to appear in Google Search.
Here are the basic steps for creating an AMP page that takes advantage of Google Search features:
Step 1: Create a basic AMP page
- Create your AMP page. Follow the guidelines at Create Your First AMP Page.
- Ensure your content is discoverable by linking your pages. For crawling and indexing, Google Search requires that an AMP page links to a canonical page. The canonical page can be either a non-AMP version of the AMP or it can be the AMP page itself. For details, see Use AMP HTML.
- Validate your AMP page. Use the AMP validator to validate your page. Only valid AMP pages are displayed in AMP-specific features in Google search results.
Step 2: Optimize the appearance of your AMP page in rich mobile search results
- Use structured data to enhance the appearance of your page in Google mobile search results. AMP pages with structured data can appear in rich results in mobile search, like the Top Stories carousel or Rich Cards. These results can include images, page logos, and other interesting features. To learn more about structured data and eligible page types, see Introduction to Structured Data Types.
- Verify your structured data. Use the Structured Data Testing Tool to verify your structured data parses correctly.
- If you are providing structured data for articles, ensure that your logo meets the AMP logo guidelines. If your logo is missing or not properly formatted, it will either be displayed poorly or not at all in the Top Stories carousel.
- Verify your complete AMP for Google Search. The AMP validator does not check for Google-Search-specific requirements, such as the canonical link or structured data. Therefore, make your page publicly available and test it using the AMP Test Tool.
Step 3: Monitor and improve your pages
- Periodically check all your AMP pages. Use the AMP report on Search Console to catch site templating and other site-wide implementation issues that can affect large numbers of your AMP pages. Use the Search Console Rich Cards report to identify problems with your structured data and opportunities to provide additional structured data.
- If you need to immediately update the Google AMP cache to serve the latest version of your content, refer to Update AMP Content. Your updated content may not be immediately reflected in the Google Search index.
- If you need to stop serving your AMP pages from Google Search results, follow Stop Serving AMP from Search Result Page.
Here are a few tools to help you validate and troubleshoot your structured data:
- AMP Test Tool: Checks your AMP page's eligibility for AMP-specific Google Search features, and validates AMP HTML as well as any required structured data. You can use this tool to validate published pages.
- Structured Data Testing Tool: Tests and validates your structured data. You can use this tool to validate your structured data in both live pages and pasted snippets.
- Search Console Rich Cards report: Detects errors and improvements for any rich card structured data.
Here are a few tools to help you validate your basic AMP HTML:
- AMP Validator: Displays errors inline alongside the HTML source of the page. You can use this tool to validate your unpublished HTML.
- Search Console AMP report: Detects errors and shows which AMP pages were successfully indexed by Google Search.
Here are some codelabs to practice building AMP pages for Google Search:
- Foundations codelab
- Advanced concepts codelab
- Beautiful, interactive, and canonical AMP pages codelab
- AMP+PWA codelab