type AdRulePriorityError (v202411)

  • AdRuleService inherits from ApiError and includes various specific error types related to ad rules and targeting.

  • The AdRulePriorityError specifically deals with issues concerning the priority assigned to ad rules.

  • Common reasons for an AdRulePriorityError include duplicate priorities or priorities that are not sequential.

  • The error details provide information such as the field path, the triggering data, and a string representation of the error.

Errors associated with ad rule priorities.


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.

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.
Create a Mobile Website
View Site in Mobile | Classic
Share by: