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 in which ads will be displayed, like a web browser or video player."],["It's part of the Google Ad Manager API and can be found within the namespace `https://www.google.com/apis/ads/publisher/v202402`."],["This enum is used by various services, including ForecastService, InventoryService, LineItemService, ProposalLineItemService, and SuggestedAdUnitService, to determine ad display environments."],["It includes two enumeration values: `BROWSER` representing a standard web browser and `VIDEO_PLAYER` representing video players."]]],["The core content defines valid environments for ad display, specified within the `EnvironmentType` enumeration. It lists two types: `BROWSER`, representing regular web browsers, and `VIDEO_PLAYER`, encompassing video players. These types are part of the `SuggestedAdUnitService` and can be used within `ForecastService`, `InventoryService`, `LineItemService`, and `ProposalLineItemService`. The related dependency `AdUnitSize` is part of this. The namespace for this is `https://www.google.com/apis/ads/publisher/v202402`.\n"]]