# type RequiredCollectionError (v202602)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.RequiredCollectionError) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202602/AdjustmentService.RequiredCollectionError) [AdsTxtService](https://developers.google.com/ad-manager/api/reference/v202602/AdsTxtService.RequiredCollectionError) [AudienceSegmentService](https://developers.google.com/ad-manager/api/reference/v202602/AudienceSegmentService.RequiredCollectionError) [CdnConfigurationService](https://developers.google.com/ad-manager/api/reference/v202602/CdnConfigurationService.RequiredCollectionError) [CmsMetadataService](https://developers.google.com/ad-manager/api/reference/v202602/CmsMetadataService.RequiredCollectionError) [CompanyService](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.RequiredCollectionError) [ContactService](https://developers.google.com/ad-manager/api/reference/v202602/ContactService.RequiredCollectionError) [ContentBundleService](https://developers.google.com/ad-manager/api/reference/v202602/ContentBundleService.RequiredCollectionError) [ContentService](https://developers.google.com/ad-manager/api/reference/v202602/ContentService.RequiredCollectionError) [CreativeService](https://developers.google.com/ad-manager/api/reference/v202602/CreativeService.RequiredCollectionError) [CreativeSetService](https://developers.google.com/ad-manager/api/reference/v202602/CreativeSetService.RequiredCollectionError) [CreativeTemplateService](https://developers.google.com/ad-manager/api/reference/v202602/CreativeTemplateService.RequiredCollectionError) [CreativeWrapperService](https://developers.google.com/ad-manager/api/reference/v202602/CreativeWrapperService.RequiredCollectionError) [CustomFieldService](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.RequiredCollectionError) [CustomTargetingService](https://developers.google.com/ad-manager/api/reference/v202602/CustomTargetingService.RequiredCollectionError) [DaiAuthenticationKeyService](https://developers.google.com/ad-manager/api/reference/v202602/DaiAuthenticationKeyService.RequiredCollectionError) [DaiEncodingProfileService](https://developers.google.com/ad-manager/api/reference/v202602/DaiEncodingProfileService.RequiredCollectionError) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.RequiredCollectionError) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.RequiredCollectionError) [LabelService](https://developers.google.com/ad-manager/api/reference/v202602/LabelService.RequiredCollectionError) [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemCreativeAssociationService.RequiredCollectionError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.RequiredCollectionError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemTemplateService.RequiredCollectionError) [LiveStreamEventService](https://developers.google.com/ad-manager/api/reference/v202602/LiveStreamEventService.RequiredCollectionError) [MobileApplicationService](https://developers.google.com/ad-manager/api/reference/v202602/MobileApplicationService.RequiredCollectionError) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202602/NativeStyleService.RequiredCollectionError) [NetworkService](https://developers.google.com/ad-manager/api/reference/v202602/NetworkService.RequiredCollectionError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202602/OrderService.RequiredCollectionError) [PlacementService](https://developers.google.com/ad-manager/api/reference/v202602/PlacementService.RequiredCollectionError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.RequiredCollectionError) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.RequiredCollectionError) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202602/PublisherQueryLanguageService.RequiredCollectionError) [ReportService](https://developers.google.com/ad-manager/api/reference/v202602/ReportService.RequiredCollectionError) [SegmentPopulationService](https://developers.google.com/ad-manager/api/reference/v202602/SegmentPopulationService.RequiredCollectionError) [SiteService](https://developers.google.com/ad-manager/api/reference/v202602/SiteService.RequiredCollectionError) [StreamActivityMonitorService](https://developers.google.com/ad-manager/api/reference/v202602/StreamActivityMonitorService.RequiredCollectionError) **SuggestedAdUnitService** [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.RequiredCollectionError) [TeamService](https://developers.google.com/ad-manager/api/reference/v202602/TeamService.RequiredCollectionError) [UserService](https://developers.google.com/ad-manager/api/reference/v202602/UserService.RequiredCollectionError) [UserTeamAssociationService](https://developers.google.com/ad-manager/api/reference/v202602/UserTeamAssociationService.RequiredCollectionError) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202602/YieldGroupService.RequiredCollectionError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.ApiError) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.CommonError) [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.FeatureError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.InternalApiError) [InventoryUnitSizesError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.InventoryUnitSizesError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.LabelEntityAssociationError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.NotNullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.QuotaError) **RequiredCollectionError** [RequiredError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.RequiredError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.StringLengthError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.UniqueError)

A list of all errors to be used for validating sizes of collections.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202602`

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.FieldPathElement[]` 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)}. |
| ### `trigger` | ` xsd:string` The data that caused the error. |
| ### `errorString` | ` xsd:string` A simple string representation of the error and reason. |
| **`RequiredCollectionError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.RequiredCollectionError.Reason ` *** ** * ** *** **Enumerations** `REQUIRED` :   A required collection is missing. `TOO_LARGE` :   Collection size is too large. `TOO_SMALL` :   Collection size is too small. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |