Create an exception list

Creates a new exception list.

Parameters


ActionTrackerId required

Comma-separated list of the event type Ids (formerly known as action tracker Ids) to be associated with this exception list.


CampaignId required

Program Id that this exception list applies to.


Name required

Name of the exception list.


Type required

What the exception list looks to apply to.

View possible enum values
CATEGORYException list looks at the category an item is in.
SKUException 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"
}