type DeactivateAdUnits (v202502)
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/v202502
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."],[],["The `InventoryService` utilizes `AdUnitAction` for managing `AdUnit` objects, specifically through actions like `ActivateAdUnits`, `ArchiveAdUnits`, and `DeactivateAdUnits`. The `DeactivateAdUnits` action is used to deactivate `AdUnit` objects. This functionality is defined within the namespace `https://www.google.com/apis/ads/publisher/v202502`. The action `DeactivateAdUnits` can be used to deactivate units, and the class `AdUnitAction` is inherited.\n"],null,["# type DeactivateAdUnits (v202502)\n\n**Service** \n**InventoryService** **Inheritance** \n[AdUnitAction](/ad-manager/api/reference/v202502/InventoryService.AdUnitAction) \n▼\n[ActivateAdUnits](/ad-manager/api/reference/v202502/InventoryService.ActivateAdUnits) [ArchiveAdUnits](/ad-manager/api/reference/v202502/InventoryService.ArchiveAdUnits) **DeactivateAdUnits**\n\nThe action used for deactivating [AdUnit](/ad-manager/api/reference/v202502/InventoryService.AdUnit) objects.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ----- ||\n|---|---|\n| **`AdUnitAction` (inherited)** ||\n| **`DeactivateAdUnits`** ||"]]