Optional. Indicates whether this filter needs dynamic evaluation or not. If
set to true, users join the Audience if they ever met the condition (static
evaluation). If unset or set to false, user evaluation for an Audience is
dynamic; users are added to an Audience when they meet the conditions and
then removed when they no longer meet them.
This can only be set when Audience scope is ACROSS_ALL_SESSIONS.
Required. Immutable. The dimension name or metric name to filter. If the
field name refers to a custom dimension or metric, a scope prefix will be
added to the front of the custom dimensions or metric name. For more on
scope prefixes or custom dimensions/metrics, reference the Google
Analytics Data API documentation.
Required. Immutable. The dimension name or metric name to filter. If the
field name refers to a custom dimension or metric, a scope prefix will be
added to the front of the custom dimensions or metric name. For more on
scope prefixes or custom dimensions/metrics, reference the Google
Analytics Data API documentation.
Optional. If set, specifies the time window for which to evaluate data in
number of days. If not set, then audience data is evaluated against
lifetime data (For example, infinite time window).
For example, if set to 1 day, only the current day's data is evaluated. The
reference point is the current day when at_any_point_in_time is unset or
false.
It can only be set when Audience scope is ACROSS_ALL_SESSIONS and cannot be
greater than 60 days.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This webpage provides documentation for the `AudienceDimensionOrMetricFilter` class within the Google Analytics Admin Java library, spanning versions from 0.14.0 to the latest 0.70.0."],["The `AudienceDimensionOrMetricFilter` class, which is a filter for a dimension or metric, inherits from `GeneratedMessageV3` and implements `AudienceDimensionOrMetricFilterOrBuilder`, offering methods for creating and manipulating audience filter objects."],["The class includes static fields representing different filter types like `AT_ANY_POINT_IN_TIME_FIELD_NUMBER`, `BETWEEN_FILTER_FIELD_NUMBER`, and `STRING_FILTER_FIELD_NUMBER`, allowing users to configure specific filter conditions."],["The `AudienceDimensionOrMetricFilter` offers several methods, such as `getBetweenFilter`, `getInListFilter`, and `getStringFilter`, which enable the definition of various filtering logic based on numeric ranges, list inclusion, or string pattern matching."],["The documentation covers methods to parse, serialize, and build `AudienceDimensionOrMetricFilter` objects, as well as methods to check for the presence and return values of different filters within the class."]]],[]]