type ApiException (v202505)

  • ApiException is an exception class used to hold a list of service errors.

  • It inherits from ApplicationException, which includes a message field for the error message.

  • ApiException itself contains an errors field, which is a list of various specific API error types.

  • The errors field 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
Create a Mobile Website
View Site in Mobile | Classic
Share by: