type LineItemFlightDateError (v202411)

  • LineItemFlightDateError is an enumeration that lists errors associated with LineItem start and end dates.

  • This error can occur in various Google Ad Manager services, including ForecastService, LineItemService, LineItemTemplateService, OrderService, ProposalLineItemService, and PublisherQueryLanguageService.

  • It inherits from ApiError and has one field, 'reason', which provides the specific cause of the error, such as start or end dates being in the past or an invalid date range.

  • Possible reasons for this error include START_DATE_TIME_IS_IN_PAST, END_DATE_TIME_IS_IN_PAST, END_DATE_TIME_NOT_AFTER_START_TIME, and END_DATE_TIME_TOO_LATE.

Lists all errors associated with LineItem start and end 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.

LineItemFlightDateError

reason

LineItemFlightDateError.Reason

The error reason represented by an enum.


Enumerations
START_DATE_TIME_IS_IN_PAST
END_DATE_TIME_IS_IN_PAST
END_DATE_TIME_NOT_AFTER_START_TIME
END_DATE_TIME_TOO_LATE
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.