The exception list object holds information about exception lists you have created, but not about the items within an exception list. You can create, retrieve, update, and delete an exception list, as well as list all exception lists.
Attributes
Id
integer
Id
integerId of the exception list.
Name
string
Name
stringName of the exception list.
State
enum
State
enumWhat state of use the exception list is in.
View possible enum values | |
---|---|
ACTIVE | Exception list is currently live. |
CLOSED | Exception list has been closed out. |
DEACTIVATED | Exception list has been deactivated by an account user. |
CampaignId
integer
CampaignId
integerProgram Id that this exception list applies to.
Type
enum
Type
enumWhat the exception list looks to apply to.
View possible enum values | |
---|---|
CATEGORY | Exception list is based on the passed Category value on the conversion. |
SKU | Exception list is based on the passed SKU value or ProductId on the conversion. |
CreatedDate
string
CreatedDate
stringDate and time the exception list was created. See ISO-8601.
DeactivationDate
string
DeactivationDate
stringDate and time the exception list was deactivated. Will be empty if the exception list is not deactivated. See ISO-8601.
ActionTrackers
object
ActionTrackers
objectEvent type(s) (formerly known as action tracker) that the exception list applies to.
View child attributes
Id
integer
Id
integerEvent type Id (formerly known as action tracker Id).
Name
string
Name
stringName of the event type.
NumberOfItems
integer
NumberOfItems
integerNumber of items that the exception list applies to.
ItemsUri
string
ItemsUri
stringException list's item's direct URI to view what items are included in the exception list.
Uri
string
Uri
stringException list's direct URI.
{
"Id": "10000",
"Name": "WhiteAnvils",
"State": "ACTIVE",
"CampaignId": "1000",
"Type": "CATEGORY",
"CreatedDate": "2019-09-03T16:15:02-07:00",
"DeactivationDate": "",
"ActionTrackers": [
{
"Id": "12345",
"Name": "Online Sale"
}
],
"NumberOfItems": "2",
"ItemsUri": "/Advertisers/<AccountSID>/ExceptionLists/10000/Items",
"Uri": "/Advertisers/<AccountSID>/ExceptionLists/10000"
}