type MobileApplicationTargetingError (v202411)

  • The MobileApplicationTargetingError object lists errors encountered when targeting mobile applications for line items within Google Ad Manager.

  • This error commonly occurs when attempting to target applications not linked to a store entry, indicated by the CANNOT_TARGET_UNLINKED_APPLICATION reason.

  • It inherits properties from the ApiError object, providing context about the error, like the fieldPath and errorString.

  • Developers can use the reason field to identify the specific cause of the mobile application targeting error and implement necessary corrections.

Lists all errors related to mobile application targeting for a line item.


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.

MobileApplicationTargetingError

reason

MobileApplicationTargetingE...


Enumerations
CANNOT_TARGET_UNLINKED_APPLICATION
Only applications that are linked to a store entry may be targeted.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.