# type RequiredCollectionError (v202505)

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

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

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202505/AdjustmentService.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/v202505/AdjustmentService.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 /> |