Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Google Adsense Forum


You are currently viewing our Google Adsense Forum as a guest. Please register to participate.
Login



Closed Thread
How to Block particular countries from viewing my adsense ads
Old 03-12-2007, 10:15 PM How to Block particular countries from viewing my adsense ads
Defies a Status

Posts: 3,029
Name: asapcorp
Location: Tech-Tips-Now.com
Trades: 0
I have a constant fear that some of my known people might keep clicking on my site to get me banned.

One of my friend had this problem, when one of his stupid friend clicked on his ads just to fool around and see what happens.

Other day I was searching some thing in google. When I clicked on one of the search result it showed me that, My IP or my country is not allowed to view this website becasue they dont do business in my country.

I also want to do the same and block the whole of my country/area viewing my website, becasue as such I hardly have any visitors from my country and I dont mind loosing some money by blocking my own country. I would rather like the peace of mind rather then that constant fear.

By the way I am doing very good in Adsense and I dont want to loose that due to any stupid friend clicking my ads.

Questions
1. Is there any script which I can use to block some country or some IP range
2. Can it done wth HTACESS?

Any other way?

Thanks in advance
__________________
More
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
asapcorp is offline
View Public Profile Visit asapcorp's homepage!
 
 
Register now for full access!
Old 03-13-2007, 06:44 PM Re: How to Block particular countries from viewing my adsense ads
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.javascriptkit.com/howto/htaccess5.shtml
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Old 03-15-2007, 11:09 PM Re: How to Block particular countries from viewing my adsense ads
charlesgan's Avatar
hosting-rebate.com

Latest Blog Post:
Hostgator Coupons $93
Posts: 279
Location: hosting-rebate.com
Trades: 0
make it a practice to login adsense account frm your home PC only. and from certain network only. Simply because, its too simple to tracking by IP, and if clicks come from same IP as publisher.... red alarm is ON.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
charlesgan is offline
View Public Profile Visit charlesgan's homepage!
 
Old 03-23-2007, 09:59 PM Re: How to Block particular countries from viewing my adsense ads
sigmahotels's Avatar
Ultra Talker

Posts: 255
Name: Mark
Trades: 0
Quote:
Originally Posted by chrishirst View Post

surely that would block the entire site, if you detect the ip address with php (or whatever language you are using) you wrap that code around the adsence code and tell it not to display for certain IP's, something like this

<?PHP

$ipaddress = $_SERVER["REMOTE_ADDR"];

Echo "Your IP is $ipaddress!";

?>
__________________

Please login or register to view this content. Registration is FREE
We search for you

Please login or register to view this content. Registration is FREE
sigmahotels is offline
View Public Profile Visit sigmahotels's homepage!
 
Closed Thread     « Reply to How to Block particular countries from viewing my adsense ads
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13597 seconds with 12 queries