Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
ApiException is an exception class within the Google Ad Manager API that is used for holding a list of service errors encountered during API calls.
This exception class inherits from ApplicationException and provides a list of errors through its errors field.
The errors field can contain a variety of specific error types, each providing details about a particular issue encountered, such as authentication failures, invalid inputs, or server-side problems.
Developers using the Ad Manager API should handle ApiException to gracefully manage and address errors that may occur during interactions with the service.
[[["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 system, including `AdRuleService`, `AdjustmentService`, and `OrderService`, among others. The `OrderService` allows actions like `createOrders()`, `getOrdersByStatement()`, `performOrderAction()`, and `updateOrders()`. An `ApiException` class is defined, designed to handle service errors, containing a list of error types like `ApiError`, `AuthenticationError`, and `QuotaError`. This `ApiException` inherits from `ApplicationException`, which includes a message field.\n"]]