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.
Environment
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. |
ENVIRONMENT_APP |
Target inventory displayed in apps. |
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."],[],[],null,["# Environment\n\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. |"]]