type UniqueError (v202502)

  • UniqueError is an error type that specifically occurs when a field must satisfy a uniqueness constraint.

  • It inherits properties from ApiError, including fieldPath, fieldPathElements, trigger, and errorString, which help identify the cause and details of the error.

  • This error is part of the NativeStyleService and is associated with the https://www.google.com/apis/ads/publisher/v202502 namespace.

  • The documentation lists various other service and error types within the same version and namespace.

An error for a field which must satisfy a uniqueness constraint


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

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.

UniqueError