Troubleshoot and resolve common issues
Irrelevant ads appear on the page
There can be many reasons why a website 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 has not yet crawled all the pages of your website.
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 that ads are displayed as a transparent boxes or contain any alternative ad or color specified in the ad code 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 & authorization 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 webpages 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, so we can't determine their content and provide relevant ads. However, you can grant our crawler access to login-protected pages in order to see relevant ads.
Website-related issuesYour website is using session IDs in the URL.
If your webpages use session IDs, you may not receive targeted ads on those pages. Since the session ID -- and therefore the URL -- changes every time a different user views a page, the URL won't be in the index and will be queued to be crawled. Once the URL is crawled, however, the session will most likely have expired. This means that pages seen by the users are never in the index. You will 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 website, the AdSense crawler can't match ads to your webpage content. It is important to place the ad code in the same frame as the content of your webpages 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. 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 program policies, which prohibit any manipulation of AdSense code that may affect the standard behavior, targeting or delivery of ads that is not explicitly permitted by Google. In addition, our targeting technology isn't optimized to serve ads within a separate IFRAME. For these reasons, please make sure to implement our ad code directly into the source of your webpage. 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 or contain any alternative ad or color specified in the ad code. Please select the desired ad format on the My ads tab of your account and 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. Keep in mind that only limited modifications to your code are permitted by our program policies.
Content and policy-related issuesYour webpage 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 show on your pages. Please 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 website to assist our crawlers in gathering information about your site to display relevant ads.
It is possible that your site content is not compliant with our program 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. The two common policy violations that trigger our system not to show ads are adult and sensitive content.
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 program 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 settingsYour ad unit is set to display ads only.
Display ad inventory for your content may be limited; if you've chosen not to display text ads in an ad unit, we may show irrelevant ads or no ads in that unit when there are no relevant image or rich media ads available. To avoid showing irrelevant ads, we recommend updating your preferences to show both text and display ads or implementing a backup ad.
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, please review our troubleshooter to fix the problem.