type ApiException (v202411)

  • The ApiException is an exception class specifically designed for handling a list of service errors encountered in Google Ad Manager API.

  • It inherits properties from the ApplicationException class, including the message field that contains the error message.

  • ApiException includes an errors field which provides a list of specific errors that have occured, these could be various types like ApiError, AuthenticationError, QuotaError, etc., giving insights into the reason of failure.

  • It is used in the context of the MobileApplicationService in this specific documentation.

  • The namespace for this exception is https://www.google.com/apis/ads/publisher/v202411, identifying the context in which this class is used within the API's framework.

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. MobileApplicationActionError
    8. MobileApplicationError
    9. NotNullError
    10. NullError
    11. ParseError
    12. PermissionError
    13. PublisherQueryLanguageConte...
    14. PublisherQueryLanguageSynta...
    15. QuotaError
    16. RequiredCollectionError
    17. RequiredError
    18. ServerError
    19. StatementError
    20. StringFormatError
    21. StringLengthError
    22. UniqueError

List of errors.