code: function(bid) {
      return bid.params && (!!bid.params.placementId || (!!bid.params.minCPM && !!bid.params.minCPC));
    }
docs: Determines whether or not the given bid request is valid.
  
  @param {BidRequest} bid The bid params to validate.
  @return boolean True if this is a valid bid, and false otherwise.