enum RequestPlatformTargetingError.Reason (v202505)

  • ForecastService and several other services utilize the RequestPlatformTargetingError.

  • RequestPlatformTargetingError is an ApiErrorReason enum used for errors related to request platform targeting.

  • The enumeration includes reasons such as request platform type not supported by line item type or environment type.

  • An UNKNOWN value is returned if the actual value is not exposed by the requested API version.

ApiErrorReason enum for the request platform targeting error.


Namespace
https://www.google.com/apis/ads/publisher/v202505
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.