AI-generated Key Takeaways
-
ApiException is an exception class used to hold a list of service errors.
-
It inherits from ApplicationException, which includes a message field for error messages.
-
The ApiException specifically contains an errors field, which is a list of ApiError objects detailing various potential issues.
-
These potential errors include problems with ad units, API versions, authentication, collections, creatives, deals, exchange rates, features, files, internal API issues, invalid formats, inventory targeting, line items, null or required fields, orders, parsing, permissions, Publisher Query Language context and syntax, quotas, ranges, regular expressions, reservations, audience segments, servers, statements, strings, types, and uniqueness.
Exception class for holding a list of service errors.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202505