}
public static List<ExpressBusiness> runExample(AdWordsServices adWordsServices,
AdWordsSession session) throws Exception {
// Get the ExpressBusinessService.
ExpressBusinessServiceInterface businessService =
adWordsServices.get(session, ExpressBusinessServiceInterface.class);
int offset = 0;
// To get all express businesses owned by the current customer,
// simply skip the call to SelectorBuilder.equals below
Selector selector = new SelectorBuilder()
.fields("Id", "Name", "Website", "Address", "GeoPoint", "Status")
.equals("Status", ExpressBusinessStatus.ACTIVE.getValue())
.offset(offset)
.limit(PAGE_SIZE)
.build();
List<ExpressBusiness> businesses = Lists.newArrayList();
ExpressBusinessPage page;
do {
// Get all businesses.
page = businessService.get(selector);
// Display businesses.
if (page.getTotalNumEntries() > 0) {
for (ExpressBusiness business : page.getEntries()) {
System.out.printf("Express business found with name '%s' id %d website: %s "