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.
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.
[null,null,["Last updated 2025-04-02 UTC."],[[["\u003cp\u003eAlgorithm Rules utilize various impression signals to optimize ad delivery.\u003c/p\u003e\n"],["\u003cp\u003eThese signals include factors such as time and day, device type, ad position, and operating system.\u003c/p\u003e\n"],["\u003cp\u003eMobile model, exchange, environment, geographic location (country, city), browser, and creative dimensions are also considered as impression signals.\u003c/p\u003e\n"],["\u003cp\u003eEach signal type is stored within specific fields of the comparison value for evaluation in Algorithm Rules.\u003c/p\u003e\n"],["\u003cp\u003eDetailed information about each signal and its corresponding value field can be found in the provided table and linked documentation.\u003c/p\u003e\n"]]],["Algorithm Rules support impression signals categorized by enums. These include: `DAY_AND_TIME` (day/time of impression), `DEVICE_TYPE`, `AD_POSITION`, `OPERATING_SYSTEM_ID`, `MOBILE_MODEL_ID`, `EXCHANGE`, `ENVIRONMENT`, `COUNTRY_ID`, `CITY_ID`, `BROWSER_ID`, and `CREATIVE_DIMENSION` (creative's height and width). Each enum's value is stored in a specific field within the `ComparisonValue` structure, such as `int64Value` or `exchangeValue`. `IMPRESSION_SIGNAL_UNSPECIFIED` represents an unknown signal.\n"],null,["# ImpressionSignal\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.\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/v3/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/v3/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/v3/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/v3/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/v3/AlgorithmRules#ComparisonValue.FIELDS.int64_value) field of the comparison value. |\n| `EXCHANGE` | Exchange. Value is stored in the [exchangeValue](/display-video/api/reference/rest/v3/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/v3/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/v3/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/v3/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/v3/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/v3/AlgorithmRules#ComparisonValue.FIELDS.creative_dimension_value) field of the comparison value. |"]]