AI-generated Key Takeaways
-
DateTimeRangeTargetingError lists errors related to date time range targeting when associating a line item with a targeting expression in various services like AdjustmentService, ForecastService, and LineItemService.
-
This error inherits from ApiError and includes fields such as fieldPath, fieldPathElements, trigger, and errorString to help identify the cause of the error.
-
The reason for a DateTimeRangeTargetingError is represented by an enum, indicating specific issues such as empty ranges, overlapping ranges, or start/end times not matching line item settings.
-
Possible reasons for this error include line item types not being sponsorship or standard, past ranges being changed, or ranges falling outside the line item's active period.
-
The enum provides detailed reasons for date time range targeting errors, including issues with start and end times, past dates, and range validity.
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
|