From 77f62b17805ebd4a6e07d1656a187c53268f507a Mon Sep 17 00:00:00 2001 From: jsnellbaker <31102355+jsnellbaker@users.noreply.github.com> Date: Mon, 9 Dec 2019 16:24:41 -0500 Subject: [PATCH] move uspDataHandler out of gdprDataHandler (#4562) * move uspDataHandler out of gdprDataHandler * add missing semi-colon --- src/adapterManager.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/adapterManager.js b/src/adapterManager.js index 99e2e31e9e1..4f5f63534a4 100644 --- a/src/adapterManager.js +++ b/src/adapterManager.js @@ -271,6 +271,11 @@ adapterManager.makeBidRequests = function(adUnits, auctionStart, auctionId, cbTi if (gdprDataHandler.getConsentData()) { bidRequests.forEach(bidRequest => { bidRequest['gdprConsent'] = gdprDataHandler.getConsentData(); + }); + } + + if (uspDataHandler.getConsentData()) { + bidRequests.forEach(bidRequest => { bidRequest['uspConsent'] = uspDataHandler.getConsentData(); }); }