Marketing API Version

Ad Rule Condition Spec

Reading

Specifies under what condition a rule will be executed.

If you want to learn how to use the Graph API, read our Using Graph API guide.

Parameters

This endpoint doesn't have any parameters.

Fields

FieldDescription

attribution_window

string

The chosen attribution window for stats data

condition_field

string

The field on which the condition_value will be evaluated

condition_operator

enum {GREATER_THAN, LESS_THAN, EQUAL}

Together with condition_value for condition evaluation, required for STATS_CHANGE only, implied as EQUAL for other condition types

condition_type

enum {STATS_MILESTONE, STATS_CHANGE}

The type of the condition

condition_value

string

The value of condition_field, together with condition_operator for condition evaluation

id_blocks

list<list<integer>>

List of id lists for schedules at different time

time_preset

string

The chosen time range for stats data

Edges

No edges

Creating

You can't perform this operation on this endpoint.

Updating

You can't perform this operation on this endpoint.

Deleting

You can't perform this operation on this endpoint.