// Create action.
com.google.api.ads.dfp.axis.v201302.DeleteCustomTargetingValues action =
new com.google.api.ads.dfp.axis.v201302.DeleteCustomTargetingValues();
// Perform action.
UpdateResult result = customTargetingService.performCustomTargetingValueAction(
action, statementBuilder.toStatement());
if (result != null && result.getNumChanges() > 0) {
System.out.printf(
"Number of custom targeting values deleted: %d\n", result.getNumChanges());