type RequiredError (v202508)

  • The content lists various Ad Manager API services for version v202508, including AdRuleService, AdjustmentService, and many others.

  • The content also describes different types of API errors, with a specific focus on RequiredError, which indicates a missing required field.

  • RequiredError inherits from ApiError and includes a reason field with the enumeration REQUIRED.

  • The ApiError fields like fieldPath, fieldPathElements, trigger, and errorString provide details about the error's location and cause.

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.