Geo-target your ads for maximum returns
November 15, 2007
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
This morning I wrote about the disappointing news this week from AdSense and WidgetBucks.
I spent some time thinking through a simplistic solution to get geo-targeted advertisements to improve RPC, especially for WidgetBucks.
One approach could be to have OpenAds installed on the server. But this is complicated to setup and not a solution that every blogger will be able to adopt. So what next?
I came across a tutorial at 999 Tutorials, which was simple and worked like a charm. I had it up and running in 10 minutes on one of my sites and its already serving out ads based on US Vs Non-US Traffic.
To get this to work, you will need to have your own domain and you should be a bit comfortable using PHP.
A few lines of PHP code taken from 999 Tutorials, and then a simple condition like the one below did the trick.
country = getCountryCode();
if($country == "US" || $country == "CA") // US or Canada
{
// WidgetBucks ad comes here
}
else
{
// Some other ad network here
}













Comments
Got something to say?