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 define the environment where ads will be displayed."],["It has two possible values: `BROWSER` for regular web browsers and `VIDEO_PLAYER` for video players."],["These values are used by several services like ForecastService, InventoryService, LineItemService, ProposalLineItemService and SuggestedAdUnitService to specify the ad environment."]]],["The core content outlines valid environments for ad display, defined by the `EnvironmentType` enum. Key services related to ads include ForecastService, InventoryService, LineItemService, ProposalLineItemService, and SuggestedAdUnitService. `ProposalLineItem` is a dependency. The enumeration within `EnvironmentType` specifies two environments: `BROWSER`, for regular web browsers, and `VIDEO_PLAYER`, for video players. This information is part of the `https://www.google.com/apis/ads/publisher/v202402` namespace.\n"]]