Reporting

Description

Provides a reporting on a given period, several reporting types and languages are available

URL(s)

https://apiv2.effiliation.com/apiv2/reporting.xml?key=YOUR_API_KEY
https://apiv2.effiliation.com/apiv2/reporting.csv?key=YOUR_API_KEY
https://apiv2.effiliation.com/apiv2/reporting.json?key=YOUR_API_KEY

Parameters

Parameter Format Description Example value
keyStringPublisher api keyYOUR_API_KEY
lgStringOutput languagefr, en, es, it, pt, de, nl
typeStringReporting type, program: by program, link: by link, linktype: by link type; theme: by theme, day: by day, week: by week, month: by monthprogram
startStringBegin date01/01/2013
endStringEnd date31/01/2013
fieldsStringFields displayed in the output(0: not displayed, 1: displayed)01100110

Returned fields

Use fields selector to choose the fields you need. Eg: fields=00101.

Field Description Type
idReporting IdString
id_programmeProgramIdInteger
id_sessionSession IdInteger
id_affilieurAdvertiser IdInteger
level1Reporting typeString
level2String
affichageDisplaysInteger
affichageuUniques displaysInteger
clicClicsInteger
clicmUniques clicsInteger
percentclic% of clicDecimal
percentclicm% of unique clicDecimal
doubleclicDouble clicsInteger
doubleclicmUniques double clicsInteger
leadLeadsInteger
leadpcLeads post-clicInteger
leadpiLeads post-viewInteger
leadrefuseRefused leadsInteger
leadpcrefuseRefused post-clic leadsInteger
leadpirefuseRefused post-view leadsInteger
revenueSellsInteger
revenuepcPost-clic sellsInteger
revenuepiPost-view sellsInteger
revenuerefuseRefused sellsInteger
revenuepcrefusePost-clic refused sellsInteger
revenuepirefusePost-view refused sellsInteger
leadperclic% of lead per clicDecimal
revenueperclic% of sell per clicDecimal
caSalesDecimal
capcPost-clic salesDecimal
capiPost-view salesDecimal
carefuseRefused salesDecimal
averageorderAverage amount of orderDecimal
montantCommissions without regulsDecimal
lead2Lead custom indicator 2Integer
lead3Lead custom indicator 3Integer
lead4Lead custom indicator 4Integer
lead5Lead custom indicator 5Integer
leadpi2Lead post-view custom indicator 2Integer
leadpi3Lead post-view custom indicator 3Integer
leadpi4Lead post-view custom indicator 4Integer
leadpi5Lead post-view custom indicator 5Integer
revenue2Sell custom indicator 2Decimal
revenue3Sell custom indicator 3Decimal
revenue4Sell custom indicator 4Decimal
revenue5Sell custom indicator 5Decimal
revenuepi2Post-view sell custom indicator 2Decimal
revenuepi3Post-view sell custom indicator 3Decimal
revenuepi4Post-view sell custom indicator 4Decimal
revenuepi5Post-view sell custom indicator 5Decimal
leadindirectIndirect leadsInteger
revenueindirectIndirect sellsInteger
caindirectIndirect salesDecimal
percentleadpc% of post-clic leadDecimal
percentleadpi% of post-view leadDecimal
percentrevenuepc% of post-clic sellDecimal
percentrevenuepi% of post-view sellDecimal
percentleadrefuse% of refused leadDecimal
percentrevenuerefuse% of refused sellDecimal
percentcarefuse% of refused salesDecimal
percentleadpcrefuse% of refused post-clic leadDecimal
percentleadpirefuse% of refused post-view leadDecimal
percentrevenuepcrefuse% of refused post-clic sellDecimal
percentrevenuepirefuse% of refused post-view sellDecimal
capcrefuse% of refused post-clic salesDecimal
capirefuse% of refused post-view salesDecimal
epcEarn percentDecimal
ecpmCost for 1000 displaysDecimal
ajoutAmount of commission added manuallyDecimal
challengeDecimal
mingarMinimum of commission you getDecimal
quotaMaximum of commission you getDecimal
peaksellAmount of commission added manually for ads publishersDecimal
compotDecimal

Examples

Reporting by program, month 09/2013, in french

https://apiv2.effiliation.com/apiv2/reporting.xml?key=YOUR_API_KEY&type=program&start=01/09/2013&end=30/09/2013&lg=fr

Reporting by link, month 09/2013, in english

https://apiv2.effiliation.com/apiv2/reporting.csv?key=YOUR_API_KEY&type=link&start=01/09/2013&end=30/09/2013&lg=en

Reporting by link, month 09/2013, in english with only id_programme and id_session

https://apiv2.effiliation.com/apiv2/reporting.json?key=YOUR_API_KEY&type=link&start=01/09/2013&end=30/09/2013&lg=en&fields=011