Maximizing the Ebay Affiliate Program

Affiliate Marketing Add comments
Estimated reading time: 1 minute, 15 seconds

Ebay recently moved their affiliate program from Commission Junction to their in house Ebay Partner network.

This is some code that will help you quickly build ebay affiliate links without logging in to their website and using the auction link building tool https://www.ebaypartnernetwork.com/PublisherToolsHome

PHP functions for Ebay.com originally from Tamebay:

function get_country($country_code) {
$US = "711-53200-19255-0";
$IE = "5282-53468-19255-0";
$AT = "5221-53469-19255-0";
$AU = "705-53470-19255-0";
$BE = "1553-53471-19255-0";
$IN = "4686-53472-19255-0";
$CA = "706-53473-19255-0";
$SG = "3423-53474-19255-0";
$HK = "3422-53475-19255-0";
$FR = "709-53476-19255-0";
$DE = "707-53477-19255-0";
$IT = "724-53478-19255-0";
$ES = "1185-53479-19255-0";
$CH = "5222-53480-19255-0";
$UK = "710-53481-19255-0";
$CN = "4080-53484-19255-0";
$NL = "1346-53482-19255-0";

return $$country_code;
}

function aff_link($url,$text,$customid,$country){
$target = get_country($country);
$prefix = "http://rover.ebay.com/rover/1/";

echo "”.stripslashes($text).””;
}


place this PHP code in your website to generate the ebay affiliate link


aff_link("URL","link text","custom ID","country");

where

* URL is the eBay URL to link to
* link text is the anchor text you will use – will also appear as the link title attribute)
* custom ID is like the CJ SID, append a specific ID to any link, for granular affiliate link tracking
* country is the two letter country code relating to the auction program being promoted (US, UK, FR, DE, AU etc.)

You can see more php code to create custom ebay affiliate links at Tamebay.

Tags: , ,

5 Responses to “Maximizing the Ebay Affiliate Program”

  1. Sue @ TameBay Says:

    “You can see more php code to create custom ebay affiliate links at Tamebay.”

    my post has also changed the code that I wrote. Pretty ironic really, :^O

  2. CVOS Says:

    Sue you have a link with full credit. If you do not wish to have a link from this blog please let me know and i’ll remove it.

  3. Ciminera Says:

    I wanted to let you know that I have been watching the ebay affiliate feed for a few days and I would like to sign up a new program.

  4. Samuel Jack Says:

    Ebay is killing it this holiday with their affiliate program.

  5. Eve Says:

    Oh, a wonderful piece of text! No idea how you were able to say this article..it’d take me long hours. Well worth it though, I’d suspect. Have you considered selling ads on your blog?

Leave a Reply