# abstract type ApiError (v202508)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.ApiError) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202508/AdjustmentService.ApiError) [AdsTxtService](https://developers.google.com/ad-manager/api/reference/v202508/AdsTxtService.ApiError) [AudienceSegmentService](https://developers.google.com/ad-manager/api/reference/v202508/AudienceSegmentService.ApiError) [CdnConfigurationService](https://developers.google.com/ad-manager/api/reference/v202508/CdnConfigurationService.ApiError) [CmsMetadataService](https://developers.google.com/ad-manager/api/reference/v202508/CmsMetadataService.ApiError) [CompanyService](https://developers.google.com/ad-manager/api/reference/v202508/CompanyService.ApiError) [ContactService](https://developers.google.com/ad-manager/api/reference/v202508/ContactService.ApiError) [ContentBundleService](https://developers.google.com/ad-manager/api/reference/v202508/ContentBundleService.ApiError) [ContentService](https://developers.google.com/ad-manager/api/reference/v202508/ContentService.ApiError) [CreativeService](https://developers.google.com/ad-manager/api/reference/v202508/CreativeService.ApiError) [CreativeSetService](https://developers.google.com/ad-manager/api/reference/v202508/CreativeSetService.ApiError) [CreativeTemplateService](https://developers.google.com/ad-manager/api/reference/v202508/CreativeTemplateService.ApiError) [CreativeWrapperService](https://developers.google.com/ad-manager/api/reference/v202508/CreativeWrapperService.ApiError) [CustomFieldService](https://developers.google.com/ad-manager/api/reference/v202508/CustomFieldService.ApiError) [CustomTargetingService](https://developers.google.com/ad-manager/api/reference/v202508/CustomTargetingService.ApiError) [DaiAuthenticationKeyService](https://developers.google.com/ad-manager/api/reference/v202508/DaiAuthenticationKeyService.ApiError) [DaiEncodingProfileService](https://developers.google.com/ad-manager/api/reference/v202508/DaiEncodingProfileService.ApiError) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.ApiError) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202508/InventoryService.ApiError) [LabelService](https://developers.google.com/ad-manager/api/reference/v202508/LabelService.ApiError) [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202508/LineItemCreativeAssociationService.ApiError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202508/LineItemService.ApiError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202508/LineItemTemplateService.ApiError) [LiveStreamEventService](https://developers.google.com/ad-manager/api/reference/v202508/LiveStreamEventService.ApiError) [MobileApplicationService](https://developers.google.com/ad-manager/api/reference/v202508/MobileApplicationService.ApiError) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202508/NativeStyleService.ApiError) [NetworkService](https://developers.google.com/ad-manager/api/reference/v202508/NetworkService.ApiError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202508/OrderService.ApiError) [PlacementService](https://developers.google.com/ad-manager/api/reference/v202508/PlacementService.ApiError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202508/ProposalLineItemService.ApiError) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202508/ProposalService.ApiError) **PublisherQueryLanguageService** [ReportService](https://developers.google.com/ad-manager/api/reference/v202508/ReportService.ApiError) [SegmentPopulationService](https://developers.google.com/ad-manager/api/reference/v202508/SegmentPopulationService.ApiError) [SiteService](https://developers.google.com/ad-manager/api/reference/v202508/SiteService.ApiError) [StreamActivityMonitorService](https://developers.google.com/ad-manager/api/reference/v202508/StreamActivityMonitorService.ApiError) [SuggestedAdUnitService](https://developers.google.com/ad-manager/api/reference/v202508/SuggestedAdUnitService.ApiError) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202508/TargetingPresetService.ApiError) [TeamService](https://developers.google.com/ad-manager/api/reference/v202508/TeamService.ApiError) [UserService](https://developers.google.com/ad-manager/api/reference/v202508/UserService.ApiError) [UserTeamAssociationService](https://developers.google.com/ad-manager/api/reference/v202508/UserTeamAssociationService.ApiError) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202508/YieldGroupService.ApiError) **Dependencies** [ApiException](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.ApiException) ▼ **ApiError** **Inheritance** **ApiError** ▼ [AdUnitCodeError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.AdUnitCodeError) [AdUnitHierarchyError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.AdUnitHierarchyError) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.ApiVersionError) [AudienceSegmentError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.AudienceSegmentError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.CommonError) [CreativeError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.CreativeError) [DealError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.DealError) [ExchangeRateError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.ExchangeRateError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.FeatureError) [FileError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.FileError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.InternalApiError) [InvalidEmailError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.InvalidEmailError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.InvalidUrlError) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.InventoryTargetingError) [InventoryUnitError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.InventoryUnitError) [LineItemFlightDateError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.LineItemFlightDateError) [LineItemOperationError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.LineItemOperationError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.NullError) [OrderActionError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.OrderActionError) [OrderError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.OrderError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.RangeError) [RegExError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.RegExError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.RequiredNumberError) [RequiredSizeError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.RequiredSizeError) [ReservationDetailsError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.ReservationDetailsError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.StringLengthError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.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/v202508`

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