Adsense PSA and robots.txt

Posted in Google on Nov 10, 2009

Found out why Google Adsense wasn’t working.  It was for awhile, but then all I got was public service ads.  It turns out that a file called robots.txt has a switch in it to tell Google not to work with your site.

The problem is, I didn’t have that text file ANYWHERE on my site.

So I created a robots.txt file that says Google isn’t blocked and uploaded it to all my root directories.  Hopefully they get the idea that it is okay for me to advertise for them!

Unfortunately, I figured this out right after their bot crawled and said BLOCKED.  So I will likely have to wait another week for the ads to show up again.  (UPDATE:  Less than 24 hours later and the ads are back.  I think someone is watching out for me!)

Here is the file in case someone else needs it; apparently it is a common issue.

Robots.txt

User-agent: Mediapartners-Google
Disallow:

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • Yahoo! Buzz
  • Twitter
  • Technorati
  • Live
  • LinkedIn
  • MySpace
  • email
  • Print

Leave a Reply


  • You Avatar