API Method – getOfferReport
API Method – getOfferReport
getOfferReport
Get offer report.
API Category
Report
HTTP Method
GET
Request Call Example
HTTP:
GET /api/v2/getOfferReport?key=yourapikey&a=youraffiliateid &from=2018/04/01%2012&to=2018/04/09%2012&timezone=8&page=1&limit=500&order=ASC&orderBy=ck_offer_id&ck_gross=1&ck_unique=1&ck_conversion=1&ck_income=1&ck_offer_id=1&ck_offer_name=1&ck_day=1&offer=1,2,3 HTTP/1.1
Host: yournetworkapplicationdomain
Java:
Unirest.get("http://yournetworkapplicationdomain/api/v2/getOfferReport?key=yourapikey&a=youraffiliateid&from=2018/04/01%2012&to=2018/04/09%2012&timezone=8&page=1&limit=10000&order=ASC&orderBy=ck_affiliate_id&ck_gross=1&ck_unique=1&ck_conversion=1&ck_income=1&ck_affiliate_id=1&ck_offer_id=1&ck_offer_name=1&ck_day=1&offer=1,2,3").asString();
Parameters
Response
Sample in JSON:
getOfferReport
Get offer report.
API Category
Report
HTTP Method
GET
Request Call Example
HTTP:
GET /api/v2/getOfferReport?key=yourapikey&a=youraffiliateid &from=2018/04/01%2012&to=2018/04/09%2012&timezone=8&page=1&limit=500&order=ASC&orderBy=ck_offer_id&ck_gross=1&ck_unique=1&ck_conversion=1&ck_income=1&ck_offer_id=1&ck_offer_name=1&ck_day=1&offer=1,2,3 HTTP/1.1
Host: yournetworkapplicationdomain
Java:
Unirest.get("http://yournetworkapplicationdomain/api/v2/getOfferReport?key=yourapikey&a=youraffiliateid&from=2018/04/01%2012&to=2018/04/09%2012&timezone=8&page=1&limit=10000&order=ASC&orderBy=ck_affiliate_id&ck_gross=1&ck_unique=1&ck_conversion=1&ck_income=1&ck_affiliate_id=1&ck_offer_id=1&ck_offer_name=1&ck_day=1&offer=1,2,3").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 |
offer | String | Filter – a list of offer ids: 3,123,445 |
ck_offer_id | Integer | Response Field Flag – Offer id: 1 or 0, show this field or not |
ck_offer_name | Integer | Response Field Flag – Offer name: 1 or 0, show this field or not |
ck_source_click | Integer | Response Field Flag – All clicks: 1 or 0, show this field or not |
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_cr | Integer | Response Field Flag – Conversion Rate: 1 or 0, show this field or not |
Response
Sample in JSON:
{ "httpStatus": 200, "data": { "content": [ { "ck_day": "2018/04/11", "ck_offer_id": 606, "ck_offer_name": "hello", "ck_advertiser_id": 21, "ck_advertiser_name": "Phil Caramanica", "ck_gross": 2, "ck_unique": 1, "ck_conversion": 1, "ck_cost": "1.00000", "ck_income": "1.00000", "ck_profit": "0.00000", "ck_cr": "50.00", "ck_cpc": "0.5000", "ck_cpa": "1.0000", "ck_rpc": "0.5000", "ck_rpa": "1.0000", "ck_roi": "0.00", "currency": "€ ", "offer_id": 606, "advertiser_id": 21 }, { "ck_day": "2018/04/11", "ck_offer_id": 396, "ck_offer_name": "smkOffer3_copy", "ck_advertiser_id": 1, "ck_advertiser_name": "adv ", "ck_gross": 0, "ck_unique": 0, "ck_conversion": 0, "ck_cost": "0.00000", "ck_income": "0.00000", "ck_profit": "0.00000", "ck_cr": "0.00", "ck_cpc": "0.0000", "ck_cpa": "0.0000", "ck_rpc": "0.0000", "ck_rpa": "0.0000", "ck_roi": "0.00", "currency": "$", "offer_id": 396, "advertiser_id": 1 } ], "page": "1", "totalPages": 1, "totalItems": 2 }, "errorCode": 0, "message": "" } |
Close All
API V3
API V2
-
User - Network
-
User - Affiliate
-
Offer
-
Report
-
-
User - Advertiser
-
offer
-
Dictionary
API V1 (DEPRECATED)