type MobileApplicationTargetingError (v202411)

  • MobileApplicationTargetingError identifies issues when targeting mobile applications for line items in Google Ad Manager.

  • It's a subclass of ApiError and provides details about the error, including a reason field.

  • Only linked mobile applications can be targeted, unlinked ones will result in a targeting error.

  • The reason field explains the specific cause, like targeting an unlinked application.

  • For any API issues, consult the fieldPath, fieldPathElements, trigger, and errorString properties inherited from ApiError.

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.