# type RequiredNumberError (v202505)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.RequiredNumberError) [CompanyService](https://developers.google.com/ad-manager/api/reference/v202505/CompanyService.RequiredNumberError) [ContentService](https://developers.google.com/ad-manager/api/reference/v202505/ContentService.RequiredNumberError) [CreativeService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.RequiredNumberError) [CreativeSetService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.RequiredNumberError) [CreativeTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.RequiredNumberError) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.RequiredNumberError) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.RequiredNumberError) **LineItemCreativeAssociation...** [LineItemService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.RequiredNumberError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.RequiredNumberError) [LiveStreamEventService](https://developers.google.com/ad-manager/api/reference/v202505/LiveStreamEventService.RequiredNumberError) [NetworkService](https://developers.google.com/ad-manager/api/reference/v202505/NetworkService.RequiredNumberError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202505/OrderService.RequiredNumberError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202505/ProposalLineItemService.RequiredNumberError) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202505/ProposalService.RequiredNumberError) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.RequiredNumberError) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202505/YieldGroupService.RequiredNumberError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.ApiError) ▼ [AdSenseAccountError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.AdSenseAccountError) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.ApiVersionError) [AssetError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.AssetError) [AudienceExtensionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.AudienceExtensionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.CommonError) [CreativeAssetMacroError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.CreativeAssetMacroError) [CreativeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.CreativeError) [CreativePreviewError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.CreativePreviewError) [CreativeSetError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.CreativeSetError) [CreativeTemplateError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.CreativeTemplateError) [CreativeTemplateOperationError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.CreativeTemplateOperationError) [CrossSellError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.CrossSellError) [CustomCreativeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.CustomCreativeError) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.CustomFieldValueError) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.EntityChildrenLimitReachedError "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.FeatureError) [FileError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.FileError) [HtmlBundleProcessorError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.HtmlBundleProcessorError) [ImageError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.ImageError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.InternalApiError) [InvalidPhoneNumberError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.InvalidPhoneNumberError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.InvalidUrlError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.LabelEntityAssociationError) [LineItemCreativeAssociation...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.LineItemCreativeAssociationError "LineItemCreativeAssociationError") [LineItemCreativeAssociation...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.LineItemCreativeAssociationOperationError "LineItemCreativeAssociationOperationError") [LineItemError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.LineItemError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.NullError) [OrderError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.OrderError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.RangeError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.RequiredError) **RequiredNumberError** [RequiredSizeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.RequiredSizeError) [RichMediaStudioCreativeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.RichMediaStudioCreativeError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.ServerError) [SetTopBoxCreativeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.SetTopBoxCreativeError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.StringLengthError) [SwiffyConversionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.SwiffyConversionError) [TemplateInstantiatedCreativ...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.TemplateInstantiatedCreativeError "TemplateInstantiatedCreativeError") [TranscodingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.TranscodingError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.UniqueError)

A list of all errors to be used in conjunction with required number
validators.

*** ** * ** ***

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/LineItemCreativeAssociationService.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. |
| **`RequiredNumberError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.RequiredNumberError.Reason ` *** ** * ** *** **Enumerations** `REQUIRED` : `TOO_LARGE` : `TOO_SMALL` : `TOO_LARGE_WITH_DETAILS` : `TOO_SMALL_WITH_DETAILS` : `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |