com.google.api.ads.dfp.axis.v201302.PauseLineItems action =
new com.google.api.ads.dfp.axis.v201302.PauseLineItems();
// Perform action.
UpdateResult result =
lineItemService.performLineItemAction(action, statementBuilder.toStatement());
if (result != null && result.getNumChanges() > 0) {
System.out.printf("Number of line items paused: %d\n", result.getNumChanges());
} else {
System.out.println("No line items were paused.");