UserListDateRuleItemInfo
A rule item composed of a date operation.
Fields |
operator
|
UserListDateRuleItemOperator
Date comparison operator. This field is required and must be populated when creating new date rule item.
|
value
|
string
String representing date value to be compared with the rule variable. Supported date format is YYYY-MM-DD. Times are reported in the customer's time zone.
|
offset_in_days
|
int64
The relative date value of the right hand side denoted by number of days offset from now. The value field will override this field when both are present.
|
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.
[null,null,["Last updated 2024-10-12 UTC."],[[["A UserListDateRuleItem allows for the creation of audience rules based on date comparisons."],["It utilizes an operator to define the comparison type (e.g., equals, before, after) between a specified date value and a user's attribute."],["The date value can be set either as a fixed date (YYYY-MM-DD) or as a relative date by specifying an offset in days from the current date."],["When both a fixed date (`value`) and a relative date (`offset_in_days`) are provided, the fixed date value will take precedence."]]],[]]