abstract type PlacementAction (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Represents the actions that can be performed on Placement 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\u003eThe \u003ccode\u003ePlacementService\u003c/code\u003e allows for performing actions on \u003ccode\u003ePlacement\u003c/code\u003e objects, such as activating, archiving, and deactivating them.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePlacementAction\u003c/code\u003e represents the different actions that can be performed on \u003ccode\u003ePlacement\u003c/code\u003e objects, and includes options like \u003ccode\u003eActivatePlacements\u003c/code\u003e, \u003ccode\u003eArchivePlacements\u003c/code\u003e, and \u003ccode\u003eDeactivatePlacements\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe service uses the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `PlacementService` allows actions to be performed on `Placement` objects. The `performPlacementAction()` function is used to execute these actions. Available actions include `ActivatePlacements`, `ArchivePlacements`, and `DeactivatePlacements`. These actions are inherited from the base `PlacementAction` class. The service operates within the namespace `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# abstract type PlacementAction (v202408)\n\n**Service** \n**PlacementService** **Dependencies** \n[performPlacementAction()](/ad-manager/api/reference/v202408/PlacementService#performPlacementAction) \n▼\n**PlacementAction** **Inheritance** \n**PlacementAction** \n▼\n[ActivatePlacements](/ad-manager/api/reference/v202408/PlacementService.ActivatePlacements) [ArchivePlacements](/ad-manager/api/reference/v202408/PlacementService.ArchivePlacements) [DeactivatePlacements](/ad-manager/api/reference/v202408/PlacementService.DeactivatePlacements)\n\nRepresents the actions that can be performed on [Placement](/ad-manager/api/reference/v202408/PlacementService.Placement) objects.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|---|---|"]]