AI-generated Key Takeaways
-
AdUnitCodeError is associated with errors related to the
AdUnit.adUnitCode
field in Ad Manager. -
It inherits properties from
ApiError
, includingfieldPath
,fieldPathElements
,trigger
, anderrorString
. -
The
reason
field provides specific details about the AdUnit code error, such as invalid characters or reserved codes. -
Valid characters for
AdUnit.adUnitCode
vary depending on the context, with stricter rules for legacy Ad Exchange tags. -
A leading forward slash in the
AdUnit.adUnitCode
is not permitted.
Lists the generic errors associated with AdUnit.adUnitCode.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
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
|