So you want to setup a geotargeting ad server for free?

Status
Not open for further replies.

StrangeProgress

man on a mission
Feb 16, 2007
40
1
0
Well, its pretty easy to do if you're comfortable in SSH, but should be doable via FTP also.

For those who aren't already aware, what I'm explaining here is how to go about setting up your own ad server which is capable of serving different ads to different regions/countries.

First, you need your ad server software - OpenAds (formally PhpAdsNew) is pretty powerful, and is a free open source php solution. Just follow the installation instructions which are quite straight forward, and then learn the basics of setting up advertisers divided into campaigns/banners, and selecting where the ads can show via the Publisher Zones.

Once you're familiar with all that, we're onto the actual GeoIP database, as this is what enables your ad server to figure out where each of your visitors is from, and consequently, what ads they should be shown.

Maxmind has a free version of their country IP database available, and while its not as accurate as the paid version, they estimate its around 97% accurate, which will be good enough for most of us.

You then load that database file onto your server, where OpenAds looks for it:

/usr/local/share/GeoIP/GeoIP.dat

Once you've enabled the geotargeting options in OpenAds, you should now be able to alter the Delivery settings on any individual banner to show only for particular countries visitors.

Hope that helps some of you guys out, if you need more detailed instructions just check my rather lengthy blog post describing every little step.
 
  • Like
Reactions: joe


thanks man - just got a ypn invite last weekend and definately need to figure out geotargeting! good job not just linking to your blog but giving a good summary and then your link.
 
Thats cool Jened, I've been lurking for a couple of months and learnt a bunch off you guys, so figured I'd give something back ;)
 
Status
Not open for further replies.