PRODUCT
Follow

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

Related Entities

Endpoints Using the Condition 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 Sizmek Ad Suite (SAS) 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

orCondition Object

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 Sizmek Ad Suite (SAS) 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 Sizmek Ad Suite (SAS) 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

Criteria Type

Values

Page URL/Referral URL

URL.

Variable

Values depend on selected variable. See variableID, variableName, variableDataType.

Clicked Element

CSS selector.

Number of session page views/ Number of total page views

Integer.

User's Browsing History

IDs of retargeting and/or conversion activities.

Time spent on page

Integer and unit. Units include:

  • Milliseconds

  • Seconds

  • Minutes

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

Powered by Zendesk