code: function (bid) {
      const sizes = getSize(bid.sizes);
      if (!bid.params || !bid.params.placement || !sizes.width || !sizes.height) {
        return false;
      }
      return true;
    }
docs: short code 
  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.