1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Testing something - please help

Discussion in 'Commission Junction' started by bc1, Mar 18, 2008.

  1. #1
    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 :D

    If you don't see the site you expect to, or anything else looks weird please let me know.

    Thanks ;)
     
    bc1, Mar 18, 2008 IP
  2. soggy

    soggy Active Member

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #2
    mine went to US as it should.
     
    soggy, Mar 18, 2008 IP
  3. bc1

    bc1 Active Member

    Messages:
    45
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #3
    Thanks Soggy! Much appreciated :)

    Anyone else get chance to try it?
     
    bc1, Mar 19, 2008 IP
  4. rsltech

    rsltech Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    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.
     
    rsltech, Mar 19, 2008 IP
  5. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #5
    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 :p
     
    Kerosene, Mar 19, 2008 IP
  6. mrmonster

    mrmonster Active Member

    Messages:
    374
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #6
    Works for Canada

    I've been getting sales from a bunch of countries ever since I added geo targeting to my setup.
     
    mrmonster, Mar 19, 2008 IP
  7. bc1

    bc1 Active Member

    Messages:
    45
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #7
    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. ;)
     
    bc1, Mar 19, 2008 IP
  8. bc1

    bc1 Active Member

    Messages:
    45
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #8
    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
     
    bc1, Mar 19, 2008 IP
  9. dipendra

    dipendra Banned

    Messages:
    122
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    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.
     
    dipendra, Mar 19, 2008 IP
  10. InfoSmith

    InfoSmith Peon

    Messages:
    884
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #10
    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
     
    InfoSmith, Mar 20, 2008 IP