For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

Affiliate tracking for the Finding APIs

  • Answer ID 1579
  • Published 04/06/2010 01:54 PM
  • Updated 10/20/2013 06:41 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=1579
Product
How can I embed my affiliate tracking information in the viewItemURL returned by the FindItemsAdvanced call in the Finding API?

Summary

If you are making a HTTP Get request, you need to add the affiliate tracking parameters to the url.  If you make a HTTP POST request, then you can either add them to the server url or add them to your request headers.
 


Detailed Description

Remember you need to have an eBay Partner Network account to receive revenues. $point_to_epn Here is an example for an affiliate with eBay Partner Network as the tracking partner:

HTTP Get:

http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByCategory&SERVICE-VERSION=1.0.0&SECURITY-APPNAME=YourAppID&affiliate.customId=1234567&affiliate.networkId=9&affiliate.trackingId=campid&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&categoryId=6000&paginationInput.entriesPerPage=2


XML Sample:

<?xml version="1.0" encoding="utf-8"?>
<findItemsByCategoryRequest xmlns="http://www.ebay.com/marketplace/search/v1/services">
  <categoryId>6000</categoryId>
  <paginationInput>
    <entriesPerPage>2</entriesPerPage>
  </paginationInput>
  <affiliate>
    <customId>1234567</customId>
    <networkId>9</networkId>
    <trackingId>campid</trackingId>
  </affiliate>
</findItemsByCategoryRequest>

 

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter