type ApiException (v202502)

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

  • It inherits from ApplicationException and includes a list of various specific error types, such as authentication, permission, and range errors.

  • The ApiException class contains a field named errors which is a list of different API error types.

Exception class for holding a list of service errors.


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

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.