AI-generated Key Takeaways
- 
          DateTimeRangeTargetingError is an ApiErrorReason enum for date time range targeting errors used across various Ad Manager API services. 
- 
          This enum defines specific error reasons related to date and time targeting, such as empty ranges, overlapping ranges, or incorrect date/time formats. 
- 
          Errors can occur if line item types are not compatible with date time range targeting or if targeted ranges fall outside the line item's active period. 
- 
          Certain restrictions apply to start and end times within targeted ranges, such as requiring them to be at the start or end of the day. 
- 
          The enum includes an UNKNOWN value for actual values not exposed by the requested API version. 
            ApiErrorReason enum for date time range targeting error.
- Namespace
- 
               https://www.google.com/apis/ads/publisher/v202508
| Enumeration | Description | 
|---|---|
| EMPTY_RANGES | No targeted ranges exists. | 
| NOT_SPONSORSHIP_LINEITEM | Type of lineitem is not sponsorship. | 
| NOT_SPONSORSHIP_OR_STANDARD_LINEITEM | Type of lineitem is not sponsorship or standard. | 
| UNSUPPORTED_LINEITEM_RESERVATION_TYPE | Line item must have a reservation type of sponsorship, standard or preferred deal to use date time range targeting. | 
| PAST_RANGES_CHANGED | Past ranges are changed. | 
| RANGES_OVERLAP | Targeted date time ranges overlap. | 
| FIRST_DATE_TIME_DOES_NOT_MATCH_START_TIME | First date time does not match line item's start time. | 
| LAST_DATE_TIME_DOES_NOT_MATCH_END_TIME | Last date time does not match line item's end time. | 
| RANGES_OUT_OF_LINEITEM_ACTIVE_PERIOD | Targeted date time ranges fall out the active period of lineitem. | 
| START_TIME_IS_NOT_START_OF_DAY | Start time of range (except the earliest range) is not at start of day. Start of day is 00:00:00. | 
| END_TIME_IS_NOT_END_OF_DAY | End time of range (except the latest range) is not at end of day. End of day is 23:59:59. | 
| START_DATE_TIME_IS_IN_PAST | Start date time of earliest targeted ranges is in past. | 
| MODIFY_START_DATE_TIME_TO_PAST | Cannot modify the start date time for date time targeting to the past. | 
| RANGE_END_TIME_BEFORE_START_TIME | The end time of range is before the start time. Could happen when start type is IMMEDIATE or ONE_HOUR_LATER. | 
| END_DATE_TIME_IS_TOO_LATE | End date time of latest targeted ranges is too late. | 
| LIMITED_RANGES_IN_UNLIMITED_LINEITEM | |
| BLACKOUT_DURATION_TOO_SHORT | Blackout ranges do not adhere to the minimum blackout duration. There must be a minimum of 2
                seconds between targeted DateTimes. | 
| UNKNOWN | The value returned if the actual value is not exposed by the requested API version. |