API Method – getAffiliateReport
    getAffiliatelReport
    Get affiliate report.

API Category
    Report

HTTP Method
    GET

Request Call Example
HTTP:
GET /api/v2/getAffiliateReport?key=yourapikey& from=2018/04/01 12&to=2018/04/09 12&timezone=8&page=1&limit=500&ck_offer_id=1&ck_offer_id=1&ck_offer_name=1&offer=3725082&ck_source=1&ck_cost=1&ck_income=1&ck_gross=1&ck_unique=1&ck_affiliate_id=1&ck_affiliate_name=1&ck_conversion=1&ck_offer_url=1&ck_advertiser_id=1&ck_advertiser_name=1&ck_profit=1&ck_cr=1&ck_cpc=1&ck_cpa=1&ck_rpc=1&ck_rpa=1&ck_roi=1&ck_day=1 HTTP/1.1
Host: yournetworkapplicationdomain
 
Java:
Unirest.get("http://yournetworkapplicationdomain/api/v2/getAffiliateReport?key=yourapikey&from=2018/04/01%2012&to=2018/04/09%2012&timezone=8&page=1&limit=500&ck_offer_id=1&ck_offer_name=1&offer=3725082&ck_source=1&ck_cost=1&ck_income=1&ck_gross=1&ck_unique=1&ck_affiliate_id=1&ck_affiliate_name=1&ck_conversion=1&ck_offer_url=1&ck_advertiser_id=1&ck_advertiser_name=1&ck_profit=1&ck_cr=1&ck_cpc=1&ck_cpa=1&ck_rpc=1&ck_rpa=1&ck_roi=1&ck_day=1”).asString();

Parameters

Name Type Description
a* Integer Your ID
page* Integer Page number of report data
limit Integer Number of items on one page: 500(Default)/1000/5000/10000
timezone* Integer Filter – Timezone: -11 ~ 14
from* String Filter – Start time: YY/MM/DD or YY/MM/DD HH
to* String Filter – End time: YY/MM/DD or YY/MM/DD HH
affiliate String Filter – a list of offer ids: 3,123,445
order String Order: ASC/DESC
orderBy String Order By: order by a response field flag
ck_gross Integer Response Field Flag – Gross clicks: 1 or 0, show this field or not
ck_unique Integer Response Field Flag – Unique clicks: 1 or 0, show this field or not
ck_conversion Integer Response Field Flag – Conversions: 1 or 0, show this field or not
ck_income Integer Response Field Flag – Income from Network: 1 or 0, show this field or not
ck_currency Integer Response Field Flag – Income currency: 1 or 0, show this field or not
ck_cr Integer Response Field Flag – Conversion Rate: 1 or 0, show this field or not
ck_cpc Integer Response Field Flag – Cost per click: 1 or 0, show this field or not
ck_cpa Integer Response Field Flag – Cost per action(conversion): 1 or 0, show this field or not
ck_rpc Integer Response Field Flag – Revenue per click: 1 or 0, show this field or not
ck_rpa Integer Response Field Flag – Revenue per action(conversion): 1 or 0, show this field or not
ck_roi Integer Response Field Flag – Revenue of investment: 1 or 0, show this field or not
ck_year Integer Show By Year: 1
ck_month Integer Show By Month: 1
ck_week Integer Show By Week: 1
ck_day Integer Show By Day: 1
ck_hour Integer Show By Hour: 1