PRODUCT

Amazon Ad Server will be sunset in Q4 2024, please visit this page (AAS offboarding information) for offboarding support resources and sunset FAQs. Details shared on that page represent the most up to date information in the Help Center, if you find disparate information in other resources please default to the information in the AAS offboarding information page accordingly.

Please note that on October 1, 2024, the ability to create new campaigns, placements, and tag managers will be disabled.

Follow

This article lists the condition objects that can be used in activity rules.

Related Entities

Endpoints Using the Condition Objects

Parent Objects

Condition Objects Definition

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.

orConditions Object

Required

Object JSON Example

orConditions Object

orConditions Object Definition

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.

andConditions Object

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

Object JSON Example

andConditions Object

andCondition Object Definition

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

variableId

ID of the variable.

Long

Read-only

For Variable criteria only.

variableName

Name of the variable.

String

Required

For Variable criteria only.

variableDataType

Type of the variable data.

String

Required

For Variable criteria only.

Object JSON Example
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments