Starting
September 8, 2025, every new line item will need to declare whether or not they will serve Eurpoean Union (EU) political ads. Display & Video 360 API and SDF uploads that don't provide declarations will fail. See our
deprecations page for more details on how to update your integration to make this declaration.
ImpressionSignal
Stay organized with collections
Save and categorize content based on your preferences.
Supported impression signals for Algorithm Rules.
Enums |
IMPRESSION_SIGNAL_UNSPECIFIED |
Unknown signal. |
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 field of the comparison value. |
DEVICE_TYPE |
Device type. Value is stored in the deviceTypeValue field of the comparison value. |
AD_POSITION |
Ad position. Value is stored in the onScreenPositionValue field of the comparison value. |
OPERATING_SYSTEM_ID |
The operating system identifier. Value is stored in the int64Value field of the comparison value. |
MOBILE_MODEL_ID |
The mobile model identifier. Value is stored in the int64Value field of the comparison value. |
EXCHANGE |
Exchange. Value is stored in the exchangeValue field of the comparison value. |
ENVIRONMENT |
Serving environment. Value is stored in the environmentValue field of the comparison value. |
COUNTRY_ID |
The country or region identifier. Value is stored in the int64Value field of the comparison value. |
CITY_ID |
The city identifier. Value is stored in the int64Value field of the comparison value. |
BROWSER_ID |
The browser identifier. Value is stored in the int64Value field of the comparison value. |
CREATIVE_DIMENSION |
Creative height and width in pixels. Value is stored in the creativeDimensionValue field of the comparison value. |
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 2025-03-27 UTC.
[null,null,["Last updated 2025-03-27 UTC."],[],["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. |"]]