enum RequestPlatform (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Represents the platform which requests and renders the ad.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Enumeration |
Description |
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
BROWSER
|
Represents a request made from a web browser. This includes both desktop and mobile web.
|
MOBILE_APP
|
Represents a request made from a mobile application. This includes mobile app interstitial and
rewarded video requests.
|
VIDEO_PLAYER
|
Represents a request made from a video player that is playing publisher content. This includes
video players embedded in web pages and mobile applications, and connected TV screens.
|
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\u003eRequestPlatform\u003c/code\u003e indicates the platform responsible for requesting and rendering an advertisement, such as a web browser, mobile application, or video player.\u003c/p\u003e\n"],["\u003cp\u003eIt's defined within the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e and is utilized by various services like AdRuleService, AdjustmentService, and NativeStyleService.\u003c/p\u003e\n"],["\u003cp\u003eThis enumeration includes values like \u003ccode\u003eBROWSER\u003c/code\u003e, \u003ccode\u003eMOBILE_APP\u003c/code\u003e, and \u003ccode\u003eVIDEO_PLAYER\u003c/code\u003e to specify the originating platform of the ad request.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUNKNOWN\u003c/code\u003e is returned if the platform isn't exposed by the API version being used.\u003c/p\u003e\n"]]],["The core content defines `RequestPlatform`, a parameter representing the ad-requesting and rendering platform. It specifies an enumeration with four possible values: `UNKNOWN` (value not exposed by the API version), `BROWSER` (web browser requests), `MOBILE_APP` (mobile application requests), and `VIDEO_PLAYER` (video player requests, including web pages, mobile apps, and connected TVs). It is under the namespace `https://www.google.com/apis/ads/publisher/v202408`. The services include AdRuleService, AdjustmentService, and others.\n"],null,["# enum RequestPlatform (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.RequestPlatform) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.RequestPlatform) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.RequestPlatform) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.RequestPlatform) **NativeStyleService** [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.RequestPlatform) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.RequestPlatform) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.RequestPlatform) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.RequestPlatform) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.RequestPlatform) **Dependencies** \n[RequestPlatformTargeting](/ad-manager/api/reference/v202408/NativeStyleService.RequestPlatformTargeting) \n▼\n**RequestPlatform**\n\nRepresents the platform which requests and renders the ad.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Enumeration | Description |\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |\n| `BROWSER` | Represents a request made from a web browser. This includes both desktop and mobile web. |\n| `MOBILE_APP` | Represents a request made from a mobile application. This includes mobile app interstitial and rewarded video requests. |\n| `VIDEO_PLAYER` | Represents a request made from a video player that is playing publisher content. This includes video players embedded in web pages and mobile applications, and connected TV screens. |"]]