ThirdPartySlotServiceInterface thirdPartySlotService =
user.getService(DfpService.V201302.THIRD_PARTY_SLOT_SERVICE);
// Sets defaults for page and filterStatement.
ThirdPartySlotPage page = new ThirdPartySlotPage();
Statement filterStatement = new Statement();
int offset = 0;
do {
// Create a statement to get third party slots.
filterStatement.setQuery("LIMIT 500 OFFSET " + offset);
// Get third party slots by statement.
page = thirdPartySlotService.getThirdPartySlotsByStatement(filterStatement);
if (page.getResults() != null) {