1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

blocking own ip address

Discussion in 'BlackHat Lounge' started by hslambo23, Dec 29, 2010.

  1. hslambo23

    hslambo23 Newbie

    Joined:
    Aug 21, 2010
    Messages:
    38
    Likes Received:
    16
    How do I Block my own IP address from the AdSense Page Impression Counter? Also, if I visit my website multiple times a day mainly because of trying to fix it up, can they or would adsense ban me? For example, everytime I log into my website, it says the number of impressions I get. Thanks
     
  2. houston27

    houston27 Registered Member

    Joined:
    Nov 26, 2010
    Messages:
    93
    Likes Received:
    73
    Location:
    Miami, FL, USA
    Home Page:
    Depending upon the language your website is written in, using its not static HTML, you can do this fairly easily.
    An IF statement that basically follows the logic below will suffice.
    IF CGI.REMOTE_ADDR <> ?123.123.23.123′
    show your adsense code
    End IF
    Alternatively, you can do the same thing by setting a cookie for yourself and filtering yourself out via an IF statement looking for the existence of that cookie. This could be helpful if your IP address changes occasionally.
    If you?ve got a site built in regular HTML its time to buy learn some more programming. Try ColdFusion (by Adobe_, .asp by Microsoft or PHP.
     
  3. hslambo23

    hslambo23 Newbie

    Joined:
    Aug 21, 2010
    Messages:
    38
    Likes Received:
    16
    Alright man thanks...Also, do u think I can get banned if I log onto my website multiple times a day from adsense?