This article lists the condition objects that can be used in activity rules.
Note
Note: The Required column includes the following values:
-
Required: The field must be included in the POST call.
-
Read-only: The field is received in the GET call and required in the PUT call. It is not required in the POST call. You cannot edit this field.
-
Optional: If the field was received in the GET call, include it in the PUT call. This field is editable.
-
Internal: (For Amazon Ad Server (AAS) internal use) If the field was received in the GET call, include it in the PUT call.
NAME |
DESCRIPTION |
TYPE |
REQUIRED |
NOTES |
---|---|---|---|---|
type |
Type of entity. |
String |
Required |
|
criteriaType |
Entries that comprise the condition part of an activity rule. |
String |
Required |
|
orConditions |
Contains the type of entity, the operator used, and the value for the condition. |
Required |
Note
Note: The Required column includes the following values:
-
Required: The field must be included in the POST call.
-
Read-only: The field is received in the GET call and required in the PUT call. It is not required in the POST call. You cannot edit this field.
-
Optional: If the field was received in the GET call, include it in the PUT call. This field is editable.
-
Internal: (For Amazon Ad Server (AAS) internal use) If the field was received in the GET call, include it in the PUT call.
NAME |
DESCRIPTION |
TYPE |
REQUIRED |
NOTES |
---|---|---|---|---|
type |
Type of entity. |
String |
Read-only |
|
operator |
Operator used in the condition. |
String |
Required |
|
values |
Values for the condition. |
Array of values |
Required |
|
andConditions |
Conditions joined with an AND logic operator. |
Optional |
Permitted only with URLs. |
|
variableId |
ID of the variable used in the condition. |
Long |
Required |
|
variableName |
Name of the variable used in the condition. |
String |
Required |
|
variableDataType |
Type of the variable. |
String |
Required |
Note
Note: The Required column includes the following values:
-
Required: The field must be included in the POST call.
-
Read-only: The field is received in the GET call and required in the PUT call. It is not required in the POST call. You cannot edit this field.
-
Optional: If the field was received in the GET call, include it in the PUT call. This field is editable.
-
Internal: (For Amazon Ad Server (AAS) internal use) If the field was received in the GET call, include it in the PUT call.
NAME |
DESCRIPTION |
TYPE |
REQUIRED |
NOTES |
---|---|---|---|---|
type |
Type of entity. |
String |
Required |
AndVariableInnerCondition |
operator |
Available actions according to criteria type. |
String |
Required |
|
values |
Values for which to assess the operator. |
Array of items |
Required |
|
ID of the variable. |
Long |
Read-only |
For Variable criteria only. |
|
Name of the variable. |
String |
Required |
For Variable criteria only. |
|
Type of the variable data. |
String |
Required |
For Variable criteria only. |
Comments