Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The ApiException class is used to hold a list of service errors that may occur during interactions with the Google Ad Manager API.
This class inherits from the ApplicationException class, which provides a base for handling application-level exceptions.
The ApiException class contains a field called errors, which is an array of ApiError objects that provide detailed information about each individual error encountered.
Each ApiError object may contain specific error details related to various aspects of the Ad Manager API, such as ad breaks, authentication, or live stream events.
Developers can use the information provided in the ApiException and its associated ApiError objects to diagnose and address issues encountered while working with the Ad Manager API.
[[["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."],[],["This document outlines various services within the Ad Manager API, including `AdRuleService`, `AdjustmentService`, and more, totaling over 40. For `LiveStreamEventService`, key actions involve creating, updating, and retrieving live stream events and slates. Specific functions include `createLiveStreamEvents()`, `updateSlates()`, `getLiveStreamEventsByStatement()`, etc. It also defines the `ApiException` class, which handles a comprehensive list of service errors like `AuthenticationError`, `QuotaError`, and `StatementError`, as well as it is inheritance `ApplicationException` class.\n"]]