abstract type AdUnitAction (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Represents the actions that can be performed on AdUnit objects.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eInventoryService allows for performing actions on AdUnits, like activating, archiving, and deactivating them.\u003c/p\u003e\n"],["\u003cp\u003eAdUnitAction represents the set of actions that can be applied to AdUnit objects.\u003c/p\u003e\n"],["\u003cp\u003eThe operations are part of the Google Ad Manager API, under the specified namespace.\u003c/p\u003e\n"]]],["The `InventoryService` allows actions on `AdUnit` objects via `performAdUnitAction()`. The available actions, defined by `AdUnitAction`, are `ActivateAdUnits`, `ArchiveAdUnits`, and `DeactivateAdUnits`. These actions manage the state of `AdUnit` objects. The service operates within the `https://www.google.com/apis/ads/publisher/v202408` namespace.\n"],null,["# abstract type AdUnitAction (v202408)\n\n**Service** \n**InventoryService** **Dependencies** \n[performAdUnitAction()](/ad-manager/api/reference/v202408/InventoryService#performAdUnitAction) \n▼\n**AdUnitAction** **Inheritance** \n**AdUnitAction** \n▼\n[ActivateAdUnits](/ad-manager/api/reference/v202408/InventoryService.ActivateAdUnits) [ArchiveAdUnits](/ad-manager/api/reference/v202408/InventoryService.ArchiveAdUnits) [DeactivateAdUnits](/ad-manager/api/reference/v202408/InventoryService.DeactivateAdUnits)\n\nRepresents the actions that can be performed on [AdUnit](/ad-manager/api/reference/v202408/InventoryService.AdUnit) objects.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|---|---|"]]