diff --git a/modules/blueBidAdapter.js b/modules/blueBidAdapter.js index 5cba985dc48..40fd4af9979 100644 --- a/modules/blueBidAdapter.js +++ b/modules/blueBidAdapter.js @@ -200,7 +200,7 @@ export const spec = { * @return {boolean} */ function isValidBidRequest(bid) { - return bid?.params?.publisherId ? true : false; + return bid && bid.params && bid.params.publisherId; } /**