Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The ApiException is an exception class that holds a list of service errors encountered during API calls.
This exception inherits from ApplicationException and is specific to the Google Ad Manager API.
It provides a detailed error message and a list of specific errors, identified by their error types.
The errors field within ApiException can contain a variety of specific error objects, such as ApiError, ApiVersionError, AssetError, etc.each providing specific information about the encountered issue.
Developers can use the error information within the ApiException to diagnose and address issues that arise during interactions with the Google 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 the structure and error handling for various services within the Ad Manager API (v202411). It details numerous services like AdRuleService, AdjustmentService, and more. The core action is the use of these services, each represented by an `ApiException` class. The `LineItemTemplateService` is highlighted as a key service. It lists `getLineItemTemplatesByStatement()` as a dependency. The `ApiException` includes an `errors` field that contains a comprehensive list of potential errors. An `ApplicationException` includes an error `message`.\n"]]