type RequestPlatformTargetingError (v202411)

  • The RequestPlatformTargetingError relates to issues encountered when targeting specific request platforms in Google Ad Manager.

  • This error often arises due to incompatibilities between line item types, environment types, and the targeted request platforms.

  • The reason field provides further insight into the specific cause of the error, such as unsupported request platform types for the chosen line item or environment.

  • Errors are categorized using an enum with values like REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_LINE_ITEM_TYPE or REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_ENVIRONMENT_TYPE.

  • Developers can utilize the detailed error information, including fieldPath, trigger, and errorString, for troubleshooting and resolution.

Errors related to request platform targeting.


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

ApiError (inherited)

fieldPath

xsd:string

The OGNL field path to identify cause of error.

fieldPathElements

FieldPathElement[]

A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}.

trigger

xsd:string

The data that caused the error.

errorString

xsd:string

A simple string representation of the error and reason.

RequestPlatformTargetingError

reason

RequestPlatformTargetingErr...

The error reason represented by an enum.


Enumerations
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.