# type ApiException (v202602)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.ApiException.md.txt) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202602/AdjustmentService.ApiException.md.txt) [AdsTxtService](https://developers.google.com/ad-manager/api/reference/v202602/AdsTxtService.ApiException.md.txt) [AudienceSegmentService](https://developers.google.com/ad-manager/api/reference/v202602/AudienceSegmentService.ApiException.md.txt) [CdnConfigurationService](https://developers.google.com/ad-manager/api/reference/v202602/CdnConfigurationService.ApiException.md.txt) [CmsMetadataService](https://developers.google.com/ad-manager/api/reference/v202602/CmsMetadataService.ApiException.md.txt) [CompanyService](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.ApiException.md.txt) [ContactService](https://developers.google.com/ad-manager/api/reference/v202602/ContactService.ApiException.md.txt) [ContentBundleService](https://developers.google.com/ad-manager/api/reference/v202602/ContentBundleService.ApiException.md.txt) [ContentService](https://developers.google.com/ad-manager/api/reference/v202602/ContentService.ApiException.md.txt) [CreativeService](https://developers.google.com/ad-manager/api/reference/v202602/CreativeService.ApiException.md.txt) [CreativeSetService](https://developers.google.com/ad-manager/api/reference/v202602/CreativeSetService.ApiException.md.txt) [CreativeTemplateService](https://developers.google.com/ad-manager/api/reference/v202602/CreativeTemplateService.ApiException.md.txt) [CreativeWrapperService](https://developers.google.com/ad-manager/api/reference/v202602/CreativeWrapperService.ApiException.md.txt) [CustomFieldService](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.ApiException.md.txt) **CustomTargetingService** [DaiAuthenticationKeyService](https://developers.google.com/ad-manager/api/reference/v202602/DaiAuthenticationKeyService.ApiException.md.txt) [DaiEncodingProfileService](https://developers.google.com/ad-manager/api/reference/v202602/DaiEncodingProfileService.ApiException.md.txt) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.ApiException.md.txt) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.ApiException.md.txt) [LabelService](https://developers.google.com/ad-manager/api/reference/v202602/LabelService.ApiException.md.txt) [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemCreativeAssociationService.ApiException.md.txt) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.ApiException.md.txt) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemTemplateService.ApiException.md.txt) [LiveStreamEventService](https://developers.google.com/ad-manager/api/reference/v202602/LiveStreamEventService.ApiException.md.txt) [MobileApplicationService](https://developers.google.com/ad-manager/api/reference/v202602/MobileApplicationService.ApiException.md.txt) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202602/NativeStyleService.ApiException.md.txt) [NetworkService](https://developers.google.com/ad-manager/api/reference/v202602/NetworkService.ApiException.md.txt) [OrderService](https://developers.google.com/ad-manager/api/reference/v202602/OrderService.ApiException.md.txt) [PlacementService](https://developers.google.com/ad-manager/api/reference/v202602/PlacementService.ApiException.md.txt) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ApiException.md.txt) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.ApiException.md.txt) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202602/PublisherQueryLanguageService.ApiException.md.txt) [ReportService](https://developers.google.com/ad-manager/api/reference/v202602/ReportService.ApiException.md.txt) [SegmentPopulationService](https://developers.google.com/ad-manager/api/reference/v202602/SegmentPopulationService.ApiException.md.txt) [SiteService](https://developers.google.com/ad-manager/api/reference/v202602/SiteService.ApiException.md.txt) [StreamActivityMonitorService](https://developers.google.com/ad-manager/api/reference/v202602/StreamActivityMonitorService.ApiException.md.txt) [SuggestedAdUnitService](https://developers.google.com/ad-manager/api/reference/v202602/SuggestedAdUnitService.ApiException.md.txt) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.ApiException.md.txt) [TeamService](https://developers.google.com/ad-manager/api/reference/v202602/TeamService.ApiException.md.txt) [UserService](https://developers.google.com/ad-manager/api/reference/v202602/UserService.ApiException.md.txt) [UserTeamAssociationService](https://developers.google.com/ad-manager/api/reference/v202602/UserTeamAssociationService.ApiException.md.txt) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202602/YieldGroupService.ApiException.md.txt) **Dependencies** [createCustomTargetingKeys()](https://developers.google.com/ad-manager/api/reference/v202602/CustomTargetingService.md.txt#createCustomTargetingKeys) [createCustomTargetingValues()](https://developers.google.com/ad-manager/api/reference/v202602/CustomTargetingService.md.txt#createCustomTargetingValues) [getCustomTargetingKeysBySta...](https://developers.google.com/ad-manager/api/reference/v202602/CustomTargetingService.md.txt#getCustomTargetingKeysByStatement "getCustomTargetingKeysByStatement()") [getCustomTargetingValuesByS...](https://developers.google.com/ad-manager/api/reference/v202602/CustomTargetingService.md.txt#getCustomTargetingValuesByStatement "getCustomTargetingValuesByStatement()") [performCustomTargetingKeyAc...](https://developers.google.com/ad-manager/api/reference/v202602/CustomTargetingService.md.txt#performCustomTargetingKeyAction "performCustomTargetingKeyAction()") [performCustomTargetingValue...](https://developers.google.com/ad-manager/api/reference/v202602/CustomTargetingService.md.txt#performCustomTargetingValueAction "performCustomTargetingValueAction()") [updateCustomTargetingKeys()](https://developers.google.com/ad-manager/api/reference/v202602/CustomTargetingService.md.txt#updateCustomTargetingKeys) [updateCustomTargetingValues()](https://developers.google.com/ad-manager/api/reference/v202602/CustomTargetingService.md.txt#updateCustomTargetingValues) ▼ **ApiException** **Inheritance** [ApplicationException](https://developers.google.com/ad-manager/api/reference/v202602/CustomTargetingService.ApplicationException.md.txt) ▼ **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. ` ApiError[]` 1. ` ApiVersionError ` 2. ` AuthenticationError ` 3. ` CollectionSizeError ` 4. ` CommonError ` 5. ` CustomTargetingError ` 6. ` EntityChildrenLimitReachedE... ` 7. ` EntityLimitReachedError ` 8. ` FeatureError ` 9. ` InternalApiError ` 10. ` NotNullError ` 11. ` NullError ` 12. ` ParseError ` 13. ` PermissionError ` 14. ` PublisherQueryLanguageConte... ` 15. ` PublisherQueryLanguageSynta... ` 16. ` QuotaError ` 17. ` RequiredCollectionError ` 18. ` RequiredError ` 19. ` ServerError ` 20. ` StatementError ` 21. ` StringFormatError ` 22. ` StringLengthError ` 23. ` TypeError ` 24. ` UniqueError ` <br /> List of errors. |