AI-generated Key Takeaways
-
DateTimeRangeTargetingError is an API error in Google Ad Manager that occurs when associating a line item with a targeting expression, specifically related to date and time ranges.
-
This error can arise for various reasons, including empty targeted ranges, unsupported line item reservation types, overlapping ranges, or ranges falling outside the line item's active period.
-
The error message provides a reason code, represented by the DateTimeRangeTargetingError.Reason enum, which helps pinpoint the specific issue encountered.
-
Developers can use the reason code to troubleshoot and resolve the DateTimeRangeTargetingError, ensuring correct date and time targeting for line items.
-
The error's fieldPath and trigger properties offer additional information for debugging and understanding the context of the error within the API request.
Lists all date time range errors caused by associating a line item with a targeting expression.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field |
|
---|---|
ApiError (inherited)
|
|
|
The OGNL field path to identify cause of error. |
|
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)}. |
|
The data that caused the error. |
|
A simple string representation of the error and reason. |
DateTimeRangeTargetingError
|
|
|
The error reason represented by an enum. Enumerations
|