type ApiException (v202508)

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

  • It inherits from ApplicationException and includes a list of specific ApiErrors.

  • ApiException can contain various error types such as AuthenticationError, PermissionError, and ServerError.

Exception class for holding a list of service errors.


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

Field

ApplicationException (inherited)

message

xsd:string

Error message.

ApiException

errors

  1. ApiError[]
    1. ApiVersionError
    2. AuthenticationError
    3. CollectionSizeError
    4. CommonError
    5. DaiEncodingProfileAdMatchin...
    6. DaiEncodingProfileContainer...
    7. DaiEncodingProfileNameError
    8. DaiEncodingProfileUpdateError
    9. DaiEncodingProfileVariantSe...
    10. EntityLimitReachedError
    11. FeatureError
    12. InternalApiError
    13. NotNullError
    14. NullError
    15. ParseError
    16. PermissionError
    17. PublisherQueryLanguageConte...
    18. PublisherQueryLanguageSynta...
    19. QuotaError
    20. RangeError
    21. RequiredCollectionError
    22. RequiredError
    23. ServerError
    24. StatementError
    25. StringFormatError
    26. StringLengthError
    27. UniqueError

List of errors.