type ApiException (v202502)

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

  • It inherits from ApplicationException and includes a list of various possible API errors.

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

  • The inherited ApplicationException includes a message field for the error message.

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

List of errors.