type DeleteCustomTargetingKeys (v202411)
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/v202411
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 the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a key doesn't remove associated custom targeting values, and recreating a deleted key can reconnect with existing values.\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/v202411\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],["The document details the `DeleteCustomTargetingKeys` action within the `CustomTargetingService`. This action is used to delete `CustomTargetingKey` objects, but it does not delete associated `CustomTargetingValue` objects. If a deleted key is recreated, its previous values will persist. It is part of the `CustomTargetingKeyAction` inheritance and operates within the namespace `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# type DeleteCustomTargetingKeys (v202411)\n\n**Service** \n**CustomTargetingService** **Inheritance** \n[CustomTargetingKeyAction](/ad-manager/api/reference/v202411/CustomTargetingService.CustomTargetingKeyAction) \n▼\n[ActivateCustomTargetingKeys](/ad-manager/api/reference/v202411/CustomTargetingService.ActivateCustomTargetingKeys) **DeleteCustomTargetingKeys**\n\nRepresents the delete action that can be performed on\n[CustomTargetingKey](/ad-manager/api/reference/v202411/CustomTargetingService.CustomTargetingKey) objects. Deleting a key will not delete the\n[CustomTargetingValue](/ad-manager/api/reference/v202411/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/v202411`\n\n| Field ----- ||\n|---|---|\n| **`CustomTargetingKeyAction` (inherited)** ||\n| **`DeleteCustomTargetingKeys`** ||"]]