Skip to content

Commit 361cf62

Browse files
Kargo Bid Adapter: Forward schain in the request (prebid#10202)
* KargoBidAdapter: GPP Support * kargo adapter to forward schain object (#21) * wrap in if statement (#22) * KRKPD-572: Add spec for schain (#23) * wrap in if statement * update test for schain, file formatting --------- Co-authored-by: Jeremy Sadwith <[email protected]>
1 parent b973b2d commit 361cf62

File tree

2 files changed

+125
-106
lines changed

2 files changed

+125
-106
lines changed

modules/kargoBidAdapter.js

+4
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ function buildRequests(validBidRequests, bidderRequest) {
9797
user: getUserIds(tdidAdapter, bidderRequest.uspConsent, bidderRequest.gdprConsent, firstBidRequest.userIdAsEids, bidderRequest.gppConsent),
9898
});
9999

100+
if (firstBidRequest.schain && firstBidRequest.schain.nodes) {
101+
krakenParams.schain = firstBidRequest.schain
102+
}
103+
100104
const reqCount = getRequestCount()
101105
if (reqCount != null) {
102106
krakenParams.requestCount = reqCount;

0 commit comments

Comments
 (0)