type ApiException (v202411)

  • ApiException is an exception class used for holding a list of service errors.

  • It inherits from ApplicationException and provides a list of errors through its errors field.

  • The errors field can contain a variety of specific error types, ranging from AuthenticationError to UniqueError.

  • Developers can use the information in the errors field to troubleshoot and resolve issues encountered when interacting with the ContactService.

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

List of errors.