Hi, I'm just testing a geo-targeting feature for my eBay/CJ ads service. If you have time, can you just go here: http://easyadslive.com/examplesgeo.html and click an item on the ad on the right (the geo-targeted ad) and just check that it goes to the eBay site for your country. I've set the aff link to PID=0000000 so I'm not after commissions from you If you don't see the site you expect to, or anything else looks weird please let me know. Thanks
The ads on the left and right went to US ebay which is where I am. The center ad did not have any search results just a text link to ebay. Also, I got a little chuckle out of the US ad because it had 30min of Psychic reading... You really can get anything on ebay... except the part to fix my laptop of course. anywho... sorry bout the little rant. Geo works for me hope you get some help from other countries with the test.
Working nicely for Australian visitors Care to share the geo/ip script you're using? BTW the site is pretty slow to load from AU - could be eBay's fault though
Works for Canada I've been getting sales from a bunch of countries ever since I added geo targeting to my setup.
Thanks for the replies, good to hear it's working. I think the API is running a little slow today as the site itself isn't slowing down at all, at least not where I am. Thanks again for your help, I could try testing through proxies but that's no substitute for having it tested around the world by you helpful people.
Yes, it's just a simple country look up, only took 10 minutes to set up. I'm using a free geo/ip database for testing. Here's the bit of code that does the magic: $ip = $_SERVER["REMOTE_ADDR"]; $res = mysql_query("SELECT country_code2 FROM ips WHERE IP_FROM<=inet_aton('$ip') AND IP_TO>=inet_aton('$ip')"); $Codes = mysql_fetch_array($res); $CountryCode = $Codes['country_code2']; switch ($CountryCode){ case "GB": $sitevar="UK"; break; case "US": $sitevar="US"; break; case "CA": $sitevar="CA"; break; case "AU": $sitevar="AUS"; break; case "HK": $sitevar="HK"; break; case "FR": $sitevar="FR"; break; case "BE": $sitevar="BEFR"; break; case "NL": $sitevar="NL"; break; case "IT": $sitevar="IT"; break; case "ES": $sitevar="ES"; break; case "SG": $sitevar="SG"; break; case "IN": $sitevar="IN"; break; } Code (markup): Not much to it as you can see
i have try it. i am in Nepal but when i click it show hongkong address and their language. i think my server address is connect to hongkong company.
ok, I am in South Africa, no store ebay sucks btw, you should use maxmind ip database and the api, much faster and accurate check this page: http://infosmith.org/location-select.html the tech info at bottom, I use maxmind