type ApiException (v202411)

  • ApiException is an exception class used for holding a list of service errors that may occur during API operations.

  • This class inherits from ApplicationException and provides a field named 'errors' to store specific error details.

  • The 'errors' field is an array that can contain various types of ApiError objects, each representing a different kind of service error.

  • The namespace for this exception class is '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. FeatureError
    6. InternalApiError
    7. InvalidUrlError
    8. NotNullError
    9. ParseError
    10. PermissionError
    11. PublisherQueryLanguageConte...
    12. PublisherQueryLanguageSynta...
    13. QuotaError
    14. RequiredCollectionError
    15. RequiredError
    16. RequiredNumberError
    17. ServerError
    18. StatementError
    19. StringFormatError
    20. StringLengthError
    21. TypeError

List of errors.