code: function(bid) {
      let isValid = false;
      if (typeof bid.params !== 'undefined') {
        let isValidPlacementId = _validateId(utils.getValue(bid.params, 'placementId'));
        let isValidPageId = _validateId(utils.getValue(bid.params, 'pageId'));
        isValid = isValidPlacementId && isValidPageId;
      }
  
      if (!isValid) {
        utils.logError('Teads placementId and pageId parameters are required. Bid aborted.');
      }
      return isValid;
    }
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.