code: private static Money getBid(BiddableAdGroupCriterion biddableCriterion) {
      BiddingStrategyConfiguration biddingConfig =
          biddableCriterion.getBiddingStrategyConfiguration();
      Money cpcBidAmount = null;
      if (biddingConfig.getBids() != null) {
        for (Bids bid : biddingConfig.getBids()) {
          if (bid instanceof CpcBid) {
            CpcBid cpcBid = (CpcBid) bid;
            if (BidSource.CRITERION.equals(cpcBid.getCpcBidSource())) {
              cpcBidAmount = cpcBid.getBid();
              break;
            }
          }
        }
      }
      return cpcBidAmount;
    }
docs: Returns the criterion-level bid, or null if no such bid exists.