API Method – getAffiliateReport
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
Response
Sample in JSON:
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 |
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 |
Response
Sample in JSON:
{ "httpStatus": 200, "data": { "content": [ { "ck_day": "2018/04/11", "ck_affiliate_id": 5, "ck_affiliate_name": "Mike Mikaelson", "ck_gross": 1, "ck_unique": 1, "ck_conversion": 1, "ck_cost": "5.00000", "ck_income": "1.00000", "ck_profit": "-4.00000", "ck_cr": "100.00", "ck_cpc": "5.0000", "ck_cpa": "5.0000", "ck_rpc": "1.0000", "ck_rpa": "1.0000", "ck_roi": "-80.00", "currency": "$", "affiliate_id": 5 }, { "ck_day": "2018/04/11", "ck_affiliate_id": 5, "ck_affiliate_name": "Mike Mikaelson", "ck_gross": 1, "ck_unique": 1, "ck_conversion": 1, "ck_cost": "1.12350", "ck_income": "2.23460", "ck_profit": "1.11110", "ck_cr": "100.00", "ck_cpc": "1.1235", "ck_cpa": "1.1235", "ck_rpc": "2.2346", "ck_rpa": "2.2346", "ck_roi": "98.90", "currency": "€ ", "affiliate_id": 5 } ], "page": "1", "totalPages": 1, "totalItems": 2 }, "errorCode": 0, "message": "" } |
Close All
API V3
API V2
-
User - Network
-
User - Affiliate
-
Offer
-
Report
-
Dictionary
API V1 (DEPRECATED)