API Method – getConversionReport

    getConversionReport
    Get Conversion report.

API Category

    Report

HTTP Method

    GET

Request Call Example

    HTTP:
    GET /api/v2/getConversionReport?key=yourapikey&a=youraffiliateid &from=2018/04/01%2012&to=2018/04/09%2012&timezone=8&page=1&limit=500&ck_offer_id=1&ck_offer_name=1&a=2761&offer=-11,1,3725082&ck_click_ip=1&ck_click_country=1&ck_conversion_ip=1&ck_conversion_time=1&ck_conversion_status=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&ck_os=1&ck_click_browser=1&ck_transaction_id=1&ck_income=1&offer=1,2,3 HTTP/1.1
    Host: yournetworkapplicationdomain
 
    Java:
    Unirest.get("http://yournetworkapplicationdomain/api/v2/getConversionReport?key=yourapikey&a=youraffiliateid&from=2018/04/01%2012&to=2018/04/09%2012&timezone=8&page=1&limit=500&ck_offer_id=1&ck_offer_name=1&a=2761&offer=-11,1,3725082&ck_click_ip=1&ck_click_country=1&ck_conversion_ip=1&ck_conversion_time=1&ck_conversion_status=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&ck_os=1&ck_click_browser=1&ck_transaction_id=1&ck_income=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_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": "1",
                "month": "201804",
                "affiliate_id": "16",
                "offer_id": "606",
                "advertiser_id": "21",
                "ck_offer_id": "606",
                "currency": "€ ",
                "from_currency": "€ ",
                "ck_offer_name": "hello",
                "ck_advertiser_id": "21",
                "ck_advertiser_name": "Phil Caramanica",
                "ck_affiliate_id": "16",
                "ck_affiliate_name": "affiliate 17",
                "ck_sub1": "",
                "ck_sub2": "",
                "ck_os": "Windows",
                "ck_payout": "1.000000",
                "ck_revenue": "1.000000",
                "ck_conversion_ip": "106.39.118.106",
                "ck_conversion_time": "2018/04/11 17:30:50",
                "ck_conversion_status": "Approved"
            }
        ],
        "page": "1",
        "totalPages": 1,
        "totalItems": "1"
    },
    "errorCode": 0,
    "message": ""
}
 
Response Field Flag – Conversion status: 1 or 0, show this field or not