enum EnvironmentType (v202405)
Enum for the valid environments in which ads can be shown.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202405
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 2024-05-15 UTC.
[null,null,["Last updated 2024-05-15 UTC."],[[["The `EnvironmentType` enum defines the environments where ads can be displayed, such as web browsers or video players."],["This enum is used by services like `ForecastService`, `InventoryService`, `LineItemService`, `ProposalLineItemService`, and `SuggestedAdUnitService` to specify the ad environment."],["It has two possible values: `BROWSER` for regular web browsers and `VIDEO_PLAYER` for video players."]]],["The content defines the `EnvironmentType` enumeration, specifying valid environments for ad display. The two defined environments are `BROWSER`, representing a standard web browser, and `VIDEO_PLAYER`, referring to video players. This information is associated with several services: `ForecastService`, `InventoryService`, `LineItemService`, `ProposalLineItemService` and `SuggestedAdUnitService`. `AdUnitSize` is identified as a dependency. The namespace for this information is `https://www.google.com/apis/ads/publisher/v202405`.\n"]]