type DateTimeRangeTargetingError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
- 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
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eDateTimeRangeTargetingError is an ApiError that occurs when there are issues with the date and time ranges used for targeting.\u003c/p\u003e\n"],["\u003cp\u003eIt's used by various services like AdjustmentService, ForecastService, LineItemService, and more, indicating a common concern across these areas.\u003c/p\u003e\n"],["\u003cp\u003eThe error provides a \u003ccode\u003ereason\u003c/code\u003e field, an enumeration detailing the specific cause of the error, such as overlapping ranges or invalid start/end times.\u003c/p\u003e\n"],["\u003cp\u003eDateTimeRangeTargetingError inherits from ApiError and includes fields like \u003ccode\u003efieldPath\u003c/code\u003e, \u003ccode\u003etrigger\u003c/code\u003e, and \u003ccode\u003eerrorString\u003c/code\u003e for debugging and context.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this error, and related components, is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],["The content outlines various services and associated errors within an API, focusing on managing ad-related data. Key services include AdjustmentService, ForecastService, LineItemService, OrderService, ProposalLineItemService, TargetingPresetService, and YieldGroupService. A central error type is `DateTimeRangeTargetingError`, which covers issues like `EMPTY_RANGES`, `RANGES_OVERLAP`, or time constraints related to line items. Errors inherit from `ApiError` and have fields like `fieldPath`, `trigger`, and `errorString` for error resolution.\n"],null,[]]