Product Data Feed Analytic Report API

Must use a GET method to run the product data feed analytics report API.  Results will display all of your transactions from your data feeds as shown in the product data feed analytics report.  You may run the report by campaign, affiliate or both by adding AffiliateID or CampaignID to the request.

Able to pull in XML or JSON by including the following in the headers.

  • Accept:application/xml for an xml response
  • Accept:application/json for a json response

Base URL 

https://api.linktrust.com/v2/Reports/CampaignProductAnalytics

Parameters

ParameterDescriptionData TypeRequiredFormatting NotesExamplesStartDateStart date (starting point) to filter results by date.DateYDate in the following format: MM/DD/YYYY

"5/15/2013" "08/08/2013"

EndDateEnd date (ending point) to filter results by date.DateYDate in the following format: MM/DD/YYYY

"5/15/2013" "08/08/2013"

AffiliateIDFilter report results by AffiliateIntegerNMust be a valid Affiliate ID123456CampaignIDFilter report results by CampaignIntegerNMust be a valid Campaign ID123456

Example URL

https://api.linktrust.com/v2/Reports/CampaignProductAnalytics?StartDate=01/01/2014&EndDate=09/01/2014&CampaignID=123456&AffiliateID=123456

Example XML Response

<ProductAnalyticsReportResult>

<ProductAnalytics>

<ParentRow>

<Stats>

<Clicks>1</Clicks>

<Conversions>3</Conversions>

<CID>100027</CID>

<CampaignName>*Chia Pet</CampaignName>

</Stats>

<Children>

<Child>

<Clicks>1</Clicks>

<Conversions>2</Conversions>

<Brand>afdasfd</Brand>

<Category>ttt</Category>

<Discount>af</Discount>

<Name>chappel</Name>

<RetailPrice>75.0000</RetailPrice>

<SKU>1</SKU>

<SalePrice>10.0000</SalePrice>

</Child>

<Child>

<Clicks>0</Clicks>

<Conversions>1</Conversions>

<Brand i:nil="true" />

<Category i:nil="true" />

<Discount>77</Discount>

<Name>wings</Name>

<RetailPrice>56.0000</RetailPrice>

<SKU>2</SKU>

<SalePrice>4.0000</SalePrice>

</Child>

</Children>

</ParentRow>

</ProductAnalytics>

<TotalRow>

<d2p1:Clicks>1</d2p1:Clicks>

<d2p1:Conversions>3</d2p1:Conversions>

</TotalRow>

</ProductAnalyticsReportResult>

Example JSON Response
{
ProductAnalytics: [1]
0:  {
Stats: {
CID: 100027
CampaignName: "*Chia Pet"
Clicks: 1
Conversions: 3
}
Children: [2]
0:  {
SKU: "1"
Name: "chappel"
RetailPrice: 75
SalePrice: 10
Discount: "10"
Category: "Pottery"
Brand: "Acme"
Clicks: 1
Conversions: 2
}
1:  {
SKU: "2"
Name: "wings"
RetailPrice: 56
SalePrice: 4
Discount: "77"
Category: null
Brand: null
Clicks: 0
Conversions: 1
}
}
TotalRow: {
Clicks: 1
Conversions: 3
}
}