type ApiException (v202411)

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

  • ApiException includes an inherited message field for error messages and an errors field that lists various specific ApiError types.

  • The errors field details many possible issues including authentication, permission, quota, and various syntax or format errors.

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. CollectionSizeError
    4. CommonError
    5. CreativeWrapperError
    6. FeatureError
    7. InternalApiError
    8. LabelError
    9. NotNullError
    10. NullError
    11. ParseError
    12. PermissionError
    13. PublisherQueryLanguageConte...
    14. PublisherQueryLanguageSynta...
    15. QuotaError
    16. RequiredCollectionError
    17. RequiredError
    18. ServerError
    19. StatementError
    20. StringFormatError
    21. StringLengthError
    22. TypeError
    23. UniqueError

List of errors.