AI-generated Key Takeaways
-
AdUnitCodeError is a type of error associated with the adUnitCode field of an AdUnit.
-
It inherits from ApiError, and includes fields such as fieldPath, fieldPathElements, trigger, and errorString.
-
AdUnitCodeError has a reason field which can indicate specific issues with the ad unit code, like invalid characters or reserved codes.
-
Valid characters for adUnitCode vary depending on the context, such as whether UTF characters are allowed or if it's for a legacy Ad Exchange tag.
-
Specific codes starting with "ca-pub-tag" are reserved and cannot be used as adUnitCode values.
Lists the generic errors associated with AdUnit.adUnitCode.
- 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. |
AdUnitCodeError
|
|
|
Enumerations
|