try {
// Log SOAP XML request and response.
DfpServiceLogger.log();
// Get DfpUser from "~/dfp.properties".
DfpUser user = new DfpUser();
// Get the CustomTargetingService.
CustomTargetingServiceInterface customTargetingService =
user.getService(DfpService.V201311.CUSTOM_TARGETING_SERVICE);
// Set the name of the custom targeting key to delete.
String customTargetingKeyName = "INSERT_CUSTOM_TARGETING_KEY_NAME_HERE";
// Create statement to only select custom targeting key by the given name.