enum RequestPlatformTargetingError.Reason (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
RequestPlatformTargetingError.Reason is an enum for the request platform targeting error within the https://www.google.com/apis/ads/publisher/v202411 namespace.
The enum includes values like REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_LINE_ITEM_TYPE and REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_ENVIRONMENT_TYPE, indicating specific reasons for the targeting error.
The UNKNOWN value is returned when the actual value is not exposed by the requested API version.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The core content details the `RequestPlatformTargetingError` within the Google Ad Manager API (v202411). This error, an `ApiErrorReason` enum, is triggered when there's a mismatch between requested platform targeting and line item or environment types. Possible error reasons include `REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_LINE_ITEM_TYPE` and `REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_ENVIRONMENT_TYPE`. An `UNKNOWN` value is returned for unexposed values. This error is related to services like `ForecastService`, `LineItemService`, `OrderService` and others.\n"]]