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 in Google Ad Manager's API, which indicates a value exceeding allowed limits.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRangeError\u003c/code\u003e inherits from \u003ccode\u003eApiError\u003c/code\u003e and provides specific information about the error, such as the problematic field and reason.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereason\u003c/code\u003e field categorizes the error as \u003ccode\u003eTOO_HIGH\u003c/code\u003e or \u003ccode\u003eTOO_LOW\u003c/code\u003e, helping identify the nature of the range violation.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the provided field path and error string for troubleshooting and resolving the error.\u003c/p\u003e\n"]]],["The document outlines services and error types within an API, focusing on ad management. Services include managing metadata, creatives, encoding profiles, forecasts, inventory, line items, orders, placements, and proposals. It details an inheritance hierarchy under `ApiError`, branching into numerous specific error types like `ApiVersionError`, `AuthenticationError`, and `RangeError`. `RangeError` specifies errors when values are out of bounds, with reasons like `TOO_HIGH` or `TOO_LOW`, and includes `fieldPath` information.\n"],null,["# type RangeError (v202408)\n\n**Service** \n[CmsMetadataService](/ad-manager/api/reference/v202408/CmsMetadataService.RangeError) **CreativeService** [CreativeSetService](/ad-manager/api/reference/v202408/CreativeSetService.RangeError) [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/CreativeService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202408/CreativeService.ApiVersionError) [AssetError](/ad-manager/api/reference/v202408/CreativeService.AssetError) [AuthenticationError](/ad-manager/api/reference/v202408/CreativeService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202408/CreativeService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202408/CreativeService.CommonError) [CreativeAssetMacroError](/ad-manager/api/reference/v202408/CreativeService.CreativeAssetMacroError) [CreativeError](/ad-manager/api/reference/v202408/CreativeService.CreativeError) [CreativeSetError](/ad-manager/api/reference/v202408/CreativeService.CreativeSetError) [CreativeTemplateError](/ad-manager/api/reference/v202408/CreativeService.CreativeTemplateError) [CreativeTemplateOperationError](/ad-manager/api/reference/v202408/CreativeService.CreativeTemplateOperationError) [CustomCreativeError](/ad-manager/api/reference/v202408/CreativeService.CustomCreativeError) [CustomFieldValueError](/ad-manager/api/reference/v202408/CreativeService.CustomFieldValueError) [EntityLimitReachedError](/ad-manager/api/reference/v202408/CreativeService.EntityLimitReachedError) [FeatureError](/ad-manager/api/reference/v202408/CreativeService.FeatureError) [FileError](/ad-manager/api/reference/v202408/CreativeService.FileError) [HtmlBundleProcessorError](/ad-manager/api/reference/v202408/CreativeService.HtmlBundleProcessorError) [ImageError](/ad-manager/api/reference/v202408/CreativeService.ImageError) [InternalApiError](/ad-manager/api/reference/v202408/CreativeService.InternalApiError) [InvalidPhoneNumberError](/ad-manager/api/reference/v202408/CreativeService.InvalidPhoneNumberError) [InvalidUrlError](/ad-manager/api/reference/v202408/CreativeService.InvalidUrlError) [LabelEntityAssociationError](/ad-manager/api/reference/v202408/CreativeService.LabelEntityAssociationError) [LineItemCreativeAssociation...](/ad-manager/api/reference/v202408/CreativeService.LineItemCreativeAssociationError \"LineItemCreativeAssociationError\") [NotNullError](/ad-manager/api/reference/v202408/CreativeService.NotNullError) [NullError](/ad-manager/api/reference/v202408/CreativeService.NullError) [ParseError](/ad-manager/api/reference/v202408/CreativeService.ParseError) [PermissionError](/ad-manager/api/reference/v202408/CreativeService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202408/CreativeService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202408/CreativeService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202408/CreativeService.QuotaError) **RangeError** [RequiredCollectionError](/ad-manager/api/reference/v202408/CreativeService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202408/CreativeService.RequiredError) [RequiredNumberError](/ad-manager/api/reference/v202408/CreativeService.RequiredNumberError) [RequiredSizeError](/ad-manager/api/reference/v202408/CreativeService.RequiredSizeError) [RichMediaStudioCreativeError](/ad-manager/api/reference/v202408/CreativeService.RichMediaStudioCreativeError) [ServerError](/ad-manager/api/reference/v202408/CreativeService.ServerError) [SetTopBoxCreativeError](/ad-manager/api/reference/v202408/CreativeService.SetTopBoxCreativeError) [StatementError](/ad-manager/api/reference/v202408/CreativeService.StatementError) [StringFormatError](/ad-manager/api/reference/v202408/CreativeService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202408/CreativeService.StringLengthError) [SwiffyConversionError](/ad-manager/api/reference/v202408/CreativeService.SwiffyConversionError) [TemplateInstantiatedCreativ...](/ad-manager/api/reference/v202408/CreativeService.TemplateInstantiatedCreativeError \"TemplateInstantiatedCreativeError\") [TranscodingError](/ad-manager/api/reference/v202408/CreativeService.TranscodingError) [TypeError](/ad-manager/api/reference/v202408/CreativeService.TypeError) [UniqueError](/ad-manager/api/reference/v202408/CreativeService.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/CreativeService.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/CreativeService.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 |"]]