enum EnvironmentType (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Enum for the valid environments in which ads can be shown.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
BROWSER
|
A regular web browser.
|
VIDEO_PLAYER
|
Video players.
|
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-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],["The core content outlines service dependencies and environment types for ad management. `ForecastService` relies on `InventoryService`, `LineItemService`, `ProposalLineItemService`, and `SuggestedAdUnitService`. It also depends on `LineItemSummary` and `ProposalLineItem`. The `EnvironmentType` enumeration defines valid ad display environments, specifically `BROWSER` for web browsers and `VIDEO_PLAYER` for video players. The namespace for these definitions is `https://www.google.com/apis/ads/publisher/v202502`.\n"],null,["# enum EnvironmentType (v202502)\n\n**Service** \n**ForecastService** [InventoryService](/ad-manager/api/reference/v202502/InventoryService.EnvironmentType) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.EnvironmentType) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.EnvironmentType) [SuggestedAdUnitService](/ad-manager/api/reference/v202502/SuggestedAdUnitService.EnvironmentType) **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202502/ForecastService.LineItemSummary) [ProposalLineItem](/ad-manager/api/reference/v202502/ForecastService.ProposalLineItem) \n▼\n**EnvironmentType**\n\nEnum for the valid environments in which ads can be shown.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|----------------|------------------------|\n| `BROWSER` | A regular web browser. |\n| `VIDEO_PLAYER` | Video players. |"]]