type AdRulePriorityError (v202508)

  • AdRulePriorityError is a type of ApiError used in the AdRuleService.

  • It represents errors related to ad rule priorities, including duplicate or non-sequential priorities.

  • Fields like fieldPath, fieldPathElements, trigger, and errorString are inherited from ApiError to identify the cause and details of the error.

  • The reason field, specific to AdRulePriorityError, indicates the specific issue with the ad rule priority.

Errors associated with ad rule priorities.


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

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.

AdRulePriorityError

reason

AdRulePriorityError.Reason


Enumerations
DUPLICATE_PRIORITY
Ad rules must have unique priorities.
PRIORITIES_NOT_SEQUENTIAL
One or more priorities are missing.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.