Page Summary
-
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
Field
ApplicationException
(inherited)ApiException
errors
-
ApiError []-
AdBreakMarkupError -
ApiVersionError -
AuthenticationError -
CollectionSizeError -
CommonError -
EntityLimitReachedError -
FeatureError -
InternalApiError -
InvalidUrlError -
LiveStreamEventActionError -
LiveStreamEventCdnSettingsE... -
LiveStreamEventConditioning... -
LiveStreamEventCustomAssetK... -
LiveStreamEventDateTimeError -
LiveStreamEventDvrWindowError -
LiveStreamEventPrerollSetti... -
LiveStreamEventSlateError -
NotNullError -
NullError -
ParseError -
PermissionError -
PublisherQueryLanguageConte... -
PublisherQueryLanguageSynta... -
QuotaError -
RangeError -
RequiredCollectionError -
RequiredError -
RequiredNumberError -
ServerError -
StatementError -
StringFormatError -
StringLengthError -
UniqueError -
VideoAdTagError
-
List of errors.

