type ApiException (v202411)

  • The ApiException is a class designed to contain a list of service errors encountered during API operations.

  • This exception class inherits from ApplicationException and includes an errors field containing a list of potential ApiError types.

  • The errors field can contain various error types, such as ApiVersionError, AuthenticationError, CollectionSizeError, and more, indicating specific issues encountered.

  • The ApiException class is defined within the https://www.google.com/apis/ads/publisher/v202411 namespace.

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

List of errors.