Predicate criterionIdPredicate =
new Predicate("CriterionId", PredicateOperator.IN, new String[] {criterionId.toString()});
selector.setPredicates(new Predicate[] {adGroupIdPredicate, criterionIdPredicate});
// Get bid landscape for ad group criteria.
CriterionBidLandscapePage page = dataService.getCriterionBidLandscape(selector);
// Display bid landscapes.
if (page.getEntries() != null) {
for (CriterionBidLandscape criterionBidLandscape : page.getEntries()) {
System.out.println("Criterion bid landscape with ad group id \""
+ criterionBidLandscape.getAdGroupId() + "\", criterion id \""
+ criterionBidLandscape.getCriterionId() + "\", start date \""
+ criterionBidLandscape.getStartDate() + "\", end date \""
+ criterionBidLandscape.getEndDate() + "\", with landscape points: ");