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 proposal line items to target specific platforms where ads are requested and displayed, such as web browsers, mobile apps, and video players."],["RequestPlatformTargeting is mandatory for both ProposalLineItems and video line items; for video line items, leaving targetedRequestPlatforms empty implies targeting all request platforms."],["For non-video line items and those generated from proposal line items, Google automatically assigns and manages RequestPlatformTargeting, making it read-only."],["The targetedRequestPlatforms field specifies the platforms being targeted, utilizing an enumeration that includes options like BROWSER, MOBILE_APP, and VIDEO_PLAYER, with UNKNOWN representing unexposed values."]]],["The content details `RequestPlatformTargeting`, which is crucial for line items to target ad-requesting platforms. This targeting is mandatory for `ProposalLineItem` and video line items. For non-video line items and proposal-generated line items, Google assigns it as read-only. `RequestPlatformTargeting` includes `targetedRequestPlatforms` with options such as `BROWSER`, `MOBILE_APP`, and `VIDEO_PLAYER`, defining where ad requests originate. `ProposalLineItemService` and `Targeting` are key dependencies.\n"]]