enum RequestPlatformTargetingError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
ApiErrorReason
enum for the request platform targeting error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_LINE_ITEM_TYPE
|
The line item type does not support the targeted request platform type.
|
REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_ENVIRONMENT_TYPE
|
The line item environment type does not support the targeted request platform type.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
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."],[],["The provided content details the `RequestPlatformTargetingError` enum within the Google Ad Manager API, specifically version v202502. This error type relates to issues in targeting request platforms. Key actions include identifying errors such as `REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_LINE_ITEM_TYPE`, where a line item type is incompatible with the platform, or `REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_ENVIRONMENT_TYPE`, indicating environment-platform incompatibility. There is also an `UNKNOWN` value. Several related services are listed.\n"],null,["# enum RequestPlatformTargetingError.Reason (v202502)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202502/ForecastService.RequestPlatformTargetingError.Reason) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.RequestPlatformTargetingError.Reason) **LineItemTemplateService** [OrderService](/ad-manager/api/reference/v202502/OrderService.RequestPlatformTargetingError.Reason) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.RequestPlatformTargetingError.Reason) [TargetingPresetService](/ad-manager/api/reference/v202502/TargetingPresetService.RequestPlatformTargetingError.Reason) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.RequestPlatformTargetingError.Reason) **Dependencies** \n[RequestPlatformTargetingError](/ad-manager/api/reference/v202502/LineItemTemplateService.RequestPlatformTargetingError) \n▼\n**RequestPlatformTargetingErr...**\n\n\n`ApiErrorReason` enum for the request platform targeting error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|-----------------------------------------------------------|-------------------------------------------------------------------------------------|\n| `REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_LINE_ITEM_TYPE` | The line item type does not support the targeted request platform type. |\n| `REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_ENVIRONMENT_TYPE` | The line item environment type does not support the targeted request platform type. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]