enum EnvironmentType (v202402)
Enum for the valid environments in which ads can be shown.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202402
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-02-13 UTC.
[null,null,["Last updated 2024-02-13 UTC."],[[["EnvironmentType is an enum used to specify the environment where ads will be displayed, such as a web browser or video player."],["This enum is utilized by several services including ForecastService, LineItemService, ProposalLineItemService, and SuggestedAdUnitService to determine the ad environment."],["It includes two primary values: `BROWSER` representing standard web browsers and `VIDEO_PLAYER` representing video player environments."],["The namespace for this enum is `https://www.google.com/apis/ads/publisher/v202402`."]]],["The document outlines services and dependencies related to ad management. It lists `ForecastService`, `InventoryService`, `LineItemService`, `ProposalLineItemService`, and `SuggestedAdUnitService`. A key dependency is `AdUnitSize`. The `EnvironmentType` enumeration defines valid ad environments: `BROWSER` (web browser) and `VIDEO_PLAYER` (video players). The namespace for these services is specified as `https://www.google.com/apis/ads/publisher/v202402`.\n"]]