# type ApiException (v202602)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.ApiException) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202602/AdjustmentService.ApiException) [AdsTxtService](https://developers.google.com/ad-manager/api/reference/v202602/AdsTxtService.ApiException) [AudienceSegmentService](https://developers.google.com/ad-manager/api/reference/v202602/AudienceSegmentService.ApiException) [CdnConfigurationService](https://developers.google.com/ad-manager/api/reference/v202602/CdnConfigurationService.ApiException) [CmsMetadataService](https://developers.google.com/ad-manager/api/reference/v202602/CmsMetadataService.ApiException) [CompanyService](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.ApiException) [ContactService](https://developers.google.com/ad-manager/api/reference/v202602/ContactService.ApiException) [ContentBundleService](https://developers.google.com/ad-manager/api/reference/v202602/ContentBundleService.ApiException) [ContentService](https://developers.google.com/ad-manager/api/reference/v202602/ContentService.ApiException) [CreativeService](https://developers.google.com/ad-manager/api/reference/v202602/CreativeService.ApiException) [CreativeSetService](https://developers.google.com/ad-manager/api/reference/v202602/CreativeSetService.ApiException) [CreativeTemplateService](https://developers.google.com/ad-manager/api/reference/v202602/CreativeTemplateService.ApiException) [CreativeWrapperService](https://developers.google.com/ad-manager/api/reference/v202602/CreativeWrapperService.ApiException) [CustomFieldService](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.ApiException) [CustomTargetingService](https://developers.google.com/ad-manager/api/reference/v202602/CustomTargetingService.ApiException) [DaiAuthenticationKeyService](https://developers.google.com/ad-manager/api/reference/v202602/DaiAuthenticationKeyService.ApiException) [DaiEncodingProfileService](https://developers.google.com/ad-manager/api/reference/v202602/DaiEncodingProfileService.ApiException) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.ApiException) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.ApiException) [LabelService](https://developers.google.com/ad-manager/api/reference/v202602/LabelService.ApiException) [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemCreativeAssociationService.ApiException) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.ApiException) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemTemplateService.ApiException) [LiveStreamEventService](https://developers.google.com/ad-manager/api/reference/v202602/LiveStreamEventService.ApiException) [MobileApplicationService](https://developers.google.com/ad-manager/api/reference/v202602/MobileApplicationService.ApiException) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202602/NativeStyleService.ApiException) [NetworkService](https://developers.google.com/ad-manager/api/reference/v202602/NetworkService.ApiException) [OrderService](https://developers.google.com/ad-manager/api/reference/v202602/OrderService.ApiException) [PlacementService](https://developers.google.com/ad-manager/api/reference/v202602/PlacementService.ApiException) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ApiException) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.ApiException) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202602/PublisherQueryLanguageService.ApiException) [ReportService](https://developers.google.com/ad-manager/api/reference/v202602/ReportService.ApiException) [SegmentPopulationService](https://developers.google.com/ad-manager/api/reference/v202602/SegmentPopulationService.ApiException) [SiteService](https://developers.google.com/ad-manager/api/reference/v202602/SiteService.ApiException) [StreamActivityMonitorService](https://developers.google.com/ad-manager/api/reference/v202602/StreamActivityMonitorService.ApiException) [SuggestedAdUnitService](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.ApiException) **TargetingPresetService** [TeamService](https://developers.google.com/ad-manager/api/reference/v202602/TeamService.ApiException) [UserService](https://developers.google.com/ad-manager/api/reference/v202602/UserService.ApiException) [UserTeamAssociationService](https://developers.google.com/ad-manager/api/reference/v202602/UserTeamAssociationService.ApiException) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202602/YieldGroupService.ApiException) **Dependencies** [createTargetingPresets()](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService#createTargetingPresets) [getTargetingPresetsByStatem...](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService#getTargetingPresetsByStatement "getTargetingPresetsByStatement()") [performTargetingPresetAction()](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService#performTargetingPresetAction) [updateTargetingPresets()](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService#updateTargetingPresets) ▼ **ApiException** **Inheritance** [ApplicationException](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.ApplicationException) ▼ **ApiException**

Exception class for holding a list of service errors.

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApplicationException` (inherited)** ||
| ### `message` | ` xsd:string` Error message. |
| **`ApiException`** ||
| ### `errors` | 1. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.ApiError[]` 1. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.ApiVersionError ` 2. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.AuthenticationError ` 3. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.CollectionSizeError ` 4. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.CommonError ` 5. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.CustomTargetingError ` 6. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.DateTimeRangeTargetingError ` 7. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.DayPartTargetingError ` 8. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.EntityChildrenLimitReachedError ` 9. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.EntityLimitReachedError ` 10. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.FeatureError ` 11. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.GenericTargetingError ` 12. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.GeoTargetingError ` 13. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.InternalApiError ` 14. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.InventoryTargetingError ` 15. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.MobileApplicationTargetingError ` 16. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.NotNullError ` 17. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.ParseError ` 18. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.PermissionError ` 19. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.PublisherProvidedSignalsTargetingError ` 20. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.PublisherQueryLanguageContextError ` 21. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.PublisherQueryLanguageSyntaxError ` 22. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.QuotaError ` 23. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.RequestPlatformTargetingError ` 24. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.RequiredCollectionError ` 25. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.RequiredError ` 26. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.ServerError ` 27. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.StatementError ` 28. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.StringFormatError ` 29. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.StringLengthError ` 30. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.TechnologyTargetingError ` 31. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.UniqueError ` 32. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.UserDomainTargetingError ` 33. ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.VideoPositionTargetingError ` <br /> List of errors. |