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