type ApiException (v202411)

  • The SuggestedAdUnitService allows you to interact with suggested ad units in Google Ad Manager.

  • This service provides methods to retrieve suggested ad units based on certain criteria and to perform actions on them, such as approving or dismissing suggestions.

  • It inherits from the ApplicationException class and holds a list of service errors in the errors field.

  • Potential errors include various types, like authentication errors, permission errors, quota errors, and more, as detailed in the documentation.

  • These errors are represented by specific error classes within the Google Ad Manager API, allowing for detailed debugging and troubleshooting.

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. EntityLimitReachedError
    6. FeatureError
    7. InternalApiError
    8. InventoryUnitSizesError
    9. LabelEntityAssociationError
    10. NotNullError
    11. ParseError
    12. PermissionError
    13. PublisherQueryLanguageConte...
    14. PublisherQueryLanguageSynta...
    15. QuotaError
    16. RequiredCollectionError
    17. RequiredError
    18. ServerError
    19. StatementError
    20. StringFormatError
    21. StringLengthError
    22. TypeError
    23. UniqueError

List of errors.