From 4502a07d31d05b120f78f92495363388f2ba15ad Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Tue, 5 Nov 2024 10:40:53 -0500 Subject: [PATCH 1/2] Update holidBidAdapter.js --- modules/holidBidAdapter.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/holidBidAdapter.js b/modules/holidBidAdapter.js index c72d21d08b4..24c5db53650 100644 --- a/modules/holidBidAdapter.js +++ b/modules/holidBidAdapter.js @@ -94,12 +94,12 @@ export const spec = { const bidders = getBidders(serverResponse) - if (optionsType.iframeEnabled && bidders) { + if (optionsType.iframeEnabled && bidders && gdprConsent) { const queryParams = [] queryParams.push('bidders=' + bidders) - queryParams.push('gdpr=' + +gdprConsent.gdprApplies) - queryParams.push('gdpr_consent=' + gdprConsent.consentString) + queryParams.push('gdpr=' + +gdprConsent?.gdprApplies) + queryParams.push('gdpr_consent=' + gdprConsent?.consentString) queryParams.push('usp_consent=' + (uspConsent || '')) let strQueryParams = queryParams.join('&') From fd74fc29ca9a1ff3e99b9c3d93a7f702bccd269c Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Tue, 5 Nov 2024 10:45:17 -0500 Subject: [PATCH 2/2] Update holidBidAdapter.js --- modules/holidBidAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/holidBidAdapter.js b/modules/holidBidAdapter.js index 24c5db53650..90bc0c78212 100644 --- a/modules/holidBidAdapter.js +++ b/modules/holidBidAdapter.js @@ -93,7 +93,7 @@ export const spec = { } const bidders = getBidders(serverResponse) - + // note this only does the iframe sync when gdpr consent object exists to match previous behavior (generate error on gdprconsent not existing) if (optionsType.iframeEnabled && bidders && gdprConsent) { const queryParams = []