enum RequestPlatform (v202411)

  • RequestPlatform identifies the source platform initiating an ad request, such as web browsers, mobile apps, or video players.

  • It's crucial for ad targeting as it allows tailoring ads based on the platform making the request, using an enumeration of BROWSER, MOBILE_APP, and VIDEO_PLAYER.

  • Defined within the namespace https://www.google.com/apis/ads/publisher/v202411, it's utilized within the AdRuleService and potentially other related services listed.

  • An UNKNOWN value indicates the actual platform isn't exposed by the current API version.

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.