AI-generated Key Takeaways
-
RequiredCollectionError is a type of ApiError used for validating the sizes of collections.
-
It includes standard ApiError fields like fieldPath and trigger, as well as a specific reason field indicating why the collection validation failed (e.g., missing, too large, too small).
-
The possible reasons for a RequiredCollectionError are REQUIRED, TOO_LARGE, TOO_SMALL, and UNKNOWN.
A list of all errors to be used for validating sizes of collections.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202505
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. |
RequiredCollectionError
|
|
|
Enumerations
|