AI-generated Key Takeaways
-
The
RequiredCollectionError
object in Google Ad Manager API v202411 is used to signal errors related to the size of collections. -
It inherits from the
ApiError
object, providing context about the error, like field path and trigger. -
The
reason
field specifies the type of collection size error:REQUIRED
,TOO_LARGE
,TOO_SMALL
, orUNKNOWN
. -
This error ensures collections adhere to defined size limitations within Ad Manager operations.
-
Developers should consult the documentation linked in the content for details on each service and its respective error handling.
A list of all errors to be used for validating sizes of collections.
- 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. |
RequiredCollectionError
|
|
|
Enumerations
|