type ApiException (v202411)

  • The ApiException class is used to hold a list of service errors that may occur during interactions with the Google Ad Manager API.

  • This class inherits from the ApplicationException class, which provides a base for handling application-level exceptions.

  • The ApiException class contains a field called errors, which is an array of ApiError objects that provide detailed information about each individual error encountered.

  • Each ApiError object may contain specific error details related to various aspects of the Ad Manager API, such as ad breaks, authentication, or live stream events.

  • Developers can use the information provided in the ApiException and its associated ApiError objects to diagnose and address issues encountered while working with the Ad Manager API.

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.