Title: AMP Adsense Code
Last modified: December 27, 2020

---

# AMP Adsense Code

 *  Resolved [Joe](https://wordpress.org/support/users/visaflux/)
 * (@visaflux)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/amp-adsense-code/)
 * [@westonruter](https://wordpress.org/support/users/westonruter/) Please may I
   know if I will be able to add Adsense Code to the website page header using the
   official AMP plugin, so I can consider switching back to the official AMP to 
   see if my problem will be resolved.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/amp-adsense-code/#post-13839020)
 * If you’re looking to add AdSense code to your AMP website the [Site Kit plugin](https://wordpress.org/plugins/google-site-kit/)
   makes the process easy, inserting Auto ads for AMP on your AMP URLs. This will
   work on all modes of the AMP plugin.
 * Let us know if you have any further questions on this and we’d be happy to help.
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/amp-adsense-code/#post-13839033)
 * Hello [@visaflux](https://wordpress.org/support/users/visaflux/)
 * AMP plugin is never intended to serve ads. you may need additional plugins such
   as google [site kit](https://wordpress.org/plugins/google-site-kit/) or [Advanced Ads](https://wordpress.org/plugins/advanced-ads/).
 * I am assuming [this](https://www.fanslite.com/kendall-jenner-frank-ocean-take-ice-cream-ny-city/amp/)
   is your site from replies you created in the previous topic. ( if it’s any different
   please share your site health information using [this](https://docs.google.com/forms/d/1JTQmphDlk9YgHpDoFRbHXpkDqv8-QmzTT7MDR4AstyQ/)
   form)
 * Are you using any plugin to insert ads in the header? it might be using [wp_body_open](https://developer.wordpress.org/reference/hooks/wp_body_open/)
   or a similar hook to insert the ad on top of the page.
 * As we can see the site is using reader mode with a legacy theme, have tried to
   switch to other reader mode themes? ( all the WordPress core theme are AMP compatible,
   you can find more themes on our [site](https://amp-wp.org/ecosystem/themes/) )
   so switching reader mode themes might fix your issue easily. our [guide](https://amp-wp.org/documentation/getting-started/reader/#the-onboarding-wizard)
   has more info on it.
 * if you want to keep the legacy theme. you can check [amp_post_template_body_open](https://amp-wp.org/reference/hook/amp_post_template_body_open/)
   hook to insert an ad on top of the page.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘AMP Adsense Code’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Milind More](https://wordpress.org/support/users/milindmore22/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/amp-adsense-code/#post-13839033)
 * Status: resolved