type ApiException (v202411)

  • The ApiException class in Google Ad Manager's API is used to hold a list of service errors that may occur during API calls.

  • It inherits from the ApplicationException class and provides a field called 'errors' to store detailed error information.

  • The errors field contains a list of ApiError objects or objects of more specific error types, offering insights into the cause and nature of the errors.

  • Developers can use the information contained in ApiException to understand and resolve issues encountered when interacting with the Google Ad Manager API.

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. AdSenseAccountError
    2. ApiVersionError
    3. AssetError
    4. AudienceExtensionError
    5. AuthenticationError
    6. CollectionSizeError
    7. CommonError
    8. CreativeAssetMacroError
    9. CreativeError
    10. CreativePreviewError
    11. CreativeSetError
    12. CreativeTemplateError
    13. CreativeTemplateOperationError
    14. CrossSellError
    15. CustomCreativeError
    16. CustomFieldValueError
    17. EntityChildrenLimitReachedE...
    18. EntityLimitReachedError
    19. FeatureError
    20. FileError
    21. HtmlBundleProcessorError
    22. ImageError
    23. InternalApiError
    24. InvalidPhoneNumberError
    25. InvalidUrlError
    26. LabelEntityAssociationError
    27. LineItemCreativeAssociation...
    28. LineItemCreativeAssociation...
    29. LineItemError
    30. NotNullError
    31. NullError
    32. OrderError
    33. ParseError
    34. PermissionError
    35. PublisherQueryLanguageConte...
    36. PublisherQueryLanguageSynta...
    37. QuotaError
    38. RangeError
    39. RequiredCollectionError
    40. RequiredError
    41. RequiredNumberError
    42. RequiredSizeError
    43. RichMediaStudioCreativeError
    44. ServerError
    45. SetTopBoxCreativeError
    46. StatementError
    47. StringFormatError
    48. StringLengthError
    49. SwiffyConversionError
    50. TemplateInstantiatedCreativ...
    51. TranscodingError
    52. TypeError
    53. UniqueError

List of errors.