type RequestPlatformTargeting (v202408)
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/v202408
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-08-20 UTC.
[null,null,["Last updated 2024-08-20 UTC."],[[["RequestPlatformTargeting allows line items to target the platform requesting and rendering the ad (e.g., browser, mobile app, video player)."],["It is required for ProposalLineItems and video line items, with empty values targeting all platforms for the latter."],["For non-video and proposal-generated line items, RequestPlatformTargeting is read-only and assigned by Google."],["RequestPlatformTargeting includes a `targetedRequestPlatforms` field that specifies the targeted platforms using enumerations like `BROWSER`, `MOBILE_APP`, and `VIDEO_PLAYER`."]]],["The provided content outlines the `RequestPlatformTargeting` feature within ad management services. This feature enables line items to target the platform requesting and rendering ads, including browsers, mobile apps, and video players. It's mandatory for ProposalLineItems and video line items. For non-video line items and those from proposal line items, it's read-only and set by Google. The available `RequestPlatform` options are `BROWSER`, `MOBILE_APP`, `VIDEO_PLAYER` and `UNKNOWN`. Empty values for `targetedRequestPlatforms` means that all platforms will be targeted.\n"]]