« Back to Documentation Overviewadd_campaign_blacklist
Section: Blacklists
Version: 1.5.0
Adds blacklist mask on campaign level.
Parameters
|
---|
string | API_KEY |
object | string | campaign | CAMPAIGN_ID | string | mask | mask_value |
|
Return Value
|
---|
string | added | 1 |
Example Request JSON
[
"API_KEY",
{
"campaign": "CAMPAIGN_ID",
"mask": "mask_value"
}
]
Example Response JSON
{
"added": "1"
}
Example Error Response JSON
{
"code": -1,
"message": "Invalid mask syntax"
}
Method-specific Errors
|
---|
Missing Campaign |
Cannot set mask |
Invalid mask syntax |
API-wide Errors
|
---|
API key verification failed
| API key verification failed |
API client IP not allowed
| API client IP not allowed |
Invalid params
| Attribute params must be reference to hash |