AI-generated Key Takeaways
-
ApiException is an exception class used to hold a list of service errors.
-
It inherits from ApplicationException, which includes a
messagefield for the error message. -
ApiException itself contains an
errorsfield, which is a list of various specific API error types. -
The
errorsfield can contain a wide range of errors, including those related to ad breaks, API versioning, authentication, collection size, common issues, entity limits, features, internal API problems, invalid URLs, live stream events, null/not null values, parsing, permissions, publisher query language, quotas, ranges, required fields, server issues, statements, string formatting/length, uniqueness, and video ad tags.
Exception class for holding a list of service errors.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202505