MatchingFunctionOperator
Possible operators in a matching function.
Enums |
UNSPECIFIED
|
Not specified. |
UNKNOWN
|
Used for return value only. Represents value unknown in this version. |
IN
|
The IN operator. |
IDENTITY
|
The IDENTITY operator. |
EQUALS
|
The EQUALS operator |
AND
|
Operator that takes two or more operands that are of type FunctionOperand and checks that all the operands evaluate to true. For functions related to ad formats, all the operands must be in left_operands. |
CONTAINS_ANY
|
Operator that returns true if the elements in left_operands contain any of the elements in right_operands. Otherwise, return false. The right_operands must contain at least 1 and no more than 3 ConstantOperands. |
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-05-29 UTC.
[null,null,["Last updated 2024-05-29 UTC."],[[["Matching functions utilize operators like `IN`, `IDENTITY`, `EQUALS`, `AND`, and `CONTAINS_ANY` to define criteria."],["The `AND` operator requires all operands within the `left_operands` field to be true for ad format functions."],["`CONTAINS_ANY` checks if elements in `left_operands` match any within `right_operands`, with `right_operands` limited to 1-3 ConstantOperands."],["While `UNSPECIFIED` and `UNKNOWN` are listed as enums, they serve operational purposes rather than direct matching criteria."]]],[]]