Skip to content

Commit

Permalink
Impactify Bid Adapter: fix uspConsent logic (#12332)
Browse files Browse the repository at this point in the history
* Updated bid adapter to log errors

* Impactify Bid Adapter: fix uspConsent logic

* Remove line

* Add Newline

---------

Co-authored-by: Filipe Neves <me@filipeneves.net>
Co-authored-by: Abderrahmen Ghadbane <abderrahmen.ghadbane@impactify.io>
  • Loading branch information
3 people authored Oct 29, 2024
1 parent aaafef7 commit 1da994f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modules/impactifyBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,6 @@ function createOpenRtbRequest(validBidRequests, bidderRequest) {
}
deepSetValue(request, 'regs.ext.gdpr', gdprApplies);

if (bidderRequest.uspConsent) {
deepSetValue(request, 'regs.ext.us_privacy', bidderRequest.uspConsent);
this.syncStore.uspConsent = bidderRequest.uspConsent;
}

if (GET_CONFIG('coppa') == true) deepSetValue(request, 'regs.coppa', 1);

if (bidderRequest.uspConsent) {
Expand Down

0 comments on commit 1da994f

Please sign in to comment.