type RequiredError (v202411)

  • This page provides details on the RequiredError object within the Google Ad Manager API's NativeStyleService.

  • RequiredError signifies that a required field is missing when interacting with the Native Style Service.

  • The error includes details like the field path, a parsed field path for easier debugging, the triggering data, and an error string with a simple explanation.

  • It utilizes a reason field with the enum value REQUIRED to clearly indicate that a required field was not provided.

Errors due to missing required field.


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.

RequiredError

reason

RequiredError.Reason

The error reason represented by an enum.


Enumerations
REQUIRED
Missing required field.