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.
Possible environment targeting options.
Enums
ENVIRONMENT_UNSPECIFIED
Default value when environment is not specified in this version. This enum is a placeholder for default value and does not represent a real environment option.
ENVIRONMENT_WEB_OPTIMIZED
Target inventory displayed in browsers. This includes inventory that was designed for the device it was viewed on, such as mobile websites viewed on a mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior to the deletion of this targeting option.
ENVIRONMENT_WEB_NOT_OPTIMIZED
Target inventory displayed in browsers. This includes inventory that was not designed for the device but viewed on it, such as websites optimized for desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be targeted prior to the addition of this targeting option.
[null,null,["Last updated 2025-04-02 UTC."],[[["\u003cp\u003eBy default, environment targeting is unspecified; to target specific environments, use the provided options.\u003c/p\u003e\n"],["\u003cp\u003eFor web inventory, you can target either optimized (designed for the device) or non-optimized (not designed for the device) environments.\u003c/p\u003e\n"],["\u003cp\u003eTo target inventory displayed within apps, use the \u003ccode\u003eENVIRONMENT_APP\u003c/code\u003e option.\u003c/p\u003e\n"],["\u003cp\u003eBefore deleting \u003ccode\u003eENVIRONMENT_WEB_OPTIMIZED\u003c/code\u003e, ensure \u003ccode\u003eENVIRONMENT_WEB_NOT_OPTIMIZED\u003c/code\u003e is removed first; conversely, target \u003ccode\u003eENVIRONMENT_WEB_OPTIMIZED\u003c/code\u003e before adding \u003ccode\u003eENVIRONMENT_WEB_NOT_OPTIMIZED\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Environment\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.\nPossible environment targeting options.\n\n| Enums ||\n|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ENVIRONMENT_UNSPECIFIED` | Default value when environment is not specified in this version. This enum is a placeholder for default value and does not represent a real environment option. |\n| `ENVIRONMENT_WEB_OPTIMIZED` | Target inventory displayed in browsers. This includes inventory that was designed for the device it was viewed on, such as mobile websites viewed on a mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior to the deletion of this targeting option. |\n| `ENVIRONMENT_WEB_NOT_OPTIMIZED` | Target inventory displayed in browsers. This includes inventory that was not designed for the device but viewed on it, such as websites optimized for desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be targeted prior to the addition of this targeting option. |\n| `ENVIRONMENT_APP` | Target inventory displayed in apps. |"]]