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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThis page documents the \u003ccode\u003eRequiredNumberError\u003c/code\u003e object used by the CreativeSetService in the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRequiredNumberError\u003c/code\u003e is triggered by issues with numeric values not meeting specified requirements, like being too large or too small.\u003c/p\u003e\n"],["\u003cp\u003eThe error object inherits properties from \u003ccode\u003eApiError\u003c/code\u003e for providing context about the error.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the \u003ccode\u003ereason\u003c/code\u003e field within \u003ccode\u003eRequiredNumberError\u003c/code\u003e to understand the specific cause of the error.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this error is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],["The document outlines services and error types within an API, focusing on `RequiredNumberError`. Key services include `AdRuleService`, `CompanyService`, `CreativeService`, and others, managing various ad-related operations. The inheritance section lists numerous error types derived from `ApiError`, such as `AuthenticationError`, `CreativeError`, and `InternalApiError`. `RequiredNumberError` is detailed, including reasons like `REQUIRED`, `TOO_LARGE`, or `TOO_SMALL`. `ApiError` includes fields like `fieldPath`, `trigger` and `errorString`, it also has `fieldPathElements` of the type `FieldPathElement` .\n"],null,["**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.RequiredNumberError) [CompanyService](/ad-manager/api/reference/v202411/CompanyService.RequiredNumberError) [ContentService](/ad-manager/api/reference/v202411/ContentService.RequiredNumberError) [CreativeService](/ad-manager/api/reference/v202411/CreativeService.RequiredNumberError) **CreativeSetService** [CreativeTemplateService](/ad-manager/api/reference/v202411/CreativeTemplateService.RequiredNumberError) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.RequiredNumberError) [InventoryService](/ad-manager/api/reference/v202411/InventoryService.RequiredNumberError) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202411/LineItemCreativeAssociationService.RequiredNumberError) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.RequiredNumberError) [LineItemTemplateService](/ad-manager/api/reference/v202411/LineItemTemplateService.RequiredNumberError) [LiveStreamEventService](/ad-manager/api/reference/v202411/LiveStreamEventService.RequiredNumberError) [NetworkService](/ad-manager/api/reference/v202411/NetworkService.RequiredNumberError) [OrderService](/ad-manager/api/reference/v202411/OrderService.RequiredNumberError) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.RequiredNumberError) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.RequiredNumberError) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.RequiredNumberError) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.RequiredNumberError) **Inheritance** \n[ApiError](/ad-manager/api/reference/v202411/CreativeSetService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202411/CreativeSetService.ApiVersionError) [AssetError](/ad-manager/api/reference/v202411/CreativeSetService.AssetError) [AuthenticationError](/ad-manager/api/reference/v202411/CreativeSetService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202411/CreativeSetService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202411/CreativeSetService.CommonError) [CreativeAssetMacroError](/ad-manager/api/reference/v202411/CreativeSetService.CreativeAssetMacroError) [CreativeError](/ad-manager/api/reference/v202411/CreativeSetService.CreativeError) [CreativeSetError](/ad-manager/api/reference/v202411/CreativeSetService.CreativeSetError) [CreativeTemplateError](/ad-manager/api/reference/v202411/CreativeSetService.CreativeTemplateError) [CreativeTemplateOperationError](/ad-manager/api/reference/v202411/CreativeSetService.CreativeTemplateOperationError) [CustomCreativeError](/ad-manager/api/reference/v202411/CreativeSetService.CustomCreativeError) [CustomFieldValueError](/ad-manager/api/reference/v202411/CreativeSetService.CustomFieldValueError) [EntityLimitReachedError](/ad-manager/api/reference/v202411/CreativeSetService.EntityLimitReachedError) [FeatureError](/ad-manager/api/reference/v202411/CreativeSetService.FeatureError) [FileError](/ad-manager/api/reference/v202411/CreativeSetService.FileError) [HtmlBundleProcessorError](/ad-manager/api/reference/v202411/CreativeSetService.HtmlBundleProcessorError) [ImageError](/ad-manager/api/reference/v202411/CreativeSetService.ImageError) [InternalApiError](/ad-manager/api/reference/v202411/CreativeSetService.InternalApiError) [InvalidPhoneNumberError](/ad-manager/api/reference/v202411/CreativeSetService.InvalidPhoneNumberError) [InvalidUrlError](/ad-manager/api/reference/v202411/CreativeSetService.InvalidUrlError) [LabelEntityAssociationError](/ad-manager/api/reference/v202411/CreativeSetService.LabelEntityAssociationError) [NotNullError](/ad-manager/api/reference/v202411/CreativeSetService.NotNullError) [NullError](/ad-manager/api/reference/v202411/CreativeSetService.NullError) [ParseError](/ad-manager/api/reference/v202411/CreativeSetService.ParseError) [PermissionError](/ad-manager/api/reference/v202411/CreativeSetService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202411/CreativeSetService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202411/CreativeSetService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202411/CreativeSetService.QuotaError) [RangeError](/ad-manager/api/reference/v202411/CreativeSetService.RangeError) [RequiredCollectionError](/ad-manager/api/reference/v202411/CreativeSetService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202411/CreativeSetService.RequiredError) **RequiredNumberError** [RequiredSizeError](/ad-manager/api/reference/v202411/CreativeSetService.RequiredSizeError) [RichMediaStudioCreativeError](/ad-manager/api/reference/v202411/CreativeSetService.RichMediaStudioCreativeError) [ServerError](/ad-manager/api/reference/v202411/CreativeSetService.ServerError) [SetTopBoxCreativeError](/ad-manager/api/reference/v202411/CreativeSetService.SetTopBoxCreativeError) [StatementError](/ad-manager/api/reference/v202411/CreativeSetService.StatementError) [StringFormatError](/ad-manager/api/reference/v202411/CreativeSetService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202411/CreativeSetService.StringLengthError) [SwiffyConversionError](/ad-manager/api/reference/v202411/CreativeSetService.SwiffyConversionError) [TemplateInstantiatedCreativ...](/ad-manager/api/reference/v202411/CreativeSetService.TemplateInstantiatedCreativeError \"TemplateInstantiatedCreativeError\") [TranscodingError](/ad-manager/api/reference/v202411/CreativeSetService.TranscodingError) [TypeError](/ad-manager/api/reference/v202411/CreativeSetService.TypeError) [UniqueError](/ad-manager/api/reference/v202411/CreativeSetService.UniqueError)\n\nA list of all errors to be used in conjunction with required number\nvalidators.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ||\n|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| `fieldPath` | ` `xsd:`string` The OGNL field path to identify cause of error. |\n| `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202411/CreativeSetService.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)}. |\n| `trigger` | ` `xsd:`string` The data that caused the error. |\n| `errorString` | ` `xsd:`string` A simple string representation of the error and reason. |\n| **`RequiredNumberError`** ||\n| `reason` | ` `[RequiredNumberError.Reason](/ad-manager/api/reference/v202411/CreativeSetService.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. \u003cbr /\u003e |"]]