type RequestPlatformTargeting (v202411)

  • RequestPlatformTargeting allows line items to target the platform requesting and rendering the ad (e.g., browser, mobile app, video player).

  • It's required for ProposalLineItems and video line items, with empty values for targetedRequestPlatforms implying targeting all platforms.

  • For non-video and proposal-generated line items, RequestPlatformTargeting is read-only and assigned by Google.

  • RequestPlatformTargeting includes a field called targetedRequestPlatforms, which accepts an array of RequestPlatform enum values to specify the targeted platforms.

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/v202411

Field

targetedRequestPlatforms

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.