Selector selector = new Selector();
selector.setFields(new String[] {"AdGroupId", "CriterionId", "StartDate", "EndDate", "Bid",
"LocalClicks", "LocalCost", "MarginalCpc", "LocalImpressions"});
// Create predicates.
Predicate adGroupIdPredicate =
new Predicate("AdGroupId", PredicateOperator.IN, new String[] {adGroupId.toString()});
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);