Create a new advertiser
Request body parameters
Response body parameters
Example request
Request POST https://{networkname}.api.offerslook.com/v1/advertisers
Request POST http://{networkname}.api.offerslook.com/v1/advertisers
{
"advertiser": {
"company": "UC Union",
"country": "Asia/Pacific Region",
"email": "test@test.com",
"first_name": "advertiser",
"password": "abc123",
"instant_message_account": "test@facebook.com",
"instant_message_type": 3,
"last_name": "test",
"manager_id": 7,
"phone": "11122223333",
"status": "active",
"website": "http://www.baidu.com",
"security_mode": 1
},
"advertiser_whitelist": {
"is_open": 1,
"ip_address": [
{
"ip": "192.168.21.23"
},
{
"ip": "192.168.11.100"
}
],
"ip_range": [
{
"start": "192.168.2.1",
"end": "192.168.2.222"
},
{
"start": "192.168.5.110",
"end": "192.168.5.222"
}
]
}
}
Example response
{
"code": 0,
"message": "Success",
"data": {
"advertiser": {
"id": 4865,
"email": "test@test.com",
"first_name": "advertiser",
"last_name": "test",
"country": "Asia/Pacific Region",
"status": "active",
"website": "http://www.baidu.com",
"create_time": 1458648895,
"company": "UC Union",
"phone": "11122223333",
"manager_id": 7,
"instant_message_type": 3,
"instant_message_account": "test@facebook.com",
"security_mode": 1,
"security_code": "1965c04d1fb142c584564a5066699fb0"
},
"advertiser_whitelist": {
"is_open": 1,
"ip_address": [
{
"ip": "192.168.21.23"
},
{
"ip": "192.168.11.100"
}
],
"ip_range": [
{
"start": "192.168.2.1",
"end": "192.168.2.222"
},
{
"start": "192.168.5.110",
"end": "192.168.5.222"
}
]
}
}
}
Last updated