AI-generated Key Takeaways
-
LabelError objects represent errors specific to labels in the Google Ad Manager API.
-
These errors inherit properties like fieldPath, trigger, and errorString from the general ApiError type.
-
LabelError objects contain a specific 'reason' field, which is an enum indicating the nature of the label error.
-
Possible reasons for a LabelError include invalid prefixes, unsupported characters in the label name, or other unknown issues.
-
The LabelError structure helps developers to diagnose and address problems related to label creation and management within their Ad Manager integrations.
Errors specific to labels.
- 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. |
LabelError
|
|
|
The error reason represented by an enum. Enumerations
|