enum TargetPlatform (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Service
SuggestedAdUnitService
Indicates the target platform.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
WEB
|
The desktop web.
|
MOBILE
|
Mobile devices.
|
ANY
|
An universal target platform that combines mobile and desktop features.
|
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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eTargetPlatform\u003c/code\u003e is used to indicate the intended platform for an ad unit, such as web, mobile, or a combination of both.\u003c/p\u003e\n"],["\u003cp\u003eThis enumeration is part of the \u003ccode\u003eSuggestedAdUnitService\u003c/code\u003e and is utilized within the \u003ccode\u003eSuggestedAdUnit\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe available options for \u003ccode\u003eTargetPlatform\u003c/code\u003e are \u003ccode\u003eWEB\u003c/code\u003e, \u003ccode\u003eMOBILE\u003c/code\u003e, and \u003ccode\u003eANY\u003c/code\u003e, catering to different device environments.\u003c/p\u003e\n"]]],["The core content details the `TargetPlatform` enumeration within the `SuggestedAdUnitService`. It defines three potential platforms: `WEB` (desktop web), `MOBILE` (mobile devices), and `ANY` (a combination of mobile and desktop features). This enumeration is part of the `SuggestedAdUnit` service and uses the namespace `https://www.google.com/apis/ads/publisher/v202411`. These target platforms help determine where ad units are displayed.\n"],null,["# enum TargetPlatform (v202411)\n\n**Service** \n**SuggestedAdUnitService** **Dependencies** \n[SuggestedAdUnit](/ad-manager/api/reference/v202411/SuggestedAdUnitService.SuggestedAdUnit) \n▼\n**TargetPlatform**\n\nIndicates the target platform.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|-------------|-------------------------------------------------------------------------|\n| `WEB` | The desktop web. |\n| `MOBILE` | Mobile devices. |\n| `ANY` | An universal target platform that combines mobile and desktop features. |"]]