Creates a new exception list.
Parameters
ActionTrackerId required
ActionTrackerId requiredComma-separated list of the event type Ids (formerly known as action tracker Ids) to be associated with this exception list.
CampaignId required
CampaignId requiredProgram Id that this exception list applies to.
Name required
Name requiredName of the exception list.
Type required
Type requiredWhat the exception list looks to apply to.
| View possible enum values | |
|---|---|
CATEGORY | Exception list looks at the category an item is in. |
SKU | Exception list looks for the ProductIds listed within its configuration. |
Returns
Returns the status of the request and the URI of the newly created exception list. Returns an error if create parameters are invalid or if a required parameter is missing.
Example Request
curl 'https://api.impact.com/Advertisers/<AccountSID>/ExceptionLists' \
-X POST \
-u '<AccountSID>:<AuthToken>' \
-d 'Accept: application/json' \
-d 'ActionTrackerId=10002' \
-d 'CampaignId=1000' \
-d 'Name=BlueHammers' \
-d 'Type=CATEGORY'Example Response
{
"Status": "OK",
"Uri": "/Advertisers/<AccountSID>/ExceptionLists/10002"
}