type ApiException (v202508)

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

  • It inherits from ApplicationException, which includes a "message" field for the error message.

  • ApiException itself contains an "errors" field, which is a list of various specific ApiError types.

  • The "errors" field can contain multiple types of errors related to API version, authentication, collection size, common issues, features, internal problems, invalid input, inventory, live stream events, MCM, network issues, null values, parsing, permissions, precision, publisher query language, quotas, requests, required values, server issues, creative types, statements, string formatting and length, type mismatches, uniqueness constraints, and URL issues.

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. ApiVersionError
    2. AuthenticationError
    3. CollectionSizeError
    4. CommonError
    5. ExchangeSignupApiError
    6. FeatureError
    7. InternalApiError
    8. InvalidEmailError
    9. InventoryClientApiError
    10. LiveStreamEventSlateError
    11. McmError
    12. NetworkError
    13. NotNullError
    14. ParseError
    15. PermissionError
    16. PrecisionError
    17. PublisherQueryLanguageConte...
    18. PublisherQueryLanguageSynta...
    19. QuotaError
    20. RequestError
    21. RequiredCollectionError
    22. RequiredError
    23. RequiredNumberError
    24. ServerError
    25. SetTopBoxCreativeError
    26. StatementError
    27. StringFormatError
    28. StringLengthError
    29. TypeError
    30. UniqueError
    31. UrlError

List of errors.