# type RequiredCollectionError (v202605)

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

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

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` 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` | ` 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 /> |