type ApiException (v202505)

  • PlacementService is part of the Ad Manager API and is used for managing ad placements.

  • The PlacementService includes functions for creating, retrieving, updating, and performing actions on placements.

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

  • ApiException inherits from ApplicationException and contains a field named 'errors' which is a list of potential API error types.

  • Potential errors associated with ApiException include authentication errors, limit errors, permission errors, and various formatting/syntax errors.

Exception class for holding a list of service errors.


Namespace
https://www.google.com/apis/ads/publisher/v202505

Field

ApplicationException (inherited)

message

xsd:string

Error message.

ApiException

errors

  1. ApiError[]
    1. ApiVersionError
    2. AuthenticationError
    3. CollectionSizeError
    4. CommonError
    5. EntityChildrenLimitReachedE...
    6. EntityLimitReachedError
    7. FeatureError
    8. InternalApiError
    9. NotNullError
    10. NullError
    11. ParseError
    12. PermissionError
    13. PlacementError
    14. PublisherQueryLanguageConte...
    15. PublisherQueryLanguageSynta...
    16. QuotaError
    17. RangeError
    18. RegExError
    19. RequiredCollectionError
    20. RequiredError
    21. ServerError
    22. StatementError
    23. StringFormatError
    24. StringLengthError
    25. TypeError
    26. UniqueError

List of errors.