How to Block Adsense from Certain Country

Discussion in 'AdSense' started by abdulrehman940, Aug 30, 2009.

  1. #1
    can anyone tell me How to Block Adsense from Certain Country, i m getting huge invalid clicks from 1 country
     
    abdulrehman940, Aug 30, 2009 IP
  2. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can download something like the MaxMind free GeoIP database, use that to identify the country of origin for your hits, and have your ad display function simply show blank space or some other image if it's a country you don't want clicking them.
     
    SmallPotatoes, Aug 30, 2009 IP
  3. abdulrehman940

    abdulrehman940 Active Member

    Messages:
    600
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #3
    can i use this on my html site ?
     
    abdulrehman940, Aug 30, 2009 IP
  4. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #4
    HTML-only, with no backend scripting like PHP or ASP? In that case probably not. It requires making decisions on the server before choosing which content to send, so there has to be some programming.
     
    SmallPotatoes, Aug 31, 2009 IP
  5. samazgor

    samazgor Notable Member

    Messages:
    173
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    230
    #5
    samazgor, Jun 19, 2012 IP
  6. itsjustbrian

    itsjustbrian Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It is really an horrible matter. I am using MaxMind to block Some specific countries cliks. These people can visit my page but are not able to click on the ads.
     
    itsjustbrian, Jun 19, 2012 IP
  7. samazgor

    samazgor Notable Member

    Messages:
    173
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    230
    #7
    Thank you for share the idea of "MaxMind". You know my theory is "if you show another advertise or your own affiliates instead of adsense to specific country, it'll profitable then the blocking ads, And the constant clicker never able to understood that he is not clicking adsense :D That what DFP (Double Click for Publisher) do.
     
    samazgor, Jun 19, 2012 IP