Irrelevant ads appear on the page
There can be many reasons why a site may display less targeted ads or no ads at all. Below is a list of the most common issues.
Problems with indexing your siteOur system hasn't yet crawled all the pages of your site
If the AdSense crawler hasn't ever visited your site, it may take up to 48 hours or more before the crawler visits and gathers content from that page. In the meantime, you may see ads that are displayed as transparent boxes or ads that are only slightly relevant.
Note: Our crawler indexes by URL and therefore considers http://site.com and http://www.site.com different URLs. Because our crawler will visit these URLs separately, you may notice that ads appear differently on these pages.
If the AdSense crawler isn't able to access your page, we'll alert you by showing a crawler error. You can view crawler errors on the Account settings page of your account, in the 'Access & authorisation' section. Learn more about crawler errors and how to resolve them.
If your site is using a robots.txt file, the AdSense crawler may be blocked from crawling your pages and determining their content. Learn how to grant our crawler access in your robots.txt file
If the AdSense crawler doesn't know the login or password to your site, we can't determine its content and provide relevant ads. However, you can grant our crawler access to login-protected pages in order to see relevant ads.
Site-related issuesYour site is using session IDs in the URL
If your pages use session IDs, you may not receive targeted ads on those pages. Since the session ID – and therefore the URL – changes every time that a different user views a page, the URL won't be in the index and will be queued to be crawled. Once the URL has been crawled, however, the session will most likely have expired. This means that pages seen by the users are never in the index. You'll need to remove the session IDs in order to display targeted ads.
When the AdSense code is placed in a frame separate from the primary content of your site, the AdSense crawler can't match ads to your page content. It's important to place the ad code in the same frame as the content of your pages in order to serve ads targeted to your content.
If the header of your page contains a refresh tag (
<meta http-equiv="Refresh">), this may also lead to your page displaying irrelevant ads. Removing this tag can help ensure that you receive targeted ads.
Ads implementation issuesThe AdSense code was placed within an iframe
Placing ads in an iframe isn't permitted by our programme policies, which prohibit any manipulation of AdSense code that may affect the standard behaviour, targeting or delivery of ads that isn't explicitly permitted by Google. In addition, our targeting technology isn't optimised to serve ads within a separate iframe. For these reasons, make sure that you implement our ad code directly into the source of your page. Once you make these changes, it may take up to 48 hours or more before relevant ads appear.
If your AdSense code has been manually modified, such as to change the ad unit width or height or the publisher ID, then we may show ads as transparent boxes. Please select the desired ad size on the Ads page in your account, then paste the generated ad code, unedited, onto your pages. Note that this doesn't apply if you've created a responsive ad unit using the advanced mode. Bear in mind that only limited modifications to your code are permitted by our programme policies.
Content and policy-related issuesYour page may not contain enough content
There may not be enough information on your site for our crawlers to determine the content of your pages. Therefore, we could be having difficulty identifying relevant ads to be displayed on your pages. Note that our crawlers are unable to derive meaning from:
- audio and video files (.wma, .mpeg, .mov)
- mp3 files (.mp3)
- images (.jpeg, .bmp)
- Macromedia Flash movies
- Java Applets
In such cases, we recommend that you include more content other than the above files on your site to assist our crawlers in gathering information about your site to display relevant ads.
It's possible that your site content isn't compliant with our programme policies. If our system has detected something within your site that may be construed as potentially negative, non-family safe or even offensive, Google may not show ads.
If the AdSense code is placed on pages with content primarily in an unsupported language, we may show irrelevant ads or ads in another language. As noted in our programme policies, publishers may not display ads on pages with content primarily in an unsupported language, so please remove the ad code from these pages until we're able to support your language.
Ad units settingsYou've blocked ads from too many advertiser URLs
If you block ads from a high number of advertiser URLs, we may no longer have other ads available to target to your content, we may show irrelevant ads or no ads.
If none of the reasons above apply to your site, and your pages are still showing irrelevant ads, review our ads troubleshooter to fix the problem.