}
public static List<ExpressBusiness> runExample(AdWordsServices adWordsServices,
AdWordsSession session) throws Exception {
// Get the ExpressBusinessService.
ExpressBusinessServiceInterface businessService =
adWordsServices.get(session, ExpressBusinessServiceInterface.class);
ExpressBusiness business1 = new ExpressBusiness();
business1.setStatus(ExpressBusinessStatus.ACTIVE);
business1.setName("Express Interplanetary Cruise #" + System.currentTimeMillis());
business1.setAddress(
new Address("1600 Amphitheatre Pkwy", null, "Mountain View", "CA", null, null, "US"));
business1.setWebsite("http://www.example.com/cruise1");
ExpressBusiness business2 = new ExpressBusiness();
business2.setStatus(ExpressBusinessStatus.ACTIVE);
business2.setName("Express Interplanetary Cruise #" + System.currentTimeMillis());
business2.setAddress(
new Address("1600 Amphitheatre Pkwy", null, "Mountain View", "CA", null, null, "US"));
business2.setWebsite("http://www.example.com/cruise2");
ExpressBusiness[] addedBusinesses = businessService.mutate(new ExpressBusinessOperation[] {
new ExpressBusinessOperation(Operator.ADD, null, business1),
new ExpressBusinessOperation(Operator.ADD, null, business2)});
System.out.printf("Added %d express businesses%n", addedBusinesses.length);
for (ExpressBusiness addedBusiness : addedBusinesses) {