# abstract type ApiError (v202505)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.ApiError) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202505/AdjustmentService.ApiError) [AdsTxtService](https://developers.google.com/ad-manager/api/reference/v202505/AdsTxtService.ApiError) [AudienceSegmentService](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.ApiError) [CdnConfigurationService](https://developers.google.com/ad-manager/api/reference/v202505/CdnConfigurationService.ApiError) [CmsMetadataService](https://developers.google.com/ad-manager/api/reference/v202505/CmsMetadataService.ApiError) [CompanyService](https://developers.google.com/ad-manager/api/reference/v202505/CompanyService.ApiError) [ContactService](https://developers.google.com/ad-manager/api/reference/v202505/ContactService.ApiError) [ContentBundleService](https://developers.google.com/ad-manager/api/reference/v202505/ContentBundleService.ApiError) [ContentService](https://developers.google.com/ad-manager/api/reference/v202505/ContentService.ApiError) [CreativeService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.ApiError) [CreativeSetService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.ApiError) [CreativeTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.ApiError) [CreativeWrapperService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeWrapperService.ApiError) [CustomFieldService](https://developers.google.com/ad-manager/api/reference/v202505/CustomFieldService.ApiError) [CustomTargetingService](https://developers.google.com/ad-manager/api/reference/v202505/CustomTargetingService.ApiError) [DaiAuthenticationKeyService](https://developers.google.com/ad-manager/api/reference/v202505/DaiAuthenticationKeyService.ApiError) [DaiEncodingProfileService](https://developers.google.com/ad-manager/api/reference/v202505/DaiEncodingProfileService.ApiError) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.ApiError) **InventoryService** [LabelService](https://developers.google.com/ad-manager/api/reference/v202505/LabelService.ApiError) [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.ApiError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.ApiError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.ApiError) [LiveStreamEventService](https://developers.google.com/ad-manager/api/reference/v202505/LiveStreamEventService.ApiError) [MobileApplicationService](https://developers.google.com/ad-manager/api/reference/v202505/MobileApplicationService.ApiError) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202505/NativeStyleService.ApiError) [NetworkService](https://developers.google.com/ad-manager/api/reference/v202505/NetworkService.ApiError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202505/OrderService.ApiError) [PlacementService](https://developers.google.com/ad-manager/api/reference/v202505/PlacementService.ApiError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202505/ProposalLineItemService.ApiError) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202505/ProposalService.ApiError) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.ApiError) [ReportService](https://developers.google.com/ad-manager/api/reference/v202505/ReportService.ApiError) [SegmentPopulationService](https://developers.google.com/ad-manager/api/reference/v202505/SegmentPopulationService.ApiError) [SiteService](https://developers.google.com/ad-manager/api/reference/v202505/SiteService.ApiError) [StreamActivityMonitorService](https://developers.google.com/ad-manager/api/reference/v202505/StreamActivityMonitorService.ApiError) [SuggestedAdUnitService](https://developers.google.com/ad-manager/api/reference/v202505/SuggestedAdUnitService.ApiError) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.ApiError) [TeamService](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.ApiError) [UserService](https://developers.google.com/ad-manager/api/reference/v202505/UserService.ApiError) [UserTeamAssociationService](https://developers.google.com/ad-manager/api/reference/v202505/UserTeamAssociationService.ApiError) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202505/YieldGroupService.ApiError) **Dependencies** [ApiException](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.ApiException) ▼ **ApiError** **Inheritance** **ApiError** ▼ [AdSenseAccountError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.AdSenseAccountError) [AdUnitCodeError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.AdUnitCodeError) [AdUnitHierarchyError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.AdUnitHierarchyError) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.CommonError) [CompanyError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.CompanyError) [CreativeWrapperError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.CreativeWrapperError) [CrossSellError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.CrossSellError) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.EntityChildrenLimitReachedError "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.FeatureError) [FrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.FrequencyCapError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.InternalApiError) [InvalidColorError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.InvalidColorError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.InvalidUrlError) [InventoryUnitError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.InventoryUnitError) [InventoryUnitRefreshRateError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.InventoryUnitRefreshRateError) [InventoryUnitSizesError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.InventoryUnitSizesError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.LabelEntityAssociationError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.NullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.RangeError) [RegExError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.RegExError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.RequiredNumberError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.StringLengthError) [TeamError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.TeamError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.UniqueError)

The API error base class that provides details about an error that occurred
while processing a service request.

The OGNL field path is provided for parsers to identify the request data
element that may have caused the error.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202505`

| ## Field ||
|---|---|
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.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. |