Title: Site kit code and Adsense code do not match
Last modified: August 5, 2020

---

# Site kit code and Adsense code do not match

 *  Resolved [mser7](https://wordpress.org/support/users/mser7/)
 * (@mser7)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/site-kit-code-and-adsense-code-do-not-match/)
 * Hi,
 * I have been trying to get Adsense in my website for a few months now with no 
   success.
 * I have installed the Site Kit plugin and I am currently using Search Console,
   Analytics and PageSpeed Insights without issues but when in try to connect Adsense
   I receive the following message:
 * >  Your account is getting ready
   >  Site Kit has placed AdSense code on every page
   > across your site. After you’ve finished setting up your account, we’ll let 
   > you know when your site is ready to show ads. This usually takes less than 
   > a day, but it can sometimes take a bit longer.
 * When I go back to Adsense and search for the code I get “The code is missing 
   or incomplete”.
 * I can see that site kit has placed some code on my site but it is not the exact
   same code provided by Google Adsense, I wonder if that might be the problem.
 * Thank you for your help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsite-kit-code-and-adsense-code-do-not-match%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/site-kit-code-and-adsense-code-do-not-match/#post-13212921)
 * Thanks for getting in touch. From inspecting your site I don’t see the full AdSense
   code snippet as placed via Site Kit. If you’d like to share your [Site Health information](https://i.imgur.com/Rtkmsba.png)
   here or [privately](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
   we can check your current setup.
 *  Thread Starter [mser7](https://wordpress.org/support/users/mser7/)
 * (@mser7)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/site-kit-code-and-adsense-code-do-not-match/#post-13213840)
 * Thank you for your response, I just shared it privately.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/site-kit-code-and-adsense-code-do-not-match/#post-13216479)
 * Thanks for the update. I’ve checked your details provided and all looks good 
   with your setup. I can see your AdSense account status remains at pending, so
   you should hear back from the AdSense team soon.
 * From inspecting your source code I noticed the header code script on your site,
   which is all that’s required for AdSense to start rendering ads. As I don’t see
   the usual Site Kit placed additional code you can try clearing your cache via
   your active caching plugin. Eitherway that shouldn’t make a difference when it
   comes to AdSense account or site approval.
 * I can check back with you next week if you’d like, which by then you’ll hopefully
   have a response from AdSense.
 *  [Juragan Chenel](https://wordpress.org/support/users/juragan20/)
 * (@juragan20)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/site-kit-code-and-adsense-code-do-not-match/#post-13216504)
 * `
 *  [Juragan Chenel](https://wordpress.org/support/users/juragan20/)
 * (@juragan20)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/site-kit-code-and-adsense-code-do-not-match/#post-13216510)
 * kodenya yg mana
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/site-kit-code-and-adsense-code-do-not-match/#post-13216522)
 * [@juragan20](https://wordpress.org/support/users/juragan20/) If you’d like to
   open an individual [support topic](https://wordpress.org/support/plugin/google-site-kit/#new-post)
   we’d be happy to look into your case specifically should you be having any issues
   with AdSense setup.
 *  Thread Starter [mser7](https://wordpress.org/support/users/mser7/)
 * (@mser7)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/site-kit-code-and-adsense-code-do-not-match/#post-13217283)
 * Thanks for your help.
 * I have been applying for months now and I keep being rejected due to COVID-19.
   So, I was wondering if maybe the fact that they can’t even find the code on my
   site makes them automatically reject my application.
 * When I check for the code in Google Adsense it says that even if I choose to 
   continue without checking the code, they will need to find it there in order 
   to activate my account. Therefore, I wanted to make sure it was working well 
   before applying again.
 * I cleared my cache both before deactivating Adsense in Google Site Kit and after
   activating it again but I still can’t find the code. I have observed that what
   Site Kit adds inside the head tags is the following code :
 * >  <iframe id=”aswift_0″ name=”aswift_0″ style=”left:0;position:absolute;top:
   > 0;border:0;width:undefinedpx;height:undefinedpx;” sandbox=”allow-forms allow-
   > pointer-lock allow-popups allow-popups-to-escape-sandbox allow-same-origin 
   > allow-scripts allow-top-navigation-by-user-activation” frameborder=”0″ src=”
   > [https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3508751554321396&output=html&adk=1812271804&adf=3025194257&lmt=1596715708&plat=1%3A32776%2C2%3A32776%2C9%3A32776%2C10%3A32%2C11%3A32%2C16%3A8388608%2C17%3A32%2C24%3A32%2C25%3A32%2C30%3A1081344%2C32%3A32%2C40%3A32&tp=site_kit&guci=1.2.0.0.2.2.0.0&format=0x0&url=https%3A%2F%2Fsanicioso.com%2F&ea=0&flash=0&pra=5&wgl=1&dt=1596715708500&bpp=7&bdt=368&idt=180&shv=r20200803&cbv=r20190131&ptt=9&saldr=aa&abxe=1&nras=1&correlator=7049265035833&frm=20&pv=2&ga_vid=1155403192.1596715709&ga_sid=1596715709&ga_hid=236535630&ga_fc=0&iag=0&icsg=4437503301124083&dssz=29&mdo=0&mso=0&u_tz=120&u_his=2&u_java=0&u_h=720&u_w=1281&u_ah=720&u_aw=1281&u_cd=24&u_nplug=3&u_nmime=4&adx=-12245933&ady=-12245933&biw=1263&bih=616&scr_x=0&scr_y=0&eid=42530558%2C42530560%2C182982100%2C182982300%2C21066920&oid=3&pvsid=2928611938862308&pem=600&rx=0&eae=2&fc=1920&brdim=9%2C-720%2C9%2C-720%2C1281%2C-720%2C1281%2C720%2C1280%2C616&vis=1&rsz=%7C%7Cs%7C&abl=NS&fu=8192&bc=31&ifi=0&uci=a!0&fsb=1&dtd=204&#8243](https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3508751554321396&output=html&adk=1812271804&adf=3025194257&lmt=1596715708&plat=1%3A32776%2C2%3A32776%2C9%3A32776%2C10%3A32%2C11%3A32%2C16%3A8388608%2C17%3A32%2C24%3A32%2C25%3A32%2C30%3A1081344%2C32%3A32%2C40%3A32&tp=site_kit&guci=1.2.0.0.2.2.0.0&format=0x0&url=https%3A%2F%2Fsanicioso.com%2F&ea=0&flash=0&pra=5&wgl=1&dt=1596715708500&bpp=7&bdt=368&idt=180&shv=r20200803&cbv=r20190131&ptt=9&saldr=aa&abxe=1&nras=1&correlator=7049265035833&frm=20&pv=2&ga_vid=1155403192.1596715709&ga_sid=1596715709&ga_hid=236535630&ga_fc=0&iag=0&icsg=4437503301124083&dssz=29&mdo=0&mso=0&u_tz=120&u_his=2&u_java=0&u_h=720&u_w=1281&u_ah=720&u_aw=1281&u_cd=24&u_nplug=3&u_nmime=4&adx=-12245933&ady=-12245933&biw=1263&bih=616&scr_x=0&scr_y=0&eid=42530558%2C42530560%2C182982100%2C182982300%2C21066920&oid=3&pvsid=2928611938862308&pem=600&rx=0&eae=2&fc=1920&brdim=9%2C-720%2C9%2C-720%2C1281%2C-720%2C1281%2C720%2C1280%2C616&vis=1&rsz=%7C%7Cs%7C&abl=NS&fu=8192&bc=31&ifi=0&uci=a!0&fsb=1&dtd=204&#8243);
   > marginwidth=”0″ marginheight=”0″ vspace=”0″ hspace=”0″ allowtransparency=”true”
   > scrolling=”no” allowfullscreen=”true” data-google-container-id=”a!0″ data-load-
   > complete=”true”></iframe>
 * Which contains “client=ca-pub-3508751554321396”, but not the entire code.
    Is
   there anything else I could do to try to make it work?
 * Thank you again for the support.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/site-kit-code-and-adsense-code-do-not-match/#post-13217479)
 * As long as you have the header code snippet on your site (adsbygoogle.js) ads
   can be served, you’ll find out more [here](https://support.google.com/adsense/answer/9274516?hl=en).
   This code snippet does already appear on your site, placed via Site Kit.
 * The code snippet you mentioned, the iframe ad code isn’t placed via Site Kit.
   It looks like ad code, possibly inserted using theme configurations.
 * I’f you like to temporarily deactivate your caching plugin and share your Site
   Health information once more I can see if the additional Site Kit tag appears,
   although it shouldn’t make a different when it comes to AdSense approval.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/site-kit-code-and-adsense-code-do-not-match/#post-13257523)
 * As we didn’t receive a response I’ll mark this as resolved. Feel free to open
   a [new support topic](https://wordpress.org/support/plugin/google-site-kit/#new-post)
   if you continue to encounter issues, or reopen this topic and we’d be happy to
   assist.

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

The topic ‘Site kit code and Adsense code do not match’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

## Tags

 * [adsense code](https://wordpress.org/support/topic-tag/adsense-code/)

 * 9 replies
 * 3 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/site-kit-code-and-adsense-code-do-not-match/#post-13257523)
 * Status: resolved