type ApiException (v202411)

  • The ApiException is an exception class that holds a list of service errors encountered during API calls.

  • This exception inherits from ApplicationException and provides details about the error through its errors and message fields.

  • Errors can range from authentication issues to data validation failures, each represented by a specific error type.

  • The errors field contains a list of ApiError objects, each providing information about a particular error.

  • ApiException is part of the Google Ad Manager API and uses the namespace https://www.google.com/apis/ads/publisher/v202411.

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. 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.