type RangeError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
A list of all errors associated with the Range constraint.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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.
|
RangeError
|
reason
|
RangeError.Reason
Enumerations
-
TOO_HIGH
-
TOO_LOW
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eRangeError\u003c/code\u003e within the Google Ad Manager API, specifically for the CreativeSetService.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRangeError\u003c/code\u003e is triggered when a provided value falls outside the acceptable range for a specific field.\u003c/p\u003e\n"],["\u003cp\u003eThe error provides information about the problematic field (\u003ccode\u003efieldPath\u003c/code\u003e), the nature of the error (\u003ccode\u003ereason\u003c/code\u003e), and contextual details.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this information to identify and resolve data inconsistencies within their Ad Manager operations.\u003c/p\u003e\n"],["\u003cp\u003ePossible reasons for a \u003ccode\u003eRangeError\u003c/code\u003e include values that are too high (\u003ccode\u003eTOO_HIGH\u003c/code\u003e) or too low (\u003ccode\u003eTOO_LOW\u003c/code\u003e).\u003c/p\u003e\n"]]],["The content details various services within an ad management system, including CmsMetadataService, CreativeService, and others, each with associated error types. It outlines an error inheritance structure, with `ApiError` as a base and `RangeError` being one of the errors. `RangeError` indicates an out-of-bounds value with `reason` enumerations: `TOO_HIGH`, `TOO_LOW`, and `UNKNOWN`. Error fields like `fieldPath`, `trigger` and `errorString` are described.\n"],null,["# type RangeError (v202408)\n\n**Service** \n[CmsMetadataService](/ad-manager/api/reference/v202408/CmsMetadataService.RangeError) [CreativeService](/ad-manager/api/reference/v202408/CreativeService.RangeError) **CreativeSetService** [CreativeTemplateService](/ad-manager/api/reference/v202408/CreativeTemplateService.RangeError) [DaiEncodingProfileService](/ad-manager/api/reference/v202408/DaiEncodingProfileService.RangeError) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.RangeError) [InventoryService](/ad-manager/api/reference/v202408/InventoryService.RangeError) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202408/LineItemCreativeAssociationService.RangeError) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.RangeError) [LineItemTemplateService](/ad-manager/api/reference/v202408/LineItemTemplateService.RangeError) [LiveStreamEventService](/ad-manager/api/reference/v202408/LiveStreamEventService.RangeError) [OrderService](/ad-manager/api/reference/v202408/OrderService.RangeError) [PlacementService](/ad-manager/api/reference/v202408/PlacementService.RangeError) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.RangeError) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.RangeError) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.RangeError) **Inheritance** \n[ApiError](/ad-manager/api/reference/v202408/CreativeSetService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202408/CreativeSetService.ApiVersionError) [AssetError](/ad-manager/api/reference/v202408/CreativeSetService.AssetError) [AuthenticationError](/ad-manager/api/reference/v202408/CreativeSetService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202408/CreativeSetService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202408/CreativeSetService.CommonError) [CreativeAssetMacroError](/ad-manager/api/reference/v202408/CreativeSetService.CreativeAssetMacroError) [CreativeError](/ad-manager/api/reference/v202408/CreativeSetService.CreativeError) [CreativeSetError](/ad-manager/api/reference/v202408/CreativeSetService.CreativeSetError) [CreativeTemplateError](/ad-manager/api/reference/v202408/CreativeSetService.CreativeTemplateError) [CreativeTemplateOperationError](/ad-manager/api/reference/v202408/CreativeSetService.CreativeTemplateOperationError) [CustomCreativeError](/ad-manager/api/reference/v202408/CreativeSetService.CustomCreativeError) [CustomFieldValueError](/ad-manager/api/reference/v202408/CreativeSetService.CustomFieldValueError) [EntityLimitReachedError](/ad-manager/api/reference/v202408/CreativeSetService.EntityLimitReachedError) [FeatureError](/ad-manager/api/reference/v202408/CreativeSetService.FeatureError) [FileError](/ad-manager/api/reference/v202408/CreativeSetService.FileError) [HtmlBundleProcessorError](/ad-manager/api/reference/v202408/CreativeSetService.HtmlBundleProcessorError) [ImageError](/ad-manager/api/reference/v202408/CreativeSetService.ImageError) [InternalApiError](/ad-manager/api/reference/v202408/CreativeSetService.InternalApiError) [InvalidPhoneNumberError](/ad-manager/api/reference/v202408/CreativeSetService.InvalidPhoneNumberError) [InvalidUrlError](/ad-manager/api/reference/v202408/CreativeSetService.InvalidUrlError) [LabelEntityAssociationError](/ad-manager/api/reference/v202408/CreativeSetService.LabelEntityAssociationError) [NotNullError](/ad-manager/api/reference/v202408/CreativeSetService.NotNullError) [NullError](/ad-manager/api/reference/v202408/CreativeSetService.NullError) [ParseError](/ad-manager/api/reference/v202408/CreativeSetService.ParseError) [PermissionError](/ad-manager/api/reference/v202408/CreativeSetService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202408/CreativeSetService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202408/CreativeSetService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202408/CreativeSetService.QuotaError) **RangeError** [RequiredCollectionError](/ad-manager/api/reference/v202408/CreativeSetService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202408/CreativeSetService.RequiredError) [RequiredNumberError](/ad-manager/api/reference/v202408/CreativeSetService.RequiredNumberError) [RequiredSizeError](/ad-manager/api/reference/v202408/CreativeSetService.RequiredSizeError) [RichMediaStudioCreativeError](/ad-manager/api/reference/v202408/CreativeSetService.RichMediaStudioCreativeError) [ServerError](/ad-manager/api/reference/v202408/CreativeSetService.ServerError) [SetTopBoxCreativeError](/ad-manager/api/reference/v202408/CreativeSetService.SetTopBoxCreativeError) [StatementError](/ad-manager/api/reference/v202408/CreativeSetService.StatementError) [StringFormatError](/ad-manager/api/reference/v202408/CreativeSetService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202408/CreativeSetService.StringLengthError) [SwiffyConversionError](/ad-manager/api/reference/v202408/CreativeSetService.SwiffyConversionError) [TemplateInstantiatedCreativ...](/ad-manager/api/reference/v202408/CreativeSetService.TemplateInstantiatedCreativeError \"TemplateInstantiatedCreativeError\") [TranscodingError](/ad-manager/api/reference/v202408/CreativeSetService.TranscodingError) [TypeError](/ad-manager/api/reference/v202408/CreativeSetService.TypeError) [UniqueError](/ad-manager/api/reference/v202408/CreativeSetService.UniqueError)\n\nA list of all errors associated with the Range constraint.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\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/v202408/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| **`RangeError`** ||\n| ### `reason` | ` `[RangeError.Reason](/ad-manager/api/reference/v202408/CreativeSetService.RangeError.Reason)` ` *** ** * ** *** **Enumerations** `TOO_HIGH` : `TOO_LOW` : `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |"]]