type ApiException (v202508)

  • The ApiException class holds a list of service errors and inherits from ApplicationException.

  • The ApiException contains an errors field which is a list of ApiError types, including specific errors related to LiveStreamEvents, authentication, quotas, and more.

  • The ApplicationException contains a message field that provides an error message.

Exception class for holding a list of service errors.


Namespace
https://www.google.com/apis/ads/publisher/v202508

Field

ApplicationException (inherited)

message

xsd:string

Error message.

ApiException

errors

  1. ApiError[]
    1. AdBreakMarkupError
    2. ApiVersionError
    3. AuthenticationError
    4. CollectionSizeError
    5. CommonError
    6. EntityLimitReachedError
    7. FeatureError
    8. InternalApiError
    9. InvalidUrlError
    10. LiveStreamEventActionError
    11. LiveStreamEventCdnSettingsE...
    12. LiveStreamEventConditioning...
    13. LiveStreamEventCustomAssetK...
    14. LiveStreamEventDateTimeError
    15. LiveStreamEventDvrWindowError
    16. LiveStreamEventPrerollSetti...
    17. LiveStreamEventSlateError
    18. NotNullError
    19. NullError
    20. ParseError
    21. PermissionError
    22. PublisherQueryLanguageConte...
    23. PublisherQueryLanguageSynta...
    24. QuotaError
    25. RangeError
    26. RequiredCollectionError
    27. RequiredError
    28. RequiredNumberError
    29. ServerError
    30. StatementError
    31. StringFormatError
    32. StringLengthError
    33. UniqueError
    34. VideoAdTagError

List of errors.