verticals.setCriterionTypeGroup(CriterionTypeGroup.VERTICAL);
verticals.setTargetAll(Boolean.FALSE);
targeting.setDetails(new TargetingSettingDetail[] {placements, verticals});
adGroup.setSettings(new Setting[] {targeting});
BiddingStrategyConfiguration biddingConfig = new BiddingStrategyConfiguration();
CpmBid cpmBid = new CpmBid();
cpmBid.setBid(new Money(null, 1000000L));
biddingConfig.setBids(new Bids[] {cpmBid});
adGroup.setBiddingStrategyConfiguration(biddingConfig);
// Create operations.
AdGroupOperation operation = new AdGroupOperation();
operation.setOperand(adGroup);