name required | string [ 1 .. 255 ] characters ^\S Readable name of a rule. Used to display a rule in Publisher Account.
|
is_enabled required | |
required | Array of objects [ 1 .. 100 ] items Conditions which are compared to user attribute values.
All conditions must be met for the action to take an effect.
|
Array ([ 1 .. 100 ] items) attribute required | string [ 1 .. 255 ] characters ^[-_.\\d\\w]+$ | operator required | string Type of operation performed by condition.
Enum: | Description |
---|
eq | Equals
| ne | Not equals
| gt | Greater
| lt | Less
| ge | Greater or equals
| le | Less or equals
|
| value required | string <= 255 characters Condition value which user attribute value will be compared to. Type depends on attribute type.
| type required | string Enum: "string" "date" "number" |
|
required | Array of objects or objects [ 1 .. 100 ] items |
Array ([ 1 .. 100 ] items) Items which are shown to a user if their attribute values meet conditions.
|