自
2025 年 9 月 8 日起,每个新订单项都需要声明是否会投放欧盟 (EU) 政治广告。Display & Video 360 API 和未提供声明的 SDF 上传操作将会失败。如需详细了解如何更新集成以进行此声明,请参阅我们的
弃用页面。
ImpressionSignal
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],["Display & Video 360 API v4, in beta, supports impression signals for Algorithm Rules. Key signals include `DAY_AND_TIME`, `DEVICE_TYPE`, `AD_POSITION`, `OPERATING_SYSTEM_ID`, `MOBILE_MODEL_ID`, `EXCHANGE`, `ENVIRONMENT`, `COUNTRY_ID`, `CITY_ID`, `BROWSER_ID`, and `CREATIVE_DIMENSION`. Each signal's value is stored in a specific field of the comparison value, such as `int64Value`, `dayAndTimeValue`, `deviceTypeValue`, or `creativeDimensionValue`. The `IMPRESSION_SIGNAL_UNSPECIFIED` represents an unknown signal.\n"],null,["# ImpressionSignal\n\nSupported impression signals for Algorithm Rules.\n\n| Enums ||\n|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `IMPRESSION_SIGNAL_UNSPECIFIED` | Unknown signal. |\n| `DAY_AND_TIME` | The day of the week and hour of day the impression was made using browser's local time zone. Value is stored in the [dayAndTimeValue](/display-video/api/reference/rest/v4/AlgorithmRules#ComparisonValue.FIELDS.day_and_time_value) field of the comparison value. |\n| `DEVICE_TYPE` | Device type. Value is stored in the [deviceTypeValue](/display-video/api/reference/rest/v4/AlgorithmRules#ComparisonValue.FIELDS.device_type_value) field of the comparison value. |\n| `AD_POSITION` | Ad position. Value is stored in the [onScreenPositionValue](/display-video/api/reference/rest/v4/AlgorithmRules#ComparisonValue.FIELDS.on_screen_position_value) field of the comparison value. |\n| `OPERATING_SYSTEM_ID` | The operating system identifier. Value is stored in the [int64Value](/display-video/api/reference/rest/v4/AlgorithmRules#ComparisonValue.FIELDS.int64_value) field of the comparison value. |\n| `MOBILE_MODEL_ID` | The mobile model identifier. Value is stored in the [int64Value](/display-video/api/reference/rest/v4/AlgorithmRules#ComparisonValue.FIELDS.int64_value) field of the comparison value. |\n| `EXCHANGE` | Exchange. Value is stored in the [exchangeValue](/display-video/api/reference/rest/v4/AlgorithmRules#ComparisonValue.FIELDS.exchange_value) field of the comparison value. |\n| `ENVIRONMENT` | Serving environment. Value is stored in the [environmentValue](/display-video/api/reference/rest/v4/AlgorithmRules#ComparisonValue.FIELDS.environment_value) field of the comparison value. |\n| `COUNTRY_ID` | The country or region identifier. Value is stored in the [int64Value](/display-video/api/reference/rest/v4/AlgorithmRules#ComparisonValue.FIELDS.int64_value) field of the comparison value. |\n| `CITY_ID` | The city identifier. Value is stored in the [int64Value](/display-video/api/reference/rest/v4/AlgorithmRules#ComparisonValue.FIELDS.int64_value) field of the comparison value. |\n| `BROWSER_ID` | The browser identifier. Value is stored in the [int64Value](/display-video/api/reference/rest/v4/AlgorithmRules#ComparisonValue.FIELDS.int64_value) field of the comparison value. |\n| `CREATIVE_DIMENSION` | Creative height and width in pixels. Value is stored in the [creativeDimensionValue](/display-video/api/reference/rest/v4/AlgorithmRules#ComparisonValue.FIELDS.creative_dimension_value) field of the comparison value. |"]]