type DateError (v202411)

  • The ForecastService.DateError object describes errors related to dates in Ad Manager forecasts.

  • It inherits from ApiError which provides details about the error, like the field path and trigger.

  • DateError includes a reason field that specifies the type of date error encountered, such as dates in the past or invalid date ranges.

  • Possible reasons for the errors include start dates after end dates, end dates before start dates, dates in the past, and more, as listed in the DateError.Reason enumeration.

  • The namespace for ForecastService.DateError is https://www.google.com/apis/ads/publisher/v202411.

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.