type ServerError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Errors related to the server.
- 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.
|
ServerError
|
reason
|
ServerError.Reason
Enumerations
-
SERVER_ERROR
- Indicates that an unexpected error occured.
-
SERVER_BUSY
- Indicates that the server is currently experiencing a high load. Please
wait and try your request again.
-
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\u003eThe \u003ccode\u003eServerError\u003c/code\u003e object represents errors related to the Google Ad Manager server.\u003c/p\u003e\n"],["\u003cp\u003eThis error can occur due to unexpected server issues or high server load.\u003c/p\u003e\n"],["\u003cp\u003eIt includes fields like \u003ccode\u003ereason\u003c/code\u003e, providing insight into the specific server error encountered, as well as inherited fields from \u003ccode\u003eApiError\u003c/code\u003e for more context.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ereason\u003c/code\u003e can have values like \u003ccode\u003eSERVER_ERROR\u003c/code\u003e, \u003ccode\u003eSERVER_BUSY\u003c/code\u003e or \u003ccode\u003eUNKNOWN\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should use this information to handle server errors gracefully and potentially retry requests.\u003c/p\u003e\n"]]],["The core content lists various services within the Ad Manager API (v202408), including AdRuleService, AdjustmentService, and ReportService, among many others. These services manage ad-related operations. Additionally, there are inherited `ApiError` types, detailed with fields like `fieldPath`, `trigger`, and `errorString`. `ServerError` is also defined, listing potential error reasons like `SERVER_ERROR`, `SERVER_BUSY`, and `UNKNOWN`. The namespace for this API is provided as `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type ServerError (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.ServerError) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.ServerError) [AdsTxtService](/ad-manager/api/reference/v202408/AdsTxtService.ServerError) [AudienceSegmentService](/ad-manager/api/reference/v202408/AudienceSegmentService.ServerError) [CdnConfigurationService](/ad-manager/api/reference/v202408/CdnConfigurationService.ServerError) [CmsMetadataService](/ad-manager/api/reference/v202408/CmsMetadataService.ServerError) [CompanyService](/ad-manager/api/reference/v202408/CompanyService.ServerError) [ContactService](/ad-manager/api/reference/v202408/ContactService.ServerError) [ContentBundleService](/ad-manager/api/reference/v202408/ContentBundleService.ServerError) [ContentService](/ad-manager/api/reference/v202408/ContentService.ServerError) [CreativeService](/ad-manager/api/reference/v202408/CreativeService.ServerError) [CreativeSetService](/ad-manager/api/reference/v202408/CreativeSetService.ServerError) [CreativeTemplateService](/ad-manager/api/reference/v202408/CreativeTemplateService.ServerError) [CreativeWrapperService](/ad-manager/api/reference/v202408/CreativeWrapperService.ServerError) [CustomFieldService](/ad-manager/api/reference/v202408/CustomFieldService.ServerError) [CustomTargetingService](/ad-manager/api/reference/v202408/CustomTargetingService.ServerError) [DaiAuthenticationKeyService](/ad-manager/api/reference/v202408/DaiAuthenticationKeyService.ServerError) [DaiEncodingProfileService](/ad-manager/api/reference/v202408/DaiEncodingProfileService.ServerError) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.ServerError) [InventoryService](/ad-manager/api/reference/v202408/InventoryService.ServerError) [LabelService](/ad-manager/api/reference/v202408/LabelService.ServerError) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202408/LineItemCreativeAssociationService.ServerError) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.ServerError) [LineItemTemplateService](/ad-manager/api/reference/v202408/LineItemTemplateService.ServerError) [LiveStreamEventService](/ad-manager/api/reference/v202408/LiveStreamEventService.ServerError) [MobileApplicationService](/ad-manager/api/reference/v202408/MobileApplicationService.ServerError) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.ServerError) [NetworkService](/ad-manager/api/reference/v202408/NetworkService.ServerError) [OrderService](/ad-manager/api/reference/v202408/OrderService.ServerError) [PlacementService](/ad-manager/api/reference/v202408/PlacementService.ServerError) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.ServerError) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.ServerError) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.ServerError) **ReportService** [SegmentPopulationService](/ad-manager/api/reference/v202408/SegmentPopulationService.ServerError) [SiteService](/ad-manager/api/reference/v202408/SiteService.ServerError) [StreamActivityMonitorService](/ad-manager/api/reference/v202408/StreamActivityMonitorService.ServerError) [SuggestedAdUnitService](/ad-manager/api/reference/v202408/SuggestedAdUnitService.ServerError) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.ServerError) [TeamService](/ad-manager/api/reference/v202408/TeamService.ServerError) [UserService](/ad-manager/api/reference/v202408/UserService.ServerError) [UserTeamAssociationService](/ad-manager/api/reference/v202408/UserTeamAssociationService.ServerError) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.ServerError) **Inheritance** \n[ApiError](/ad-manager/api/reference/v202408/ReportService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202408/ReportService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202408/ReportService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202408/ReportService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202408/ReportService.CommonError) [CurrencyCodeError](/ad-manager/api/reference/v202408/ReportService.CurrencyCodeError) [FeatureError](/ad-manager/api/reference/v202408/ReportService.FeatureError) [InternalApiError](/ad-manager/api/reference/v202408/ReportService.InternalApiError) [NotNullError](/ad-manager/api/reference/v202408/ReportService.NotNullError) [ParseError](/ad-manager/api/reference/v202408/ReportService.ParseError) [PermissionError](/ad-manager/api/reference/v202408/ReportService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202408/ReportService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202408/ReportService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202408/ReportService.QuotaError) [ReportError](/ad-manager/api/reference/v202408/ReportService.ReportError) [RequiredCollectionError](/ad-manager/api/reference/v202408/ReportService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202408/ReportService.RequiredError) **ServerError** [StatementError](/ad-manager/api/reference/v202408/ReportService.StatementError) [StringFormatError](/ad-manager/api/reference/v202408/ReportService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202408/ReportService.StringLengthError)\n\nErrors related to the server.\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/ReportService.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| **`ServerError`** ||\n| ### `reason` | ` `[ServerError.Reason](/ad-manager/api/reference/v202408/ReportService.ServerError.Reason)` ` *** ** * ** *** **Enumerations** `SERVER_ERROR` : Indicates that an unexpected error occured. `SERVER_BUSY` : Indicates that the server is currently experiencing a high load. Please wait and try your request again. `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |"]]