AI-generated Key Takeaways
-
AdUnitCodeError is a type of error associated with AdUnit codes within the Google Ad Manager API.
-
It inherits from ApiError and can occur in services like ForecastService and InventoryService.
-
The error includes details such as the field path, trigger, and a string representation of the error.
-
Specific reasons for an AdUnitCodeError include invalid characters, leading forward slashes, or reserved codes.
-
The error reason can indicate issues like using unsupported characters or attempting to use a code reserved for Web Property IUs.
Lists the generic errors associated with AdUnit.adUnitCode.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
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. |
AdUnitCodeError
|
|
|
Enumerations
|