自
2025 年 9 月 8 日起,每个新订单项都需要声明是否会投放欧盟 (EU) 政治广告。Display & Video 360 API 和未提供声明的 SDF 上传操作将会失败。如需详细了解如何更新集成以进行此声明,请参阅我们的
弃用页面。
ComparisonOperator
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
COMPARISON_OPERATOR_UNSPECIFIED |
未知运算符。 |
EQUAL |
值相等。 |
GREATER_THAN |
信号值大于比较值。 |
LESS_THAN |
信号值小于第二个值。 |
GREATER_THAN_OR_EQUAL_TO |
信号值大于或等于第二个值。 |
LESS_THAN_OR_EQUAL_TO |
信号值小于或等于比较值。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eSupported comparison operators include equal, greater than, less than, greater than or equal to, and less than or equal to.\u003c/p\u003e\n"],["\u003cp\u003eThese operators are used to compare values within data, allowing for filtering and conditional logic.\u003c/p\u003e\n"],["\u003cp\u003eEach operator is represented by a specific enum value for use in code and configurations.\u003c/p\u003e\n"],["\u003cp\u003eAn \u003ccode\u003eUNSPECIFIED\u003c/code\u003e enum exists for unknown or undefined comparison operations.\u003c/p\u003e\n"]]],["The provided content outlines six comparison operators. `COMPARISON_OPERATOR_UNSPECIFIED` indicates an unknown operator. `EQUAL` checks if values are identical. `GREATER_THAN` and `LESS_THAN` assess if a signal value is, respectively, larger or smaller than a comparison value. `GREATER_THAN_OR_EQUAL_TO` and `LESS_THAN_OR_EQUAL_TO` determine if the signal value is, respectively, larger or equal, or smaller or equal to the comparison value.\n"],null,["# ComparisonOperator\n\n| Display \\& Video 360 API is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\nAvailable comparison operators.\n\n| Enums ||\n|-----------------------------------|-------------------------------------------------------------|\n| `COMPARISON_OPERATOR_UNSPECIFIED` | Unknown operator. |\n| `EQUAL` | Values are equal. |\n| `GREATER_THAN` | Signal value is greater than the comparison value. |\n| `LESS_THAN` | Signal value is less than the second. |\n| `GREATER_THAN_OR_EQUAL_TO` | Signal value is greater than or equal to the second. |\n| `LESS_THAN_OR_EQUAL_TO` | Signal value is less than or equal to the comparison value. |"]]