How to see your AdSense in test mode by IP

Discussion in 'AdSense' started by mika, Mar 28, 2006.

  1. #1
    I think that this is some interesting stuff:
    http://michaelthompson.org/goo/myIP.php

    Maybe someone will need it :)
     
    mika, Mar 28, 2006 IP
  2. MrSupplier

    MrSupplier Peon

    Messages:
    141
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'd better write small FF greasemonkey script to turn adsense testmode, than mess with that.
     
    MrSupplier, Mar 28, 2006 IP
  3. Jenstar

    Jenstar Active Member

    Messages:
    524
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    68
    #3
    The michaelthompson method is *against* the AdSense terms, so be warned before using it.

    There are a couple things you can do within the AdSense terms. You can use phpadsnew to serve your AdSense and block the IP.

    You can add this to your host file to block AdSense on your local computer:
    127.0.0.1 pagead2.googlesyndication.com

    You will find your host file on XP at system32\drivers\etc\ This will block all adsense, not just AdSense on your own site.
     
    Jenstar, Mar 28, 2006 IP
  4. wwwbug

    wwwbug Peon

    Messages:
    296
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    be careful for doing it
     
    wwwbug, Mar 30, 2006 IP
  5. alinush

    alinush Peon

    Messages:
    27
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    not really needed to burden your site with all that code. if you do click your own ad once by accident, adsense won't ban you. maybe the script was made to stop people that can't help it to click their own ads :D
     
    alinush, Mar 30, 2006 IP
  6. michaelthompson

    michaelthompson Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Jenstar, you are the one that makes this site, http://www.jensense.com/ right?

    I have spent a lot of time at your site and have learned a lot there. You give good advice. I got listen to one of the clips you posted from an interview. You are a source that I have trusted since I started this AdSense experiment (well, it's still experimental for me) last fall.

    One of the problems that I am trying to address with myIP() is that I work for a company with several hundred users all working behind the same firewall, and from the perspective of the outside world, all those users have the same IP address. My little websites are a part time gig at best, as I mainly write software for communicating with a certain type of industrial equipment. There are less than a 100 of these machines in the world so it is definitely a narrow niche and what I get from AdSense will just about cover the cost of hosting that I would be paying for anyway, so that's nice.

    Anyway, as far as I know, my coworkers ignore my sites completely but I imagined what if someone from behind our firewall started clicking my ads? Wouldn't google's algorithm have to at least suspect some funny business on my part? And I couldn't say to anyone, "hey, if you are ever at one of my sites, don't click the ads!" Because that would just draw attention to them and exacerbate the potential for problems.

    Some of my pages are kind of old, written in creaky HTML but I like the results and don't feel under any obligation to reconstruct my site every time there is a new method. I used to do things with server side includes, then javascript, then I experimented with java applets for a while, cgi methods, then php, and now I experiment with the so-called AJAX techniques... so there is a little bit of everything out there.

    So first I came up with the php method but since I wanted bring along the creaky old HTML too, I kept wracking my brain for a javascript solution.

    In the meantime I sent a list of my IP's to Google and literally begged them to ignore any clicks originating from them. As you could have no doubt told me before I asked, they replied with a polite "no, we don't do that"

    So I responded with a explanation of my php method. They did not tell me to stop doing it.

    When I finally fielded the javacript method, I sent the AdSense team a full explanation of what I was trying to do and they have not told me to stop doing it. I said very plainly in my message, "(if this ... violates) any part of the Terms of the Service ... let me know and I'll take it down right away, of course. " They have not told me to stop doing it.... yet. Maybe they will tomorrow, or next week, or whenever... it is definitely their game so they cna make the rules whatever they want them to be.

    Sorry this post is so long... but I am finally at the point of it; would you please help me understand how what I have done violates the polices? I sincerely respect your work and would value your thoughts on the matter.

    - Michael
     
    michaelthompson, Apr 6, 2006 IP
  7. michaelthompson

    michaelthompson Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    After I read your comment, I found myself agreeing with you that it was too complicated to implement... so I added a more direct method where a php script just generates the javascript, writes out the current IP address as a constant from Javascript's perspective which eliminates the need for one of the files and the requirement that everything reside in the current directory. It might be faster... I can't really tell just by browsing. Anyway I left a reference copy of the AJAX version there and maybe I'll do a side by side speed test later.

    Thanks for your comment!
     
    michaelthompson, Apr 6, 2006 IP