type ApiException (v202411)

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

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

  • ApiException includes a field called errors that contains a list of specific error objects, each providing details about the encountered error.

  • These error objects can belong to various types like ApiError, AuthenticationError, PermissionError, etc., each indicating a different category of error.

  • The namespace for this class is https://www.google.com/apis/ads/publisher/v202411, which identifies the relevant API version and context for the exception.

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. EntityLimitReachedError
    6. FeatureError
    7. InternalApiError
    8. NotNullError
    9. NullError
    10. OrderError
    11. ParseError
    12. PermissionError
    13. PublisherQueryLanguageConte...
    14. PublisherQueryLanguageSynta...
    15. QuotaError
    16. RequiredCollectionError
    17. RequiredError
    18. ServerError
    19. StatementError
    20. StringFormatError
    21. StringLengthError
    22. TeamError
    23. TypeError
    24. UniqueError

List of errors.