# type RequiredNumberError (v202511)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202511/AdRuleService.RequiredNumberError) [CompanyService](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.RequiredNumberError) [ContentService](https://developers.google.com/ad-manager/api/reference/v202511/ContentService.RequiredNumberError) [CreativeService](https://developers.google.com/ad-manager/api/reference/v202511/CreativeService.RequiredNumberError) [CreativeSetService](https://developers.google.com/ad-manager/api/reference/v202511/CreativeSetService.RequiredNumberError) [CreativeTemplateService](https://developers.google.com/ad-manager/api/reference/v202511/CreativeTemplateService.RequiredNumberError) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.RequiredNumberError) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202511/InventoryService.RequiredNumberError) [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202511/LineItemCreativeAssociationService.RequiredNumberError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202511/LineItemService.RequiredNumberError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202511/LineItemTemplateService.RequiredNumberError) [LiveStreamEventService](https://developers.google.com/ad-manager/api/reference/v202511/LiveStreamEventService.RequiredNumberError) **NetworkService** [OrderService](https://developers.google.com/ad-manager/api/reference/v202511/OrderService.RequiredNumberError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202511/ProposalLineItemService.RequiredNumberError) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202511/ProposalService.RequiredNumberError) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202511/PublisherQueryLanguageService.RequiredNumberError) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202511/YieldGroupService.RequiredNumberError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.ApiError) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.CommonError) [ExchangeSignupApiError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.ExchangeSignupApiError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.FeatureError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.InternalApiError) [InvalidEmailError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.InvalidEmailError) [InventoryClientApiError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.InventoryClientApiError) [LiveStreamEventSlateError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.LiveStreamEventSlateError) [McmError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.McmError) [NetworkError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.NetworkError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.NotNullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.PermissionError) [PrecisionError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.PrecisionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.QuotaError) [RequestError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.RequestError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.RequiredError) **RequiredNumberError** [ServerError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.ServerError) [SetTopBoxCreativeError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.SetTopBoxCreativeError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.StringLengthError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.UniqueError) [UrlError](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.UrlError)

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

*** ** * ** ***

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

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