type ApiException (v202411)

  • The ApiException is an exception class specifically designed for handling a list of service errors encountered during interactions with the Ad Manager API.

  • This class inherits from the ApplicationException class, providing a structured approach to managing service-related errors.

  • The ApiException class features the errors field, which contains a list of specific ApiError objects, each providing detailed information about a particular error encountered.

  • The namespace associated with the ApiException is: https://www.google.com/apis/ads/publisher/v202411, indicating its context within the Ad Manager API environment.

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. AdUnitCodeError
    2. AdUnitHierarchyError
    3. ApiVersionError
    4. AuthenticationError
    5. CollectionSizeError
    6. CommonError
    7. CreativeError
    8. DealError
    9. ExchangeRateError
    10. FeatureError
    11. FileError
    12. InternalApiError
    13. InvalidEmailError
    14. InvalidUrlError
    15. InventoryTargetingError
    16. InventoryUnitError
    17. LineItemFlightDateError
    18. LineItemOperationError
    19. NotNullError
    20. NullError
    21. OrderActionError
    22. OrderError
    23. ParseError
    24. PermissionError
    25. PublisherQueryLanguageConte...
    26. PublisherQueryLanguageSynta...
    27. QuotaError
    28. RangeError
    29. RegExError
    30. RequiredCollectionError
    31. RequiredError
    32. RequiredNumberError
    33. RequiredSizeError
    34. ReservationDetailsError
    35. AudienceSegmentError
    36. ServerError
    37. StatementError
    38. StringFormatError
    39. StringLengthError
    40. TypeError
    41. UniqueError

List of errors.