Notification

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

Code implementation guide

Insert ad code into the AMP version of your WordPress site

Accelerated Mobile Pages (AMP) is an open source initiative to enable a better web, with sites that are fast, beautiful, and monetize well. Learn more about how AMP can help publishers.

Creating an AMP version of your WordPress site

To create an AMP version of your site, we recommend you use the AMP for WordPress plugin. AMP for WordPress is an open source plugin that Google has contributed to.

After you've installed and activated the plugin, choose your template mode:

  • Standard: Choose if you want to have a single AMP version of your site
  • Transitional: Choose if you want to have both AMP and non-AMP versions of your site
  • Reader: Choose if your WordPress theme is not AMP-compatible.

If your WordPress theme is AMP-compatible, you can choose from any of these modes. If you want to test AMP first, you can start with Transitional. After testing, you can switch from Transitional to Standard anytime by visiting your AMP for WordPress plugin settings.

For general AMP support, check out the AMP Project's Getting Support page. If you have specific issues using the AMP for WordPress plugin, you can let the team know via the AMP for WordPress plugin support forum.

Improving your site performance through AMP

Inserting ad code on your AMP pages

After you've created your AMP site, you can show ads on your AMP pages. Depending on the template mode you selected in the AMP for WordPress plugin, there are different methods you can use to insert your ad code. If you're unfamiliar with coding, you might want to use an ad plugin or a theme to insert your ad code.

Method of inserting ad code Standard Transitional Reader
Advanced Ads plugin

(for both Auto ads and ad units)

Done Done Done
Ad Inserter plugin

(for both Auto ads and ad units)

Done Done Done
Insert Headers and Footers plugin

(for Auto ads only)

Done Done Done
Genesis themes

(for Auto ads only)

Done Done Cancel
Note: If you have any issues with these plugins or themes, please contact the respective support forum for help.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
17720165850135674480
true
Search Help Center
true
true
true
true
true
157
false
false