type ApiException (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
ApiException is an exception class used to hold a list of service errors.
It inherits from ApplicationException and includes a list of specific ApiErrors such as AuthenticationError, PermissionError, and various other service-related errors.
The ApiException contains a field named errors which is a list of different types of ApiError objects providing detailed error information.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The content details various services within an ad management platform, including AdRule, Adjustment, AdsTxt, AudienceSegment, and many others. Key actions for the InventoryService include creating, getting, performing actions on, and updating ad units. It also outlines the ApiException, which handles service errors and inherits from ApplicationException. The ApiException contains a list of potential errors, such as AdSenseAccountError, CollectionSizeError, InternalApiError, and QuotaError. These provide information on why an operation may fail.\n"]]