type DeactivateAdUnits (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
The action used for deactivating AdUnit objects.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
AdUnitAction (inherited)
|
DeactivateAdUnits
|
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\u003eDeactivateAdUnits is an action used within the InventoryService to deactivate AdUnit objects.\u003c/p\u003e\n"],["\u003cp\u003eThis action is part of the AdUnitAction inheritance within the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this action is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `DeactivateAdUnits` action, part of the `InventoryService`, is used to deactivate `AdUnit` objects. It is a specific type of `AdUnitAction`. This service is within the namespace `https://www.google.com/apis/ads/publisher/v202411`. Other available `AdUnitAction` includes `ActivateAdUnits` and `ArchiveAdUnits`. This information is relevant to managing the states of ad units within a publisher's inventory.\n"],null,["# type DeactivateAdUnits (v202411)\n\n**Service** \n**InventoryService** **Inheritance** \n[AdUnitAction](/ad-manager/api/reference/v202411/InventoryService.AdUnitAction) \n▼\n[ActivateAdUnits](/ad-manager/api/reference/v202411/InventoryService.ActivateAdUnits) [ArchiveAdUnits](/ad-manager/api/reference/v202411/InventoryService.ArchiveAdUnits) **DeactivateAdUnits**\n\nThe action used for deactivating [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|---|---|\n| **`AdUnitAction` (inherited)** ||\n| **`DeactivateAdUnits`** ||"]]