type ApiException (v202502)

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

  • It inherits from ApplicationException and includes a message field for the error message.

  • The ApiException also contains an errors field which is a list of various types of ApiError objects.

Exception class for holding a list of service errors.


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

Field

ApplicationException (inherited)

message

xsd:string

Error message.

ApiException

errors

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

List of errors.