type DeleteCustomTargetingKeys (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Service
CustomTargetingService
Represents the delete action that can be performed on
CustomTargetingKey objects. Deleting a key will not delete the
CustomTargetingValue objects associated with it. Also, if a custom
targeting key that has been deleted is recreated, any previous custom
targeting values associated with it that were not deleted will continue to
exist.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
CustomTargetingKeyAction (inherited)
|
DeleteCustomTargetingKeys
|
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\u003e\u003ccode\u003eDeleteCustomTargetingKeys\u003c/code\u003e represents the action of deleting custom targeting keys within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a key doesn't remove its associated values; they remain and can be re-associated if the key is recreated.\u003c/p\u003e\n"],["\u003cp\u003eThis action is part of the \u003ccode\u003eCustomTargetingService\u003c/code\u003e and operates within the \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],["The core content describes actions related to `CustomTargetingKey` objects within the `CustomTargetingService`. It outlines two key actions: `ActivateCustomTargetingKeys` and `DeleteCustomTargetingKeys`. Deleting a key does not remove its associated `CustomTargetingValue` objects; those values persist even if the key is later recreated. The namespace for these actions is `https://www.google.com/apis/ads/publisher/v202408`. The table show the two fields : `CustomTargetingKeyAction` (inherited) and `DeleteCustomTargetingKeys`.\n"],null,["# type DeleteCustomTargetingKeys (v202408)\n\n**Service** \n**CustomTargetingService** **Inheritance** \n[CustomTargetingKeyAction](/ad-manager/api/reference/v202408/CustomTargetingService.CustomTargetingKeyAction) \n▼\n[ActivateCustomTargetingKeys](/ad-manager/api/reference/v202408/CustomTargetingService.ActivateCustomTargetingKeys) **DeleteCustomTargetingKeys**\n\nRepresents the delete action that can be performed on\n[CustomTargetingKey](/ad-manager/api/reference/v202408/CustomTargetingService.CustomTargetingKey) objects. Deleting a key will not delete the\n[CustomTargetingValue](/ad-manager/api/reference/v202408/CustomTargetingService.CustomTargetingValue) objects associated with it. Also, if a custom\ntargeting key that has been deleted is recreated, any previous custom\ntargeting values associated with it that were not deleted will continue to\nexist.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|---|---|\n| **`CustomTargetingKeyAction` (inherited)** ||\n| **`DeleteCustomTargetingKeys`** ||"]]