type ApiException (v202508)

  • ApiException is the exception class used to hold a list of service errors.

  • ApiException inherits from ApplicationException.

  • The ApiException class contains an errors field which is a list of different ApiError types.

  • The ApplicationException class contains a message field which is an error message.

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. AdRuleDateError
    2. AdRuleError
    3. AdRuleFrequencyCapError
    4. AdRulePriorityError
    5. AdRuleSlotError
    6. AdRuleTargetingError
    7. ApiVersionError
    8. AuthenticationError
    9. CollectionSizeError
    10. CommonError
    11. CustomTargetingError
    12. FeatureError
    13. GeoTargetingError
    14. InternalApiError
    15. InventoryTargetingError
    16. NotNullError
    17. ParseError
    18. PermissionError
    19. PoddingError
    20. PublisherQueryLanguageConte...
    21. PublisherQueryLanguageSynta...
    22. QuotaError
    23. RequiredCollectionError
    24. RequiredError
    25. RequiredNumberError
    26. ServerError
    27. StatementError
    28. StringFormatError
    29. StringLengthError
    30. UniqueError

List of errors.