API Method – getConversionReport

    getConversionReport
    Get Conversion report.

API Category

    Report

HTTP Method

    GET

Request Call Example

    HTTP:
    GET /api/v2/getConversionReport?key=yourapikey&from=2018/04/01%2012&to=2018/04/09%2012&timezone=8&page=1&limit=10000&ck_offer_id=1&ck_offer_name=1&affiliate=2761&offer=3725082&ck_click_time=1&ck_click_ip=1&ck_click_country=1&ck_conversion_ip=1&ck_conversion_time=1&ck_conversion_status=1,1&ck_sub1=1&ck_sub2=1&ck_sub3=1&ck_sub4=1&ck_sub5=1&ck_source=1&ck_type=1&ck_browser=1&ck_brand=1&ck_model=1,1&ck_os=1,1&ck_click_browser=1,1&ck_transaction_id=1,1&ck_income=1&ck_payout=1,1&ck_adv_sid=1&ck_adv_sid2=1&ck_adv_sid3=1&ck_adv_sid4=1&ck_adv_sid5=1&ck_adv_cid=1&ck_conversion_message=1&ck_conversion_note=1&ck_conversion_referral=1&ck_revenue=1&ck_language=1&ck_user_agent=1&ck_click_referral=1&ck_offer_url=1&ck_affiliate_id=1&ck_affiliate_name=1&ck_advertiser_id=1&ck_advertiser_name=1 HTTP/1.1
    Host: yournetworkapplicationdomain
 
    Java:
    Unirest.get("http://yournetworkapplicationdomain/api/v2/getConversionReport?key=yourapikey&from=2018/04/01%2012&to=2018/04/09%2012&timezone=8&page=1&limit=10000&ck_offer_id=1&ck_offer_name=1&affiliate=2761&offer=3725082&ck_click_time=1&ck_click_ip=1&ck_click_country=1&ck_conversion_ip=1&ck_conversion_time=1&ck_conversion_status=1,1&ck_sub1=1&ck_sub2=1&ck_sub3=1&ck_sub4=1&ck_sub5=1&ck_source=1&ck_type=1&ck_browser=1&ck_brand=1&ck_model=1,1&ck_os=1,1&ck_click_browser=1,1&ck_transaction_id=1,1&ck_income=1&ck_payout=1,1&ck_adv_sid=1&ck_adv_sid2=1&ck_adv_sid3=1&ck_adv_sid4=1&ck_adv_sid5=1&ck_adv_cid=1&ck_conversion_message=1&ck_conversion_note=1&ck_conversion_referral=1&ck_revenue=1&ck_language=1&ck_user_agent=1&ck_click_referral=1&ck_offer_url=1&ck_affiliate_id=1&ck_affiliate_name=1&ck_advertiser_id=1&ck_advertiser_name=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
offer String Filter – a list of offer ids: 3,123,445
affiliate String Filter – a list of affiliate ids: 3,123,445
advertiser String Filter – a list of advertiser ids: 3,123,445
status String Filter – a list of Conversion Status: 1: Pending/2: Approved/4:Rejected; e.g. 1,2
event_range Integer Filter – Event Range: 0 – all events/1 – initial events
order String Order: ASC/DESC
orderBy String Order By: order by a response field flag
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_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_source Integer Response Field Flag – Value of Traffic Source: 1 or 0, show this field or not
ck_sub1 Integer Response Field Flag – Value of Click Sub Id 1: 1 or 0, show this field or not
ck_sub2 Integer Response Field Flag – Value of Click Sub Id 2: 1 or 0, show this field or not
ck_sub3 Integer Response Field Flag – Value of Click Sub Id 3: 1 or 0, show this field or not
ck_sub4 Integer Response Field Flag – Value of Click Sub Id 4: 1 or 0, show this field or not
ck_sub5 Integer Response Field Flag – Value of Click Sub Id 5: 1 or 0, show this field or not
ck_type Integer Response Field Flag – Device Type: 1 or 0, show this field or not
ck_brand Integer Response Field Flag – Device Brand: 1 or 0, show this field or not
ck_model Integer Response Field Flag – Device Model: 1 or 0, show this field or not
ck_os Integer Response Field Flag – Device OS: 1 or 0, show this field or not
ck_transaction_id Integer Response Field Flag – Transaction Id(TID): 1 or 0, show this field or not
ck_click_country Integer Response Field Flag – Click Traffic Country: 1 or 0, show this field or not
ck_click_ip Integer Response Field Flag – Click Traffic IP: 1 or 0, show this field or not
ck_click_browser Integer Response Field Flag – Click Traffic Browser: 1 or 0, show this field or not
ck_conversion_ip Integer Response Field Flag – Conversion IP: 1 or 0, show this field or not
ck_conversion_time Integer Response Field Flag – Conversion time: 1 or 0, show this field or not
ck_conversion_status Integer Response Field Flag – Conversion status: 1 or 0, show this field or not
ck_os_version Integer Response Field Flag – Conversion status: 1 or 0, show this field or not
ck_isp Integer Response Field Flag – Conversion status: 1 or 0, show this field or not

Response

Sample in JSON:

{
    "httpStatus": 200,
    "data": {
        "content": [
            {
                "id": "14573",
                "month": "201804",
                "affiliate_id": "5",
                "offer_id": "295",
                "advertiser_id": "50",
                "ck_offer_id": "295",
                "currency": "$",
                "from_currency": "$",
                "ck_offer_name": "ugly370",
                "ck_advertiser_id": "1",
                "ck_advertiser_name": "Martin Wilson",
                "ck_affiliate_id": "5",
                "ck_affiliate_name": "Mike Mikaelson",
                "ck_sub2": ""
            },
            {
                "id": "14515",
                "month": "201804",
                "affiliate_id": "5",
                "offer_id": "293",
                "advertiser_id": "1",
                "ck_offer_id": "293",
                "currency": "€ ",
                "from_currency": "€ ",
                "ck_offer_name": "Offer_18477_ModifiedAt1497437029441",
                "ck_advertiser_id": "1",
                "ck_advertiser_name": "Martin Wilson",
                "ck_affiliate_id": "5",
                "ck_affiliate_name": "Mike Mikaelson",
                "ck_sub2": ""
            }
        ],
        "page": "1",
        "totalPages": 1,
        "totalItems": "2"
    },
    "errorCode": 0,
    "message": ""
}