type RequiredError (v202508)

  • The webpage lists numerous services available in the Ad Manager API version v202508, including services for managing ad rules, adjustments, inventory, and reporting.

  • It also details various inheritance relationships for ApiError, outlining different types of errors that can occur, such as authentication, permission, and server errors.

  • The specific error RequiredError is highlighted, indicating errors caused by missing required fields.

  • The RequiredError includes a reason field, which is an enum that explains the cause, such as REQUIRED for a missing required field.

  • Detailed fields like fieldPath, fieldPathElements, trigger, and errorString are available within ApiError and its descendants to help identify the specific cause and location of an error.

Errors due to missing required field.


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.

RequiredError

reason

RequiredError.Reason

The error reason represented by an enum.


Enumerations
REQUIRED
Missing required field.