type DateError (v202411)

  • The AdjustmentService relates to the ForecastService and handles date-related errors.

  • DateError is a type of error within AdjustmentService that provides specific reasons for date-related issues.

  • DateError includes reasons such as dates in the past, start dates after end dates, and invalid date formats.

  • The DateError reason field uses enumerations to clearly define the type of date error encountered.

  • AdjustmentService inherits from ApiError, which provides basic error information like field path and error messages.

A list of all errors associated with the dates.


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.

DateError

reason

DateError.Reason


Enumerations
DATE_IN_PAST
START_DATE_AFTER_END_DATE
END_DATE_BEFORE_START_DATE
NOT_CERTAIN_DAY_OF_MONTH
INVALID_DATES
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.