type DeactivateAdUnits (v202408)
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/v202408
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\u003eThe \u003ccode\u003eDeactivateAdUnits\u003c/code\u003e action is used to deactivate \u003ccode\u003eAdUnit\u003c/code\u003e objects within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThis action is part of the \u003ccode\u003eInventoryService\u003c/code\u003e and inherits from the \u003ccode\u003eAdUnitAction\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeactivateAdUnits\u003c/code\u003e is found within the \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],["The `InventoryService` utilizes the `DeactivateAdUnits` action, which is a specific type of `AdUnitAction`. This action is employed to deactivate `AdUnit` objects. Other actions within `InventoryService`, such as `ActivateAdUnits` and `ArchiveAdUnits`, are also inherited from `AdUnitAction`. This information can be found under the namespace `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type DeactivateAdUnits (v202408)\n\n**Service** \n**InventoryService** **Inheritance** \n[AdUnitAction](/ad-manager/api/reference/v202408/InventoryService.AdUnitAction) \n▼\n[ActivateAdUnits](/ad-manager/api/reference/v202408/InventoryService.ActivateAdUnits) [ArchiveAdUnits](/ad-manager/api/reference/v202408/InventoryService.ArchiveAdUnits) **DeactivateAdUnits**\n\nThe action used for deactivating [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|---|---|\n| **`AdUnitAction` (inherited)** ||\n| **`DeactivateAdUnits`** ||"]]