type ApiException (v202505)

  • 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 under the 'errors' field.

  • The 'message' field, inherited from ApplicationException, provides a general error message.

  • The 'errors' field can contain various error types such as authentication errors, internal errors, and permission errors.

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

List of errors.