UserListRuleItemInfo
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-25 UTC.
[null,null,["Last updated 2024-11-25 UTC."],[[["Atomic rule items utilize specific fields like `name` for identification and categorization, requiring adherence to naming conventions starting with letters, underscores, or UTF8 code beyond 127."],["Rule items are categorized into number, string, or date types using fields like `number_rule_item`, `string_rule_item`, or `date_rule_item`, respectively, each offering unique functionalities and data handling within the rule structure."],["The 'rule_item' field is a union field that can contain only one of the three atomic rule item types: UserListNumberRuleItemInfo, UserListStringRuleItemInfo, or UserListDateRuleItemInfo, ensuring a singular and specific rule application."],["Websites benefit from built-in variable support with pre-defined names 'url__' for URL and 'ref_url__' for referrer URL, streamlining common website-related data inclusion in atomic rule construction."]]],[]]