Ad blocker detected; please disable it to set up AdSense

Ad blocker detection error
Ad blocker detection error

This notice can appear if the plugin has determined that you have an ad blocker active, which can block communication between your site and AdSense. To complete AdSense setup, temporarily disable your ad blocker before connecting the AdSense module once more, or connect the AdSense module from a Chrome browser incognito window

If you receive this message but you do not believe that you are using an ad blocker in your browser, it’s likely that one or more of the plugins installed on your site is blocking ads. Follow the Using Troubleshooting Mode guide to identify the issue or create a support topic in the plugin support forums for assistance.

Ads not displaying

There can be various causes for ads not appearing on your site. The following checks may be useful to help determine the cause.

Confirm that your AdSense account has been approved

To check your AdSense account status:

  1. Go to Settings > Connected Services > AdSense and click the Check your site status link. This will take you to AdSense.
  2. In the Sites table, find the site that you have connected to AdSense via Site Kit
  3. If it says “Ready,” the account has been approved and should be displaying ads
  4. If it says “Getting ready…,” your account is still under review and your site will not display ads until it has been approved

Verify that Site Kit has inserted your AdSense code snippet

Ads will not appear unless you have a valid AdSense code snippet placed on your site. You can use any of the below methods to check for a Site Kit placed code snippet.

Check your AdSense settings within Site Kit

  • Log into your site with your admin account
  • From the admin menu, go to Site Kit > Settings
  • Click on the AdSense option under the Connected Services tab
  • Check the AdSense Code setting:
    • If it says “The AdSense code has been placed on your site,” Site Kit has successfully placed the AdSense code snippet
    • If it says “The AdSense code has not been placed on your site,” Site Kit has not placed the AdSense code snippet 
  • You can edit these settings at any time by clicking on the Edit button. 

The above check is only possible if you have the AdSense module successfully connected and your AdSense site has been approved for ads. If AdSense is not successfully connected, you can check for the AdSense code snippet placed by Site Kit by reviewing your Site Health information using this guide

The AdSense settings screen within Site Kit, highlighting the AdSense snippet placement status

Check your Site Health information

You can use your Site Health information to check for a Site Kit-placed AdSense code snippet by following this guide.

Check your site’s source code

Optimization, caching, privacy, and other third-party plugins can modify your Site Kit-placed AdSense code snippet, resulting in ads not being placed. You can check your site’s source code to identify any modifications. A Site Kit-placed AdSense code snippet is inserted in two parts. 

The first part should look like this:

<!-- Google AdSense snippet added by Site Kit -->
	<meta name="google-adsense-platform-account" content="ca-host-pub-2644536267******">
	<meta name="google-adsense-platform-domain" content="sitekit.withgoogle.com">
	<!-- End Google AdSense snippet added by Site Kit -->

This part includes a Site Kit AdSense for Publishers ID that helps the AdSense team to identify how AdSense was added to your site. 

The second part includes your own AdSense publisher ID, and looks like this: 

<!-- Google AdSense snippet added by Site Kit -->
	
	<script async="async" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-34671618896******&amp;host=ca-host-pub-2644536267******" crossorigin="anonymous" type="text/javascript"></script>
	
	<!-- End Google AdSense snippet added by Site Kit -->

If your code snippet is placed via Site Kit and it doesn’t match the above, check for any third-party plugin configurations that could affect scripts, such as deferred content, minification, or combining of assets. You can temporarily deactivate any plugins that could be affecting this script and check your site’s source code once more to verify if this fixes the issue. Alternatively, you can use the Health Check & Troubleshooting plugin to deactivate all other plugins and perform a check with only Site Kit active. 

Check your site while not logged in

The default configuration of a Site Kit-placed AdSense code snippet is to not display ads for logged-in users. To confirm that ads are displaying, perform a check of the front-end of your site while not logged in. 

Ensure you don’t have any ad blockers active

If you have an ad blocker browser extension active, or if your browser blocks ads by default, you may not see any ads on your site. To ensure that ads are running, check your site from a browser in private browsing or incognito mode, where browser extensions and caching are usually not applied. 

Check your Cross-Origin Resource Sharing (CORS) policy

If you manage your site’s CORS policy, ensure that you have not restricted any AdSense code snippet from executing. You can check blocks by reviewing your browser console errors. Consult with your technical contact if you are unsure if your site has a CORS policy. 

Contact AdSense support

If the AdSense code snippet is successfully embedded on your site and your account has been approved but your site is still not showing ads, contact the AdSense Help Center for assistance.

AdSense approvals and timeline

If you are new to AdSense and you connect it for the first time via Site Kit, your new AdSense account will need to be manually reviewed and approved by the AdSense team. Check out this guide for more information about the approval process and timeline.

If you have questions about your site’s approval status, please contact the AdSense Help Center.

Insufficient permissions

The error as it appears on the Site Kit dashboard, within the AdSense widget

This error can appear in various circumstances. The different causes and resolutions are listed below:

  • The connected Google AdSense account was changed: Other WordPress administrators have the ability to disconnect and reconnect the AdSense module within Site Kit. They may have connected Site Kit to their own AdSense account or removed access to the connected AdSense account. To resolve this, you can request that the owner of the connected AdSense account grants you access to their AdSense account. Alternatively, you can disconnect the AdSense module and connect once more, to your own AdSense account. Note that unless you’ve granted others access to your AdSense account, this can cause similar permission errors for other Site Kit administrators, who may have set up the plugin. 
  • The Google account associated with Site Kit was changed: If you set up Site Kit and connect AdSense with one Google account, and then connect any additional services but use a different Google account, Site Kit will switch to using this Google account by default. This newly connected Google account may not have access to the connected AdSense account, resulting in this error. To resolve this, visit the AdSense platform using the Google account you initially set Site Kit up with, and grant access to the Google account currently connected. Alternatively, you can disconnect your Google Account from Site Kit and connect once more, this time using the Google account which you initially used to set up Site Kit. If you encounter permission errors for other services, you can disconnect these services and then connect once more, using the same Google account you used to set up Site Kit. 
  • AdSense is not enabled at Workspace level: The error can appear if the Google account which you used to set up Site Kit is a Google Workspace account and AdSense has been disabled at Workspace level. If you’re using a Google Workspace email, reach out to your Google Workspace administrator to ask them to turn on permissions for AdSense for your Google account.

Not enough ads

When connected via Site Kit, we strongly suggest using auto ads, which scans your site and automatically places ads for you. While you can’t customize auto ads placement positions from within Site Kit, there are configuration options for auto ads in AdSense including the option to increase or decrease the ad load, and you can also use AdSense to exclude specific pages on your site from showing auto ads. If you want more control over how and where your ads display, you can choose not to use auto ads.

If you have more specific questions about how and where your ads are displaying, please contact the AdSense Help Center.

Additional AdSense Support

For additional assistance, feel free to open a support topic on our WordPress.org support forum. Note that we are limited to Site Kit-related questions about AdSense, including questions about:

  1. AdSense setup or functionality issues within Site Kit
  2. AdSense-related error messages, notices, or warnings within Site Kit
  3. Site Kit configuration
  4. Permission notices within Site Kit

For AdSense-specific questions such as help with site or account approvals, use the AdSense Help Center for assistance. The Site Kit support team does not have access to AdSense accounts and are unable to assist with account-related issues. 

Support Resources