type RequiredCollectionError (v202505)

  • RequiredCollectionError is an ApiError subclass used to indicate issues with collection size in the Google Ad Manager API.

  • It includes fields inherited from ApiError such as fieldPath, fieldPathElements, trigger, and errorString.

  • RequiredCollectionError has a specific field called reason which uses the RequiredCollectionError.Reason enumeration.

  • The possible reasons for a RequiredCollectionError are REQUIRED, TOO_LARGE, TOO_SMALL, and UNKNOWN.


Namespace
https://www.google.com/apis/ads/publisher/v202505

Field

ApiError (inherited)

fieldPath

xsd:string

fieldPathElements

FieldPathElement[]

trigger

xsd:string

errorString

xsd:string

RequiredCollectionError

reason

RequiredCollectionError.Reason


Enumerations
REQUIRED
TOO_LARGE
TOO_SMALL
UNKNOWN