type ApiException (v202411)

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

  • It inherits from the ApplicationException class, which provides a basic framework for handling exceptions.

  • ApiException includes an errors field that contains a list of specific errors, represented by various error types like ApiError, AuthenticationError, CdnConfigurationError, etc.

  • The namespace for this class is https://www.google.com/apis/ads/publisher/v202411.

  • This exception provides details about errors encountered when working with the Google Ad Manager API, allowing developers to diagnose and address issues.

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. CdnConfigurationError
    4. CollectionSizeError
    5. CommonError
    6. FeatureError
    7. InternalApiError
    8. InvalidUrlError
    9. NotNullError
    10. ParseError
    11. PermissionError
    12. PublisherQueryLanguageConte...
    13. PublisherQueryLanguageSynta...
    14. QuotaError
    15. RequiredCollectionError
    16. RequiredError
    17. ServerError
    18. StatementError
    19. StringFormatError
    20. StringLengthError

List of errors.