Forum Moderators: martinibuster

Message Too Old, No Replies

Where can you do this?

         

knowwhatpeoplewant

6:20 pm on Mar 21, 2006 (gmt 0)

10+ Year Member



Disable ads for your own ip and local geographic region

I spoted this on another thread and looked through my adsense control panel.. I would like to remove all my computers on our network so there's no mistakes.

netmeg

6:35 pm on Mar 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I don't think you can do that, unless it's something new I'm unaware of.

Zygoot

6:38 pm on Mar 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



AdSense doesn't have such a feature.

If you want it you'll have to code it yourself.

TheFlipguy

6:39 pm on Mar 21, 2006 (gmt 0)

10+ Year Member



As far as I know, you cannot do this from the Adsense control panel. You need to do this on your own website. What I mean is that you have to configure your site to restrict your own IPs.

This is easy to do if you are using scripting engines like ASP or PHP.

danimal

6:41 pm on Mar 21, 2006 (gmt 0)



how about an adserver... the free phpadsnew will serve up region-based ads, but you'll have pay monthly for the extended geoip database to do it.

even then, i don't know that it'll do specific ip addresses only.

Vastio

8:48 pm on Mar 21, 2006 (gmt 0)

10+ Year Member



Just yesterday I coded this very thing for my own sites. I'm on a college campus, and all the IPs start with the same 4 numbers (ex: 12.34.*.*). I successfully made it so that anyone with an IP starting with "12.34." will not be able to view the ads.

In order to manipulate my code to make it so it disables ads for an ENTIRE geographic area, all you'd have to do is know what IPs you want to ban and put them in the array.

If you want you want only your IP on the list, then it's even easier.

If this is what you, or anybody else, would like, just let me know. I will be more than happy to post the code.

P.S. It's written for PHP.