type ApiException (v202505)

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

  • It inherits from ApplicationException and contains a list of specific ApiError types.

  • The ApiException includes a message field inherited from ApplicationException to describe the error.

  • The errors field in ApiException provides a list of various error types that can occur.

Exception class for holding a list of service errors.


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

Field

ApplicationException (inherited)

message

xsd:string

Error message.

ApiException

errors

  1. ApiError[]
    1. ApiVersionError
    2. AuthenticationError
    3. CollectionSizeError
    4. CommonError
    5. ContentFilterError
    6. FeatureError
    7. InternalApiError
    8. NotNullError
    9. ParseError
    10. PermissionError
    11. PlacementError
    12. PublisherQueryLanguageConte...
    13. PublisherQueryLanguageSynta...
    14. QuotaError
    15. RequestError
    16. RequiredCollectionError
    17. RequiredError
    18. ServerError
    19. StatementError
    20. StringFormatError
    21. StringLengthError
    22. UniqueError

List of errors.