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 ApiErrors.

  • ApiException contains a field for "errors" which lists various types of API errors that can occur.

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. 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.