Get information about a specific advertiser of whitelist
HTTP method
Endpoint
GET
/v1/advertisers/{advertiser_id}/advertiser_whitelists
Path parameters
Parameter
Description
advertiser_id
The unique id for the advertiser.
Response body parameters
Field
Type
Description
is_open
integer
open whitelist. 0 close ; 1 open
ip_address
array
ip address
ip
string
ip
ip_range
array
ip range
start
string
start ip
end
string
end ip
Example request
Request GET https://{networkname}.api.offerslook.com/v1/advertisers/4988/advertiser_whitelists
Request GET http://{networkname}.api.offerslook.com/v1/advertisers/4988/advertiser_whitelists
Example response
{
"code": 0,
"message": "Success",
"data": {
"advertiser_whitelist": {
"advertiser_id": 4988,
"is_open": 1,
"ip_address": [
{
"id": "1",
"ip": "192.168.11.100"
},
{
"id": "2",
"ip": "192.168.21.23"
}
],
"ip_range": [
{
"id": "3",
"end": "192.168.2.222",
"start": "192.168.2.1"
},
{
"id": "4",
"end": "192.168.5.222",
"start": "192.168.5.110"
}
]
}
}
}Last updated
Was this helpful?