Tip: don't show the ads to yourself

Discussion in 'AdSense' started by w3bmistress, Apr 19, 2006.

  1. #1
    I programmed it in so that when i visit my site, none of the google ads show up for me. Because I visit often, and since i cant click on ads it doesn't make sense to even show them. Plus it lowers CTR for each impression you serve to yourself.

    So if you have the ability to do this, and you have a static IP address.. i highly recommend it. It seemed to improve my CTR and CPM. And you cant accidentally click on any.. which I've done. opps.

    Just thought I'd mention it. here's the php code

    
    if($_SERVER["REMOTE_ADDR"] != "your.ip.address") {
      print "google ad code";
    }
    
    PHP:
    hope this helps someone.. :)
     
    w3bmistress, Apr 19, 2006 IP
    Mystique, teammatt3 and dct like this.
  2. dct

    dct Finder of cool gadgets

    Messages:
    3,132
    Likes Received:
    328
    Best Answers:
    0
    Trophy Points:
    230
    #2
    Nice tip, I do something similar on my blogs, but instead of checking the IP address I check if you are logged in, that way I can had ads from multiple locations and multiple authors (though obviously if they log out ads will show.). I also show an image instead of nothing so that you can still see the layout.
     
    dct, Apr 19, 2006 IP
  3. rehash

    rehash Well-Known Member

    Messages:
    1,502
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    150
    #3
    this is good, since it works even if you have dynamic IP
     
    rehash, Apr 19, 2006 IP
  4. toby

    toby Notable Member

    Messages:
    6,923
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    285
    #4
    actually, you can disable all your javascript in your browser and you won't see any javascript ads already.

    at work place, I can't see my google ads. ONly adbrite ads is shown.
     
    toby, Apr 19, 2006 IP
  5. pzn

    pzn Active Member

    Messages:
    575
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    70
    #5
    Thank you! I will definitely use this!
     
    pzn, Apr 19, 2006 IP
  6. jordan5815

    jordan5815 Peon

    Messages:
    228
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I seriously never knew that if you click on your own ads it really messes up, but now that i have learned i stoped.
     
    jordan5815, Apr 19, 2006 IP
  7. ahearn

    ahearn Peon

    Messages:
    292
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Watch your email inbox for the dreaded "banned" message from Google, sending you to Google hell, from which it is almost impossible to return, even if you attempt trickery and clever deceit. Sorry.
     
    ahearn, Apr 19, 2006 IP
  8. jimkarter

    jimkarter Notable Member

    Messages:
    5,168
    Likes Received:
    347
    Best Answers:
    0
    Trophy Points:
    235
    #8
    Nice tip. thank you.:)
     
    jimkarter, Apr 19, 2006 IP
  9. byoung

    byoung Peon

    Messages:
    106
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    they should just do what Yahoo does. Apparently with Yahoo if they detect your ip as clicking/showing the banner they don't count it at all vs google where you get in trouble for click fraud.
     
    byoung, Apr 19, 2006 IP
  10. danfirst

    danfirst Active Member

    Messages:
    450
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #10
    Sorry I don't get it. How does it work even if you have dynamic IP?
    I need more info to properly implement this...
     
    danfirst, Apr 19, 2006 IP
  11. Hemanth

    Hemanth Active Member

    Messages:
    310
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #11
    No it won't unless you use some advanced programming with a programm running in your PC.

    Nice tip though :)
     
    Hemanth, Apr 19, 2006 IP
  12. ForgottenCreature

    ForgottenCreature Notable Member

    Messages:
    7,473
    Likes Received:
    173
    Best Answers:
    0
    Trophy Points:
    260
    #12
    Or you can just use the ad block extension in Mozilla firefox and block ads from your publisher id url.
     
    ForgottenCreature, Apr 19, 2006 IP
  13. amitpagarwal

    amitpagarwal Peon

    Messages:
    375
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Just curious to know how many times are you reloading your webpages.

    I understand that you need to reload frequently if you are testing a new layout but then you can change the id to some test value.
     
    amitpagarwal, Apr 20, 2006 IP
  14. Mystique

    Mystique Well-Known Member

    Messages:
    2,579
    Likes Received:
    94
    Best Answers:
    2
    Trophy Points:
    195
    #14
    Thanks a lot w3bmistress,

    I do test my pages on my localhost so reloading pages over and over is a pain so I will implement your code ;)
     
    Mystique, Apr 20, 2006 IP
  15. tonyinabox

    tonyinabox Peon

    Messages:
    1,988
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    0
    #15
    I personally need to see what ads show on my website, to improve keywords. LOL so I know where my ads are and I just don't click it.
     
    tonyinabox, Apr 20, 2006 IP
  16. w3bmistress

    w3bmistress Well-Known Member

    Messages:
    145
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #16
    well i use the site to play the games .. and im always doing some sort of testing etc.. is why i'd be loading pages..

    the dynamic IP won't work this way.. but you could then use some kind of login and if you have a cookie set then it won't show you the ads.
     
    w3bmistress, Apr 20, 2006 IP
  17. briansol

    briansol Well-Known Member

    Messages:
    221
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #17
    exactly.

    I think blocking your own ads from yourself is a horrible way to make more money off them. That is, afterall, the goal, no?

    If you can't see what's going on, how can you possibly improve them?


    Thanks for sharing your code, w3b, but I just don't think this is very practical.
     
    briansol, Apr 20, 2006 IP
  18. TommyD

    TommyD Peon

    Messages:
    1,397
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    0
    #18
    TommyD, Apr 22, 2006 IP
  19. Troutnut

    Troutnut Peon

    Messages:
    76
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #19
    I add the line google_adtest='on'; to my AdSebse code. That keeps impressions/clicks from counting. I'm writing a fancy ad delivery PHP class for my new site, and I have all my Google ad codes stored in their straight-from-Google form in my database. My script inserts the test line in my code when the page is served if either (a) the current user is an administrator or (b) I have a particular setting at 0 so no ads shown count (for testing).

    Don't use the google_adtest variable without getting permission from Google first, though. I emailed them asking about it and that's what they told me to use.
     
    Troutnut, Apr 22, 2006 IP
  20. amitpagarwal

    amitpagarwal Peon

    Messages:
    375
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0