System.out.printf("Number of ad units to be added to placement: %d\n", totalResultSetSize);
if (totalResultSetSize > 0) {
// Remove limit and offset from statement.
statementBuilder.removeLimitAndOffset();
// Create action.
com.google.api.ads.dfp.axis.v201308.AssignAdUnitsToPlacement action =
new com.google.api.ads.dfp.axis.v201308.AssignAdUnitsToPlacement();
action.setPlacementId(placementId);