enum RequestPlatformTargetingError.Reason (v202411)
ApiErrorReason
enum for the request platform targeting error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["RequestPlatformTargetingError is an `ApiErrorReason` enum used for request platform targeting errors in Google Ad Manager."],["This error can indicate that the line item type or environment type is incompatible with the targeted request platform."],["The enum includes specific reasons like `REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_LINE_ITEM_TYPE` and `REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_ENVIRONMENT_TYPE`, alongside a generic `UNKNOWN` reason for unexposed values."],["This error is relevant to various services including ForecastService, LineItemService, LineItemTemplateService, OrderService, ProposalLineItemService, TargetingPresetService, and YieldGroupService."]]],["The `RequestPlatformTargetingError` is an `ApiErrorReason` enum that addresses issues with platform targeting. It is used by multiple services: ForecastService, LineItemService, LineItemTemplateService, OrderService, ProposalLineItemService, TargetingPresetService, and YieldGroupService. The enum contains three possible values: `REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_LINE_ITEM_TYPE`, indicating an incompatibility between the line item and request platform, `REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_ENVIRONMENT_TYPE`, signifying a mismatch between environment and platform, and `UNKNOWN` for unexposed API version values.\n"]]