type ApiException (v202508)

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

  • It includes fields for a general error message inherited from ApplicationException and a list of specific error types within the ApiException field.

  • The specific errors cover a range of issues from API version and authentication errors to collection size, permission, and server errors.

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. FeatureError
    6. InternalApiError
    7. MobileApplicationActionError
    8. MobileApplicationError
    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. UniqueError

List of errors.