type UniqueError (v202411)

  • The AdRuleService allows management of ad rules, encompassing creation, updating, and retrieval functionalities.

  • This service provides access to a variety of other services related to ad management such as AdjustmentService, CmsMetadataService and CompanyService.

  • It inherits from ApiError and includes specific errors like AdRuleDateError, AdRuleError and others.

  • UniqueError signifies a violation of uniqueness constraint for a field.

  • The error details encompass field path, trigger, and a descriptive error string, aiding in identifying and resolving the issue.

An error for a field which must satisfy a uniqueness constraint


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.

UniqueError