[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eInventoryService uses \u003ccode\u003eperformAdUnitAction()\u003c/code\u003e to perform actions on AdUnits.\u003c/p\u003e\n"],["\u003cp\u003eAdUnitAction represents the possible actions on AdUnits like activating, archiving and deactivating.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eActivateAdUnits\u003c/code\u003e, \u003ccode\u003eArchiveAdUnits\u003c/code\u003e, and \u003ccode\u003eDeactivateAdUnits\u003c/code\u003e are specific types of AdUnitActions.\u003c/p\u003e\n"],["\u003cp\u003eThese actions are defined within the \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],["The `InventoryService` allows actions on `AdUnit` objects via `performAdUnitAction()`. The available `AdUnitAction` types include `ActivateAdUnits`, `ArchiveAdUnits`, and `DeactivateAdUnits`. These actions modify the state of `AdUnit` objects. The relevant namespace for these operations is `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# abstract type AdUnitAction (v202411)\n\n**Service** \n**InventoryService** **Dependencies** \n[performAdUnitAction()](/ad-manager/api/reference/v202411/InventoryService#performAdUnitAction) \n▼\n**AdUnitAction** **Inheritance** \n**AdUnitAction** \n▼\n[ActivateAdUnits](/ad-manager/api/reference/v202411/InventoryService.ActivateAdUnits) [ArchiveAdUnits](/ad-manager/api/reference/v202411/InventoryService.ArchiveAdUnits) [DeactivateAdUnits](/ad-manager/api/reference/v202411/InventoryService.DeactivateAdUnits)\n\nRepresents the actions that can be performed on [AdUnit](/ad-manager/api/reference/v202411/InventoryService.AdUnit) objects.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|---|---|"]]