Skip to content

Commit

Permalink
add inskin iab vendor id: enables consent via string (prebid#3235)
Browse files Browse the repository at this point in the history
  • Loading branch information
micha authored and Isaac Dettman committed Nov 12, 2018
1 parent 452998a commit bdbf5c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/inskinBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export const spec = {

if (bidderRequest && bidderRequest.gdprConsent) {
data.consent = {
gdprVendorId: 150,
gdprConsentString: bidderRequest.gdprConsent.consentString,
// will check if the gdprApplies field was populated with a boolean value (ie from page config). If it's undefined, then default to true
gdprConsentRequired: (typeof bidderRequest.gdprConsent.gdprApplies === 'boolean') ? bidderRequest.gdprConsent.gdprApplies : true
Expand Down

0 comments on commit bdbf5c3

Please sign in to comment.