type ApiException (v202411)

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

  • It includes an inherited message field from ApplicationException for a general error message.

  • The ApiException has an errors field which is a list of specific error types.

Exception class for holding a list of service errors.


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

Field

ApplicationException (inherited)

message

xsd:string

Error message.

ApiException

errors

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

List of errors.