Skip to content

Commit

Permalink
Consumable Bid Adapter: Add CCPA support (prebid#4618)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrimes authored and sa1omon committed Dec 19, 2019
1 parent 59ef480 commit 6f4e205
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/consumableBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ export const spec = {
};
}

if (bidderRequest && bidderRequest.uspConsent) {
data.ccpa = bidderRequest.uspConsent;
}

validBidRequests.map(bid => {
const sizes = (bid.mediaTypes && bid.mediaTypes.banner && bid.mediaTypes.banner.sizes) || bid.sizes || [];
const placement = Object.assign({
Expand Down

0 comments on commit 6f4e205

Please sign in to comment.