type ApiException (v202411)

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

  • It inherits from ApplicationException and includes a list of specific ApiError types.

  • The errors field contains an array of ApiError objects, which can be various specific error types related to different aspects of the service.

Exception class for holding a list of service errors.


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

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.