Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There are a lot of code example out there that helps users do this. Eg: http://stackoverflow.com/questions/12693729/how-to-display-google-adsense-ads-to-search-engine-traffic-only

But I was looking authoritative links or answers, since there is no answer in Adsense TOS.

share|improve this question

I don't see any reason that it wouldn't be OK with AdSense.

The only issue you might have is from the organic search side. If you are showing any kind of content only to search users (including ads) that could be considered "cloaking". To ensure that you don't get an organic ranking penalty, you would want to make sure you serve the same page to search engine robots (like Googlebot) that you serve to visitors from search engines.

share|improve this answer
I concur to some extend. You could be using the language defined by the browser to choose what to show to the user (i.e. French or English?) and that should not be considered cloaking. One way to avoid that connotation is to use a proper canonical so the search engines can see the "ultimate" page (in case of the language, it could be to force the language with ?lang=en at the end of the path.) – Alexis Wilke Jan 19 '14 at 0:12

If you consider the contributors on the AdSense forums to be authoritative, then they don't seem to find any problems with selecting what visitors to show Google ads to.



share|improve this answer

Yes, it is safe.

Reason : Nowhere it is mentioned that it is unsafe. Giants like twitter do that. The only risk associated with cloaking is SEO issues, as cloaking is against the Google webmaster Guidelines.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.