abstract type AdUnitAction (v202402)
Represents the actions that can be performed on AdUnit objects.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202402
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-13 UTC.
[null,null,["Last updated 2024-02-13 UTC."],[[["`InventoryService` allows for performing actions on `AdUnit` objects, such as activating, archiving, and deactivating them."],["These actions are represented by the `AdUnitAction` type and its subclasses like `ActivateAdUnits`, `ArchiveAdUnits`, and `DeactivateAdUnits`."],["The service uses the namespace `https://www.google.com/apis/ads/publisher/v202402` for its operations."]]],["The `InventoryService` utilizes the `performAdUnitAction()` method to execute actions on `AdUnit` objects. `AdUnitAction` serves as the base for specific actions, including `ActivateAdUnits`, `ArchiveAdUnits`, and `DeactivateAdUnits`. These actions define operations like activating, archiving, or deactivating Ad Units within the service's namespace, which is specified as `https://www.google.com/apis/ads/publisher/v202402`.\n"]]