enum RequestPlatform (v202411)
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/v202411
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\u003eRequestPlatform indicates the source platform initiating ad requests and rendering, such as web browsers, mobile apps, or video players.\u003c/p\u003e\n"],["\u003cp\u003eIt's utilized within Google Ad Manager's ProposalService and other services to specify targeting parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe platform is categorized into Browser, Mobile App, and Video Player, in addition to an Unknown value for unexposed cases.\u003c/p\u003e\n"],["\u003cp\u003eThis information assists in tailoring ad delivery based on the originating platform.\u003c/p\u003e\n"]]],["The provided content details several services, including AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService. It also specifies a `RequestPlatform` dependency, which represents the platform requesting and rendering ads. The possible platforms include `UNKNOWN`, `BROWSER`, `MOBILE_APP`, and `VIDEO_PLAYER`, each with specific descriptions about the nature of the request.\n"],null,["# enum RequestPlatform (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.RequestPlatform) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.RequestPlatform) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.RequestPlatform) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.RequestPlatform) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.RequestPlatform) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.RequestPlatform) **ProposalService** [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.RequestPlatform) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.RequestPlatform) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.RequestPlatform) **Dependencies** \n[RequestPlatformTargeting](/ad-manager/api/reference/v202411/ProposalService.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/v202411`\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. |"]]