type RequestPlatformTargeting (v202405)
Provides line items the ability to target the platform that
requests and renders the ad.
The following rules apply for RequestPlatformTargeting
- Namespace
-
https://www.google.com/apis/ads/publisher/v202405
Field
|
|
RequestPlatform[]
Enumerations
-
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 2024-05-15 UTC.
[null,null,["Last updated 2024-05-15 UTC."],[[["RequestPlatformTargeting allows proposal line items to target specific platforms where ads are requested and displayed (e.g., browsers, mobile apps, video players)."],["RequestPlatformTargeting is required for all proposal line items and video line items specifically."],["For non-video and proposal-generated line items, RequestPlatformTargeting is read-only and determined by Google."],["Leaving the targetedRequestPlatforms field empty in RequestPlatformTargeting implies targeting all request platforms for video line items."]]],["The document details `RequestPlatformTargeting` for ad line items, specifying rules for targeting ad-requesting platforms. This targeting is mandatory for `ProposalLineItem` and video line items. Empty target values mean all platforms are included. `RequestPlatformTargeting` is read-only for non-video and proposal-generated line items, assigned by Google. Targeting options include `BROWSER`, `MOBILE_APP`, and `VIDEO_PLAYER`. These platforms can be set using `targetedRequestPlatforms` of type `RequestPlatform`. The document also shows the relationship with some Services such as `AdRuleService`, `AdjustmentService`, `ForecastService`, etc.\n"]]