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.
RuleDeviceType
Stay organized with collections
Save and categorize content based on your preferences.
The supported device types for rules.
Enums |
RULE_DEVICE_TYPE_UNSPECIFIED |
Default value when device type is not specified in this version. This enum is a placeholder for default value and does not represent a real device type option. |
RULE_DEVICE_TYPE_COMPUTER |
Computer. |
RULE_DEVICE_TYPE_CONNECTED_TV |
Connected TV. |
RULE_DEVICE_TYPE_SMART_PHONE |
Smart phone. |
RULE_DEVICE_TYPE_TABLET |
Tablet. |
RULE_DEVICE_TYPE_CONNECTED_DEVICE |
Connected device. |
RULE_DEVICE_TYPE_SET_TOP_BOX |
Set top box. |
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 is in beta. It defines supported device types for rules using enums. These include `RULE_DEVICE_TYPE_UNSPECIFIED` (default), `RULE_DEVICE_TYPE_COMPUTER`, `RULE_DEVICE_TYPE_CONNECTED_TV`, `RULE_DEVICE_TYPE_SMART_PHONE`, `RULE_DEVICE_TYPE_TABLET`, `RULE_DEVICE_TYPE_CONNECTED_DEVICE`, and `RULE_DEVICE_TYPE_SET_TOP_BOX`. The unspecified enum is a placeholder and doesn't represent an actual device type. The others describe specific device types.\n"],null,["# RuleDeviceType\n\nThe supported device types for rules.\n\n| Enums ||\n|-------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `RULE_DEVICE_TYPE_UNSPECIFIED` | Default value when device type is not specified in this version. This enum is a placeholder for default value and does not represent a real device type option. |\n| `RULE_DEVICE_TYPE_COMPUTER` | Computer. |\n| `RULE_DEVICE_TYPE_CONNECTED_TV` | Connected TV. |\n| `RULE_DEVICE_TYPE_SMART_PHONE` | Smart phone. |\n| `RULE_DEVICE_TYPE_TABLET` | Tablet. |\n| `RULE_DEVICE_TYPE_CONNECTED_DEVICE` | Connected device. |\n| `RULE_DEVICE_TYPE_SET_TOP_BOX` | Set top box. |"]]