enum EnvironmentType (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Enum for the valid environments in which ads can be shown.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eEnvironmentType\u003c/code\u003e is an enum used to specify the environment where ads will be displayed.\u003c/p\u003e\n"],["\u003cp\u003eIt's part of the Google Ad Manager API and is namespaced under \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTwo possible values for \u003ccode\u003eEnvironmentType\u003c/code\u003e are \u003ccode\u003eBROWSER\u003c/code\u003e for standard web browsers and \u003ccode\u003eVIDEO_PLAYER\u003c/code\u003e for video player environments.\u003c/p\u003e\n"]]],["The document outlines service types related to ad management, including `ForecastService`, `InventoryService`, `LineItemService`, `ProposalLineItemService`, and `SuggestedAdUnitService`. It details dependencies like `LineItemSummary` and defines `EnvironmentType` as an enumeration for valid ad environments. `EnvironmentType` includes `BROWSER` (web browsers) and `VIDEO_PLAYER` (video players), specifying where ads can be displayed. The namespace for these services is also given as `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# enum EnvironmentType (v202408)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202408/ForecastService.EnvironmentType) [InventoryService](/ad-manager/api/reference/v202408/InventoryService.EnvironmentType) **LineItemService** [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.EnvironmentType) [SuggestedAdUnitService](/ad-manager/api/reference/v202408/SuggestedAdUnitService.EnvironmentType) **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202408/LineItemService.LineItemSummary) \n▼\n**EnvironmentType**\n\nEnum for the valid environments in which ads can be shown.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Enumeration | Description |\n|----------------|------------------------|\n| `BROWSER` | A regular web browser. |\n| `VIDEO_PLAYER` | Video players. |"]]