Update advertisers the status
HTTP method
Endpoint
PATCH
/v1/batches/advertisers/{advertiser_ids}
Path parameters
Parameter
Description
advertiser_id
The unique id for the advertiser.
status
The modified status of the advertiser. Possible Values: active·paused·pending·deleted
Note:The limit of bulk adjustment is 100 advertisers.
Response body parameters
Field
Type
Description
id
integer
A string that uniquely identifies this advertiser.
status
string
The modified status of the advertiser. Possible Values: active·paused·pending·deleted
Example request
Request PATCH https://{networkname}.api.offerslook.com/v1/batches/advertisers/4,5,6?status=blocked
Request PATCH http://{networkname}.api.offerslook.com/v1/batches/advertisers/4,5,6?status=blocked
Example response
{
"code": 0,
"message": "Success",
"data": {
"advertiser": [
{
"advertiser_id": 4,
"status": "blocked"
},
{
"advertiser_id": 5,
"status": "blocked"
},
{
"advertiser_id": 6,
"status": "blocked"
}
]
}
}
Last updated
Was this helpful?