*feature request opened for Banner module, that could suit Advertisment too*

It would be nice to support geotargeting of banners so that a banner can be set to be displayed only to visitors from a particular country.

The popular (and free) Maxmind GeoIP database could be used for the purpose.

Thx

more details and discussion at http://drupal.org/node/68758

Comments

marcoBauli’s picture

Title: Geotargeted banners » Geotargeted Advertisments

(more generic)

jeremy’s picture

Yes, I will add support for geotargeted ads, but I plan to work on other core functionality first. It will likely be some time before I get to this feature. (That said, patches are always encouraged...)

jeremy’s picture

Perhaps geotargeting could be implemented generically using views? For example, create a view filter "Geotargeting: IP In Country", then offer a popup with all country choices of which one or more can be selected. This could then be used to create ad blocks, and the appropriate ad block would be displayed based on the IP address.

If such a geotageting view was created, the ad module would not have to be modified at all to support this. The same view could be used to geotarget any other node content too, not just ads.

Would this work? If so, is anyone interested in taking it on? Or even better, does it already exist?

(The only down side to this method is it would only work for when displaying ads on the Drupal website. It would not allow you to offer geotargeted ads when serving ads to remote sites. Thus, I'll still likely come up with something specific to the ad module when I ge time to focus on this.)

csc4’s picture

Not sure if you've looked at IP to Country

jeremy’s picture

That looks like a good option. Are there any other Geotrageting API's ported to Drupal? It would be nice to know all the options before I start to implement this.

jeremy’s picture

Version: » 5.x-1.x-dev

New features will only be added to the 5.x development branch.

jeremy’s picture

A couple other free geotargetting databases:

ssherriff’s picture

Just wondering the status of this issue. I'm interested in it and am wondering if anyone is working on it, or if a direction of attack has been decided. I might be able to have a go at it, but I don't want to do extra work if someone is already working on it.

jeremy’s picture

I am not aware of anyone working on this functionality at this time. Feel free to assign it to yourself if it's something you wish to tackle.

jeremy’s picture

Project: Advertisement » Ad GeoIP
Component: ad.module » Code
Assigned: Unassigned » jeremy

Integrating the Ad module with the MaxMind GeoIP database is being sponsored by Pricescope.com. Moving this feature request to the newly created ad_geoip project.

jeremy’s picture

Status: Active » Fixed

With the 1.0 release of the Ad GeoIP module, geotargeting is now officially supported by the ad module. (Be sure to download the latest development version of the ad module -- new hooks were added to support geotargeting that will be part of the next Ad module release.)

marcoBauli’s picture

this is great news Jeremy, thanks for all the effort! going to try it out soon :)

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.