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 2024-09-18 UTC."],[[["Display & Video 360 API v2 is no longer in use."],["The environment targeting options allow advertisers to specify whether their ads should be displayed in web browsers (optimized or not optimized for the device) or in apps."],["When using environment targeting, `ENVIRONMENT_UNSPECIFIED` is the default and does not represent an actual environment, while `ENVIRONMENT_WEB_OPTIMIZED` and `ENVIRONMENT_WEB_NOT_OPTIMIZED` target web browsers, and `ENVIRONMENT_APP` targets app inventory."],["For web targeting, if you want to target both optimized and non-optimized inventory, you should target `ENVIRONMENT_WEB_OPTIMIZED` first and then add `ENVIRONMENT_WEB_NOT_OPTIMIZED`."]]],[]]