1.1.1 Summary

Get Overall Report.
 

1.1.2 Request

Request Method: GET
 
Parameters:

Parameter Description Type Data Range
key Network API Key;
*Required
string  
Query Conditions
from Query Period Start Date
*Required
If the format is YYYY/MM/DD,  equal to YYYY/MM/DD 00.
Date YYYY/MM/DD  or
YYYY/MM/DD HH
to Query Period End Date
*Required
If the format is YYYY/MM/DD,  equal to YYYY/MM/DD 23.
Date YYYY/MM/DD  or
YYYY/MM/DD HH
timezone Timezone
*Required
Int -11 ~ 14
page Page Number
*Required
Int Positive integer greater than 0.
(10,000 records per page)
manager Affiliate Manager ID Int Multi-select, separated by commas
affiliate Affiliate ID Int Multi-select, separated by commas
tier Affiliate Tier ID Int Multi-select, separated by commas
advmanager Advertiser Manager ID Int Multi-select, separated by commas
advertiser Advertiser ID Int Multi-select, separated by commas
offer Offer ID Int Multi-select, separated by commas
currency Offer Currency Int 1~68
Multi-select, separated by commas
category Offer Category Int Multi-select, separated by commas
country Click GEO Country String Multi-select, separated by commas
e.g. “CN, US”
event_range Event Range Int 0: All Event
1: Initial Event(Default)
event_private Whether Include the private event Int 0: Include Private Event(Default)
1: Exclude Private Event
format Offer Price Model String Multi-select, separated by commas
e.g.: 1,2,3
1 = CPA
2 = CPS
3 = CPC
12 = CPA + CPS
revenue Exclude none conversion data item Int 0: Include
1: Exclude
order Order String ASC
DESC
orderBy Order By Field
Default: ck_advertiser_name
String  
Response Field Flag
ck_affiliate_id
 
Affiliate ID Int 0: No this field.
1: include this field.
ck_affiliate_name
 
Affiliate Name Int 0: No this field.
1: include this field.
ck_affiliate_manager
 
Affiliate Manager Name Int 0: No this field.
1: include this field.
ck_offer_id
 
Offer ID Int 0: No this field.
1: include this field.
ck_offer_name
 
Offer Name Int 0: No this field.
1: include this field.
ck_offer_url
 
Offer URL Int 0: No this field.
1: include this field.
ck_currency Currency Int 0: No this field.
1: include this field.
ck_advertiser_id
 
Advertiser ID Int 0: No this field.
1: include this field.
ck_advertiser_name
 
Advertiser Name Int 0: No this field.
1: include this field.
ck_advertiser_manager Advertiser Manager Name Int 0: No this field.
1: include this field.
ck_event_id Offer Event ID Int 0: No this field.
1: include this field.
ck_event_name Offer Event Name Int 0: No this field.
1: include this field.
ck_event_tkn Offer Event Token Int 0: No this field.
1: include this field.
ck_gross Gross Click Count Int 0: No this field.
1: include this field.
ck_unique Unique Click Count Int 0: No this field.
1: include this field.
ck_conversion Conversion Count Int 0: No this field.
1: include this field.
ck_cost Payout Summary Int 0: No this field.
1: include this field.
ck_income Revenue Summary Int 0: No this field.
1: include this field.
ck_profit ck_income - ck_cost Int 0: No this field.
1: include this field.
ck_cr CR Int 0: No this field.
1: include this field.
ck_cpc CPC Int 0: No this field.
1: include this field.
ck_cpa CPA Int 0: No this field.
1: include this field.
ck_rpc RPC Int 0: No this field.
1: include this field.
ck_rpa RPA Int 0: No this field.
1: include this field.
ck_roi ROI Int 0: No this field.
1: include this field.
ck_year Group Data by Year Int 0: No this field.
1: include this field.
ck_month Group Data by Month Int 0: No this field.
1: include this field.
ck_week Group Data by Week Int 0: No this field.
1: include this field.
ck_day Group Data by Day Int 0: No this field.
1: include this field.
ck_hour Group Data by Hour Int 0: No this field.
1: include this field.
ck_source_click All Click Int 0: No this field.
1: include this field.
 

1.1.3 Response

 
Header:

HTTP Status Object Description Error Code
200   OK 0
400 Parameter Invalid Parameters 65XX
 
Content Format: JSON
 

Data Field Type
content Array of Report Data Item in Current Page
page Current Page Number
totalPages Total  Pages Count
totalItems Total Data Items Count
 

1.1.4 Example

Sample Request URL:
http://demo.fuseclick.com/api/v1/getAdvertiserReport?key=603E3F0E3266&timezone=8&from=2015/01/01&to=2015/10/31&ck_affiliate_id=1&ck_offer_id=1&ck_gross=1&ck_conversion=1&ck_revenue=1&ck_payout=1
 
Response sample:

{
  "httpStatus": 200,
  "data": {
    "content": [
      {
        "affiliate_id": "4",
        "ck_affiliate_id": "4",
        "offer_id": "3",
        "ck_offer_id": "3",
        "ck_gross": 3,
        "ck_conversion": "1",
        "currency": "€ "
      },
      {
        "affiliate_id": "4",
        "ck_affiliate_id": "4",
        "offer_id": "4",
        "ck_offer_id": "4",
        "ck_gross": 21,
        "ck_conversion": "1",
        "currency": "€ "
      },
      {
        "affiliate_id": "4",
        "ck_affiliate_id": "4",
        "offer_id": "4",
        "ck_offer_id": "4",
        "ck_gross": 2,
        "ck_conversion": 0,
        "currency": "€ "
      },
      {
        "affiliate_id": "5",
        "ck_affiliate_id": "5",
        "offer_id": "1",
        "ck_offer_id": "1",
        "ck_gross": 4,
        "ck_conversion": "1",
        "currency": "€ "
      },
      {
        "affiliate_id": "5",
        "ck_affiliate_id": "5",
        "offer_id": "1",
        "ck_offer_id": "1",
        "ck_gross": 8,
        "ck_conversion": "1",
        "currency": "€ "
      },
      {
        "affiliate_id": "5",
        "ck_affiliate_id": "5",
        "offer_id": "1",
        "ck_offer_id": "1",
        "ck_gross": 12,
        "ck_conversion": "1",
        "currency": "€ "
      },
      {
        "affiliate_id": "4",
        "ck_affiliate_id": "4",
        "offer_id": "4",
        "ck_offer_id": "4",
        "ck_gross": 11,
        "ck_conversion": "1",
        "currency": "€ "
      }
    ],
    "page": 1,
    "totalPages": 1,
    "totalItems": 7
  },
  "errorCode": 0,
  "message": ""
}