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."],[[["EnvironmentType is an enumeration used to specify the environment where ads will be displayed, such as a web browser or video player."],["It's part of the Google Ad Manager API and is utilized by services like ForecastService, InventoryService, LineItemService, ProposalLineItemService, and SuggestedAdUnitService."],["The namespace for EnvironmentType is `https://www.google.com/apis/ads/publisher/v202405`."],["It has two possible values: `BROWSER` for standard web browsers and `VIDEO_PLAYER` for video player environments."]]],["The document defines the `EnvironmentType` enum, specifying valid environments for ad display. These environments include `BROWSER` for regular web browsers and `VIDEO_PLAYER` for video players. This information is part of multiple services like `ForecastService`, `InventoryService`, `LineItemService`, `ProposalLineItemService`, and `SuggestedAdUnitService`. It also depends on `AdUnitSize` information. The namespace for these definitions is `https://www.google.com/apis/ads/publisher/v202405`.\n"]]