type ApiException (v202508)

  • ApiException is an exception class used to hold a list of service errors.

  • It inherits from ApplicationException and includes a list of specific error types such as AuthenticationError, PermissionError, and ServerError.

  • The ApiException has a field named "errors" which is a list of various specific ApiError types.

  • The ApiException includes an inherited "message" field of type string for providing an error message.

Exception class for holding a list of service errors.


Namespace
https://www.google.com/apis/ads/publisher/v202508

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.