Create a new offer
Notice:push_allowed, incent_allowed and adult_allowed in offer are discontinued and wont’ be processed. They are moved to Offer subresource, category, for setting. Please review corresponding method (offer_categroy means the tag information).
Request body parameters
Tracking Parameters
Response body parameters
Example request
Request POST https://{networkname}.api.offerslook.com/v1/offers
{
"offer": {
"advertiser_id": 147,
"description": "This is our company's website address: http://www.offerslook.com.Welcome to visit!",
"destination_url": "http://www.offerslook.com",
"end_date": 1499025154,
"name": "offerslook",
"offer_approval": 1,
"payout_type": "CPA+CPS",
"payout": "54",
"percent_payout": "10",
"preview_url": "http://www.offerslook.com",
"revenue_type": "RPA+RPS",
"revenue": "55",
"percent_revenue": "10",
"start_date": 1499015154,
"status": "active",
"redirect_offer_id": 3,
"currency": "USD",
"conversion_protocol": 1,
"is_ssl": 1,
"approve_conversions": 1,
"unique_click_ip_count": 1,
"tracking_domain": "qoqololo.iuniontrack.com",
"lead_traffic": 0,
"hide_referral": 1,
"advertiser_offer_id": "555",
"app_id": "346328468",
"impression_status": 1,
"impression_url": "http://www.offerslook.com"
},
"offer_platform": {
"target": [
{
"platform": "Mobile",
"system": "iOS",
"version": [
"5.1",
"6.0",
"6.1"
],
"is_above": "1"
},
{
"platform": "Mobile",
"system": "Android",
"version": [
],
"is_above": "0"
},
{
"platform": "PC",
"system": null,
"version": null,
"is_above": "1"
}
]
},
"offer_geo": {
"type": 1,
"target": [
{
"country": "CN",
"type": 1
},
{
"country": "AL",
"type": 1
},
{
"country": "AM",
"type": 2
},
{
"country": "CN",
"region": {
"type":1,
"region_ids": ["633",635,641]
},
"cities": [{
"type": 1,
"region_id": "633",
"city_ids": ["97648",97649,97651]
},
{
"type": 2,
"region_id": "635",
"city_ids": ["97739"]
}]
}
]
},
"offer_category": {
"name": "MusicandAudio, TEST"
},
"offer_cap": {
"cap_timezone": "Australia/Lord_Howe",
"adv_cap_type": 2,
"adv_cap_conversion": 100,
"aff_cap_type": 3,
"aff_cap_payout": "100"
}
}
Example response
{
"code": 0,
"message": "Success",
"data": {
"offer": {
"id": 16011,
"name": "offerslook",
"advertiser_id": 147,
"start_date": 1499015154,
"end_date": 1499025154,
"status": "active",
"offer_approval": 1,
"pricing_type": "Parameter deprecation. Pricing_type has been replaced by revenue_type and payout_type. Please review the new parameter method accordingly.",
"revenue_type": "RPA+RPS",
"revenue": "55",
"percent_revenue": "10.00",
"payout_type": "CPA+CPS",
"payout": "54",
"percent_payout": "10.00",
"preview_url": "http://www.offerslook.com",
"destination_url": "http://www.offerslook.com",
"description": "This is our company's website address: http://www.offerslook.com.Welcome to visit!",
"push_allowed": null,
"incent_allowed": null,
"adult_allowed": null,
"redirect_offer_id": 3,
"global_redirect_enabled": null,
"currency": "USD",
"conversion_protocol": 1,
"is_ssl": 1,
"approve_conversions": 1,
"unique_click_ip_count": 1,
"tracking_domain": "qoqololo.iuniontrack.com",
"lead_traffic": 0,
"hide_referral": 1,
"advertiser_offer_id": "555",
"app_id": "346328468",
"impression_status": 1,
"impression_url": "http://www.offerslook.com"
},
"offer_geo": {
"type": 1,
"target": [
{
"country": "China",
"country_code": "CN",
"id": 541628,
"city": null,
"type": null,
"offer_id": null,
"regions": [
{
"type": 1,
"region_id": 633,
"region_name": "Anhui Sheng"
},
{
"type": 1,
"region_id": 635,
"region_name": "Beijing Shi"
},
{
"type": 1,
"region_id": 641,
"region_name": "Guangxi Zhuangzu Zizhiqu"
}
],
"cities": [
{
"type": 1,
"region_id": 633,
"city_id": 97648,
"city_name": "Anqing"
},
{
"type": 1,
"region_id": 633,
"city_id": 97649,
"city_name": "Baiyin"
},
{
"type": 1,
"region_id": 633,
"city_id": 97651,
"city_name": "Bozhou"
},
{
"type": 2,
"region_id": 635,
"city_id": 97739,
"city_name": "Beijing"
}
]
},
"offer_cap": {
"id": 16011,
"offer_id": 16011,
"cap_budget": null,
"cap_click": null,
"cap_type": null,
"cap_conversion": null,
"adv_cap_type": 2,
"adv_cap_click": 0,
"adv_cap_conversion": 100,
"adv_cap_revenue": "0",
"aff_cap_type": 3,
"aff_cap_click": 0,
"aff_cap_conversion": 0,
"aff_cap_payout": "100.000",
"cap_timezone": "Australia/Lord_Howe"
},
"offer_category": [
{
"id": 148,
"name": "MusicandAudio",
"create_time": 1483511558,
"offer_id": 16011
},
{
"id": 154,
"name": "TEST",
"create_time": 1495700068,
"offer_id": 16011
}
],
"offer_platform": {
"target": [
{
"id": 3199,
"offer_id": 16011,
"platform": "Mobile",
"system": "iOS",
"version": [
"5.1",
"6.0",
"6.1"
],
"is_above": 1
},
{
"id": 3200,
"offer_id": 16011,
"platform": "Mobile",
"system": "Android",
"version": [
],
"is_above": 0
},
{
"id": 3201,
"offer_id": 16011,
"platform": "PC",
"system": "",
"version": [
],
"is_above": 1
}
]
}
}
}
Last updated