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\u003eThis documentation details the \u003ccode\u003eServerError\u003c/code\u003e for the LabelService within the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eServerError\u003c/code\u003e arises from server-side issues during API operations.\u003c/p\u003e\n"],["\u003cp\u003eThis error includes information like the reason for the error (\u003ccode\u003ereason\u003c/code\u003e), field path (\u003ccode\u003efieldPath\u003c/code\u003e), and a descriptive error message (\u003ccode\u003eerrorString\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003ePotential reasons for a \u003ccode\u003eServerError\u003c/code\u003e can be an unexpected error, server overload, or an unknown issue.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize this information to diagnose and troubleshoot issues encountered while using the LabelService.\u003c/p\u003e\n"]]],["The content lists numerous services within an ad management system, including `AdRuleService`, `AdjustmentService`, `AudienceSegmentService`, and many more. These services handle various aspects of ad management, such as content, creatives, forecasting, and targeting. It also details the `ServerError` class and associated errors like `ApiError`, `InternalApiError`, and others, which are used to communicate problems within these services. `ServerError` also has reasons, `SERVER_ERROR` and `SERVER_BUSY` indicating server related issues.\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** [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](/ad-manager/api/reference/v202408/ReportService.ServerError) [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/LabelService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202408/LabelService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202408/LabelService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202408/LabelService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202408/LabelService.CommonError) [CreativeWrapperError](/ad-manager/api/reference/v202408/LabelService.CreativeWrapperError) [FeatureError](/ad-manager/api/reference/v202408/LabelService.FeatureError) [InternalApiError](/ad-manager/api/reference/v202408/LabelService.InternalApiError) [LabelError](/ad-manager/api/reference/v202408/LabelService.LabelError) [NotNullError](/ad-manager/api/reference/v202408/LabelService.NotNullError) [NullError](/ad-manager/api/reference/v202408/LabelService.NullError) [ParseError](/ad-manager/api/reference/v202408/LabelService.ParseError) [PermissionError](/ad-manager/api/reference/v202408/LabelService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202408/LabelService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202408/LabelService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202408/LabelService.QuotaError) [RequiredCollectionError](/ad-manager/api/reference/v202408/LabelService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202408/LabelService.RequiredError) **ServerError** [StatementError](/ad-manager/api/reference/v202408/LabelService.StatementError) [StringFormatError](/ad-manager/api/reference/v202408/LabelService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202408/LabelService.StringLengthError) [TypeError](/ad-manager/api/reference/v202408/LabelService.TypeError) [UniqueError](/ad-manager/api/reference/v202408/LabelService.UniqueError)\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/LabelService.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/LabelService.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 |"]]