type RequestError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Encapsulates the generic errors thrown when there's an error with user
request.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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.
|
RequestError
|
reason
|
RequestError.Reason
Enumerations
-
UNKNOWN
- Error reason is unknown.
-
INVALID_INPUT
- Invalid input.
-
UNSUPPORTED_VERSION
- The api version in the request has been discontinued. Please update
to the new AdWords 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\u003eThe \u003ccode\u003eContentBundleService\u003c/code\u003e is a NetworkService that handles content bundle operations and inherits from ApiError.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRequestError\u003c/code\u003e encapsulates generic errors encountered during user requests within the \u003ccode\u003eContentBundleService\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRequestError\u003c/code\u003e object provides details about the error, including the reason, field path, and trigger.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRequestError.Reason\u003c/code\u003e is an enumeration outlining potential error causes such as invalid input, unsupported API versions, or unknown issues.\u003c/p\u003e\n"]]],["The `ContentBundleService` inherits from `NetworkService` and handles various errors through `ApiError`. It lists numerous specific error types, including `ApiVersionError`, `AuthenticationError`, `QuotaError`, and `RequestError`. The `ApiError` class contains fields like `fieldPath`, `fieldPathElements`, `trigger`, and `errorString`. The `RequestError` specifies `reason` which can be `UNKNOWN`, `INVALID_INPUT`, or `UNSUPPORTED_VERSION`, denoting problems with user requests. The service operates within a defined namespace and is part of the API system.\n"],null,["# type RequestError (v202411)\n\n**Service** \n**ContentBundleService** [NetworkService](/ad-manager/api/reference/v202411/NetworkService.RequestError) **Inheritance** \n[ApiError](/ad-manager/api/reference/v202411/ContentBundleService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202411/ContentBundleService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202411/ContentBundleService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202411/ContentBundleService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202411/ContentBundleService.CommonError) [ContentFilterError](/ad-manager/api/reference/v202411/ContentBundleService.ContentFilterError) [FeatureError](/ad-manager/api/reference/v202411/ContentBundleService.FeatureError) [InternalApiError](/ad-manager/api/reference/v202411/ContentBundleService.InternalApiError) [NotNullError](/ad-manager/api/reference/v202411/ContentBundleService.NotNullError) [ParseError](/ad-manager/api/reference/v202411/ContentBundleService.ParseError) [PermissionError](/ad-manager/api/reference/v202411/ContentBundleService.PermissionError) [PlacementError](/ad-manager/api/reference/v202411/ContentBundleService.PlacementError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202411/ContentBundleService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202411/ContentBundleService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202411/ContentBundleService.QuotaError) **RequestError** [RequiredCollectionError](/ad-manager/api/reference/v202411/ContentBundleService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202411/ContentBundleService.RequiredError) [ServerError](/ad-manager/api/reference/v202411/ContentBundleService.ServerError) [StatementError](/ad-manager/api/reference/v202411/ContentBundleService.StatementError) [StringFormatError](/ad-manager/api/reference/v202411/ContentBundleService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202411/ContentBundleService.StringLengthError) [UniqueError](/ad-manager/api/reference/v202411/ContentBundleService.UniqueError)\n\nEncapsulates the generic errors thrown when there's an error with user\nrequest.\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/ContentBundleService.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| **`RequestError`** ||\n| ### `reason` | ` `[RequestError.Reason](/ad-manager/api/reference/v202411/ContentBundleService.RequestError.Reason)` ` *** ** * ** *** **Enumerations** `UNKNOWN` : Error reason is unknown. `INVALID_INPUT` : Invalid input. `UNSUPPORTED_VERSION` : The api version in the request has been discontinued. Please update to the new AdWords API version. \u003cbr /\u003e |"]]