# type RequiredCollectionError (v202608)

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

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

*** ** * ** ***

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

| ## 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 /> |