UserListRuleItemInfo

  • Rule items have a required name field that matches the pixel-fired key name, allowing for custom or built-in variables like URL and referrer URL.

  • An atomic rule item, represented by the union field rule_item, can be one of three types: number_rule_item, string_rule_item, or date_rule_item.

  • UserListNumberRuleItemInfo defines a number operation rule item.

  • UserListStringRuleItemInfo defines a string operation rule item.

  • UserListDateRuleItemInfo defines a date operation rule item.

An atomic rule item.

Fields

name

string

Rule variable name. It should match the corresponding key name fired by the pixel. A name must begin with US-ascii letters or underscore or UTF8 code that is greater than 127 and consist of US-ascii letters or digits or underscore or UTF8 code that is greater than 127. For websites, there are two built-in variable URL (name = 'url__') and referrer URL (name = 'ref_url__'). This field must be populated when creating a new rule item.

Union field

rule_item

rule_item. An atomic rule item. rule_item can be only one of the following:

number_rule_item

UserListNumberRuleItemInfo

An atomic rule item composed of a number operation.

string_rule_item

UserListStringRuleItemInfo

An atomic rule item composed of a string operation.

date_rule_item

UserListDateRuleItemInfo

An atomic rule item composed of a date operation.