type ApiException (v202411)

  • ApiException is an exception class used for holding a list of service errors that may occur during API operations.

  • ApiException inherits from ApplicationException and includes a list of potential errors, including ApiError, AuthenticationError, PermissionError, and others.

  • The 'errors' field contains a list of specific error objects, each providing details about a particular issue encountered.

  • The namespace for ApiException is 'https://www.google.com/apis/ads/publisher/v202411', indicating its association with the Google Ad Manager API.

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. CustomFieldValueError
    6. EntityLimitReachedError
    7. FeatureError
    8. InternalApiError
    9. InvalidEmailError
    10. NotNullError
    11. ParseError
    12. PermissionError
    13. PublisherQueryLanguageConte...
    14. PublisherQueryLanguageSynta...
    15. QuotaError
    16. RequiredCollectionError
    17. RequiredError
    18. ServerError
    19. StatementError
    20. StringFormatError
    21. StringLengthError
    22. TeamError
    23. TimeZoneError
    24. TokenError
    25. TypeError
    26. UniqueError

List of errors.