UserListRuleItemInfo
Stay organized with collections
Save and categorize content based on your preferences.
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-10-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-12 UTC."],[[["Atomic rule items define rules based on user data, such as website URLs, referrer URLs, numbers, strings, and dates."],["Each rule item requires a variable name (`name`) that must adhere to specific formatting guidelines and correspond to pixel-fired data."],["Rule items are categorized into number, string, and date types, allowing for diverse user targeting options."],["Detailed information on each rule item type can be found in the linked documentation for UserListNumberRuleItemInfo, UserListStringRuleItemInfo, and UserListDateRuleItemInfo."]]],[]]