type ApiException (v202411)

  • The ApiException class is used for holding a list of service errors that may occur within the Google Ad Manager API.

  • It inherits from the ApplicationException class and includes a list of various error types, such as AuthenticationError, CompanyError, and PermissionError.

  • Each error type provides specific information about the issue encountered, helping developers diagnose and address problems.

  • The errors field within the ApiException object contains an array of ApiError objects, which provide detailed information about each error.

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. CompanyCreditStatusError
    6. CompanyError
    7. CrossSellError
    8. CustomFieldValueError
    9. ExchangeSignupApiError
    10. FeatureError
    11. InternalApiError
    12. InvalidEmailError
    13. InvalidUrlError
    14. InventoryClientApiError
    15. LabelEntityAssociationError
    16. McmError
    17. NetworkError
    18. NotNullError
    19. NullError
    20. ParseError
    21. PermissionError
    22. PublisherQueryLanguageConte...
    23. PublisherQueryLanguageSynta...
    24. QuotaError
    25. RegExError
    26. RequiredCollectionError
    27. RequiredError
    28. RequiredNumberError
    29. ServerError
    30. SiteError
    31. StatementError
    32. StringFormatError
    33. StringLengthError
    34. TeamError
    35. TypeError
    36. UniqueError

List of errors.