Documente Academic
Documente Profesional
Documente Cultură
)
Outline
This document defines click parameters and conversion/event postback, along with campaign offer list API & report API.
c. ADMAX's admin will register the provided server IP list as White IP and will issue "partner_key" and "partner_secret_key" for SSP API
use.
d. After "partner_key" and "partner_secret_key" are issued, get campaign offer list (Please refer to “2. Campaign Offer List API” for
more details).
e. If there is any campaign that you wish to run/participate, create URL by following “3. Campaign Pick” guide and generates click and
conversion by following “5. Click Parameters” guide.
f. If conversion occurs, ADMAX system will callback to the provided conversion/event postback URL by following “6. Conversion
Postback”.
a. Defaults
Request Method supports only GET type and each parameter value needs to be delivered after urlencode processing.
b. Request parameters
long unixTime =
System.currentTimeMillis()
/ 1000L;
Minimum value : 1
Minimum value : 1
c. Request example
https://ssp.ad-max.co.kr/ssp/campaign/list?timestamp=1483196400&pakey=si.AbCdE&paenc=20b3b80b010cac210d7b
26ef5b4fa5d98659dcb5&offset=1&limit=1000
d. Response parameters
Parameter Description
CPA : Cost Per Action (Get paid per user event such as login, registration, etc.)
Etc. : Others
None : Uncategorized
There is no end_date value in case of campaign with unlimited period. It only ends
upon separate request of advertiser.
It is settlement amount per conversion for CPI, CPP, and CPA campaigns
It is settlement rate that SSP partner will receive for each conversion for a CPS
campaign
If "is_pick_limited" value is true, SSP partner is unable to participate through API and
needs to ask ADMAX's admin separately
"url_list" value only exists when "is_pick value" is true. Therefore, if "is_pick" value is
false, SSP partner should participate through API to get the URL
ALIAS : Additional click URL other than DEFAULT click URL for the same campaign
Others : Click URL with designated name in addition to DEFAULT click URL for the same
campaign
e. Response example
"retcode": 200,
"total_count": 5,
"offset": 1,
"limit": 1000,
"campaign_list": [{
"campaign_key": "1234_5678",
"ad_type": "CPI",
"campaign_name": "Cocorun",
"category": "Game",
"kpi": "",
"promotion_msg": "",
"icon_url": "https://vegas-test-o.s3.amazonaws.com/image/campaign/icon/111.png",
"total_volume": 1000,
"total_remain_volume": 998,
"day_volume": 1000,
"day_remain_volume": 998,
"earn": 1000,
"allow_platform": [
"Android",
"iOS"
],
"image_url_list": [
"https://vegas-test-o.s3.amazonaws.com/image/campaign/adImage/1234/222.png"
],
"is_pick_limited": false,
"is_pick": true,
"url_list": [{
"name": "DEFAULT",
"url": "http://test.clk.caulyglobal.com/v.aaa"
},
"name": "ALIAS",
"url": "http://bs1n.io/v.bbb"
},
"name": "Test",
"url": "http://bs1n.com/v.ccc"
}]
},
"campaign_key": "1235_5679",
"ad_type": "CPS",
"category": "Shopping",
"kpi": "",
"promotion_msg": "",
"icon_url": "https://vegas-test-o.s3.amazonaws.com/image/campaign/icon/333.png",
"end_date": "",
"total_volume": 0,
"total_remain_volume": 0,
"day_volume": 0,
"day_remain_volume": 0,
"earn_rate": 10.05,
"allow_platform": [
"Android",
"iOS",
"Others"
],
"image_url_list": [],
"is_pick_limited": false,
"is_pick": true,
"url_list": [{
"name": "DEFAULT",
"url": "http://test.clk.caulyglobal.com/v.ddd"
}]
},
"campaign_key": "1236_5680",
"ad_type": "CPP",
"category": "Shopping",
"kpi": "",
"promotion_msg": "",
"icon_url": "https://vegas-test-o.s3.amazonaws.com/image/campaign/icon/444.png",
"total_volume": 1000,
"total_remain_volume": 999,
"day_volume": 100,
"day_remain_volume": 99,
"earn": 2000,
"allow_platform": [
"Android"
],
"image_url_list": [
"https://vegas-test-o.s3.amazonaws.com/image/campaign/adImage/1236/555.png",
"https://vegas-test-o.s3.amazonaws.com/image/campaign/adImage/1236/666.png"
],
"is_pick_limited": false,
"is_pick": true,
"url_list": [{
"name": "DEFAULT",
"url": "http://test.clk.caulyglobal.com/v.eee"
},
"name": "ALIAS",
"url": "http://bit.ly/fff"
},
{
"name": "ALIAS",
"url": "http://bit.ly/ggg"
}]
},
"campaign_key": "1237_5681",
"ad_type": "CPA",
"campaign_name": "Home minus (Registration)",
"category": "Lifestyle",
"kpi": "Registration",
"icon_url": "https://vegas-test-o.s3.amazonaws.com/image/campaign/icon/777.png",
"total_volume": 10000,
"total_remain_volume": 5473,
"day_volume": 10000,
"day_remain_volume": 5473,
"earn": 2200,
"allow_platform": [
"Android",
"iOS",
"Others"
],
"image_url_list": [],
"is_pick_limited": true,
"is_pick": true,
"url_list": [{
"name": "DEFAULT",
"url": "http://test.clk.caulyglobal.com/v.hhh"
}]
},
"campaign_key": "1238_5682",
"ad_type": "CPI",
"category": "Game",
"kpi": "",
"promotion_msg": "<p><strong> Profit will be paid after campaign is ended.<br /> Preregister
with invalid phone number will be not paid.</strong></p>",
"icon_url": "https://vegas-test-o.s3.amazonaws.com/image/campaign/icon/888.png",
"total_volume": 1000,
"total_remain_volume": 870,
"day_volume": 100,
"day_remain_volume": 23,
"earn": 1150,
"allow_platform": [
"Android",
"iOS"
],
"image_url_list": [],
"is_pick_limited": false,
"is_pick": false,
"url_list": []
}]
3. Campaign Pick
SSP partners can pick & run campaigns that are in the campaign offer list.
Newly picked campaign responses created campaign URL information, and already picked campaign creates additional click URL and
response all of click URL.
a. Defaults
Request Method supports only GET type and each parameter value needs to be delivered after urlencode processing.
b. Request parameters
long unixTime =
System.currentTimeMillis()
/ 1000L;
c. Request example
https://ssp.ad-max.co.kr/ssp/campaign/pick?timestamp=1483196400&pakey=si.AbCdE&paenc=20b3b80b010cac210d7
b26ef5b4fa5d98659dcb5&campaign_key=1234_5678
d. Response parameters
Parameter Description
410 : Campaign is not existed / not able to participate through API (Needs to request
admin)
ALIAS : Additional click URL other than DEFAULT click URL for the same campaign
Others : Click URL with designated name in addition to DEFAULT click URL for the same
campaign
e. Response example
When requested in JSON;
{
"retcode": 200,
"url_list": [{
"name": "DEFAULT",
"url": "http://test.clk.caulyglobal.
com/v.aaa"
},
"name": "ALIAS",
"url": "http://bs1n.io/v.bbb"
}]
4. Report API
SSP partners can check daily generated click & conversions of picked campaigns.
a. Defaults
Request Method supports only GET type and each parameter value needs to be delivered after urlencode processing.
b. Request parameters
long unixTime =
System.currentTimeMillis()
/ 1000L;
The duration of
"start_date" and
"end_date" can not
exceed a maximum of 14
days
c. Request example
https://ssp.ad-max.co.kr/ssp/campaign/report?timestamp=1483196400&pakey=si.AbCdE&paenc=20b3b80b010cac210d
7b26ef5b4fa5d98659dcb5&start_date=2018-01-01&end_date=2018-01-02&campaign_key=1234_5678
d. Response parameters
Parameter Description
e. Response example
When requested in JSON;
{
"retcode": 200,
"report_list": [{
"date": "2018-01-02",
"campaign_key": "1234_5678",
"campaign_name": "COOCOORUN",
"click": 12,
"conversion": 1,
"earn": 1000
},
"date": "2018-01-01",
"campaign_key": "1234_5678",
"campaign_name": "COORUN",
"click": 75,
"conversion": 1,
"earn": 1000
}]
5. Click Parameters
After a campaign is picked and click URL is issued, SSP partner can deliver information with following parameters.
a. DEFAULTS
Request Method supports only GET type and each Parameter value needs to be delivered after urlencode processing.
b. Request parameters
cp O 250 byte Click ID (unique identifier that is created by SSP partner at click occurrence)
idfa 36 byte Click generated user device's Apple identifier for advertiser information
c. Request example
Setting with SSP partner's sub-partner or sub-sub-partner information and device identifier included
http://bs1n.io/v.bbb?cp={SSP Partner's Click ID}&sp_id={SSP Partner's sub-partner ID}&ssp_id={SSP Partner's
sub-sub-partner ID}&sssp_id={SSP Partner's sub-sub-sub-partner ID}&gid={device ADID}&idfa={device IDFA}
6. Conversion Postback
If SSP partner registers conversion postback URL at ADMAX system, you will receive conversion postback when conversion occurs
through your click URL.
a. Defaults
Request Method supports only GET type and each Parameter value needs to be delivered after urlencode processing.
SSP partner's server should respond Connection Timeout and Read Timeout within 3 seconds when sending postback.
b. Postback Macro
{cp} Click ID (Parameter value sent by SSP partner at the SSP partner needs to send value in cp parameter at
occurrence of a click) the occurrence of a click
{ip} User device IP collected by Tracker Deliverable only if provided by Advertiser or Tracker
{gid} User device Google Advertising ID collected by Deliverable only if provided by Advertiser or Tracker
Tracker
{idfa} User device Apple identifier for advertisers collected Deliverable only if provided by Advertiser or Tracker
by Tracker
{rev} User in-app purchase amount information for CPS Deliverable only if provided by Advertiser or Tracker
and CPP campaigns
{currency} User in-app purchase currency information Deliverable only if provided by Advertiser or Tracker
{country} User device country information at the occurrence Deliverable only if provided by Advertiser or Tracker
of a conversion completion
{platform} User device platform information at the occurrence Deliverable only if provided by Advertiser or Tracker
of a conversion completion
{install_time} Timestamp(seconds) at the occurrence of a convers Deliverable only if provided by Advertiser or Tracker
ion completion
c. Request example
7. Event Postback
If SSP partner registers event postback URL at ADMAX system, you will receive event postback when conversion and event occur
through your click URL.
a. Defaults
Request Method supports only GET type and each Parameter value needs to be delivered after urlencode processing.
SSP Partner's server should respond Connection Timeout and Read Timeout within 3 seconds when sending postback.
b. Postback Macro
{cp} Click ID (Parameter value sent by partner at the SSP partner needs to send value in cp parameter at the
occurrence of a click) occurrence of a click
{ip} User device IP collected by Tracker Deliverable only if provided by Advertiser or Tracker
{gid} User device Google Advertising ID collected by Tr Deliverable only if provided by Advertiser or Tracker
acker
{idfa} User device Apple identifier for advertisers Deliverable only if provided by Advertiser or Tracker
collected by Tracker
{rev} User in-app purchase amount information Deliverable only if provided by Advertiser or Tracker
{currency} User in-app purchase currency information Deliverable only if provided by Advertiser or Tracker
{sp_id} Sub-Partner ID SSP partner needs to send sp_id parameter value at the
occurrence of a click
{country} User device country information at conversion Deliverable only if provided by Advertiser or Tracker
completion point
{platform} User device platform information at conversion Deliverable only if provided by Advertiser or Tracker
completion point
c. Request example
Setting with SSP partner's sub-partner or sub-sub-partner's information and event postback included
http://(SSP Partner event Postback URL)?cp={cp}&action={action}&sp_id={sp_id}&ssp_id={ssp_id}&sssp_id={sssp_id}
Setting with all information and event postback included
http://(SSP Partner event Postback
URL)?cp={cp}&action={action}&ip={ip}&gid={gid}&idfa={idfa}&rev={rev}¤cy={currency}&sp_id={sp_id}&ssp_id={s
sp_id}&sssp_id={sssp_id}&country={country}&platform={platform}&event_time={event_time}