AI-generated Key Takeaways
-
DayPartTargetingError outlines errors encountered during day-part targeting setup for line items.
-
It is part of the Google Ad Manager API and falls under the namespace
https://www.google.com/apis/ads/publisher/v202411
. -
The error object provides details like field path, trigger data, and a human-readable error message.
-
Specific reasons for DayPartTargetingError include invalid hour or minute, end time preceding start time, overlapping time periods, and unknown issues.
-
Developers can use the
reason
field to identify the specific cause of the error and take corrective actions.
Lists all errors associated with day-part targeting for a line item.
- 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. |
DayPartTargetingError
|
|
|
The error reason represented by an enum. Enumerations
|