type DateTimeRangeTargetingError (v202411)

  • DateTimeRangeTargetingError is an ApiError that occurs when there are issues with the date and time ranges used for targeting.

  • It's used by various services like AdjustmentService, ForecastService, LineItemService, and more, indicating a common concern across these areas.

  • The error provides a reason field, an enumeration detailing the specific cause of the error, such as overlapping ranges or invalid start/end times.

  • DateTimeRangeTargetingError inherits from ApiError and includes fields like fieldPath, trigger, and errorString for debugging and context.

  • The namespace for this error, and related components, is https://www.google.com/apis/ads/publisher/v202411.


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

ApiError (inherited)

fieldPath

xsd:string

fieldPathElements

FieldPathElement[]

trigger

xsd:string

errorString

xsd:string

DateTimeRangeTargetingError

reason

DateTimeRangeTargetingError...


Enumerations
EMPTY_RANGES
NOT_SPONSORSHIP_LINEITEM
NOT_SPONSORSHIP_OR_STANDARD_LINEITEM
UNSUPPORTED_LINEITEM_RESERVATION_TYPE
PAST_RANGES_CHANGED
RANGES_OVERLAP
FIRST_DATE_TIME_DOES_NOT_MATCH_START_TIME
LAST_DATE_TIME_DOES_NOT_MATCH_END_TIME
RANGES_OUT_OF_LINEITEM_ACTIVE_PERIOD
START_TIME_IS_NOT_START_OF_DAY
END_TIME_IS_NOT_END_OF_DAY
START_DATE_TIME_IS_IN_PAST
MODIFY_START_DATE_TIME_TO_PAST
RANGE_END_TIME_BEFORE_START_TIME
END_DATE_TIME_IS_TOO_LATE
LIMITED_RANGES_IN_UNLIMITED_LINEITEM
UNKNOWN