Skip to content

Commit d8454e1

Browse files
nabcosPedro López Jiménez
authored and
Pedro López Jiménez
committedMar 18, 2019
Added the option to pass a deal id instead of a partnership id (prebid#3148)
1 parent 280ff6a commit d8454e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎modules/yieldlabBidAdapter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const spec = {
8383
width: customsize[0],
8484
height: customsize[1],
8585
creativeId: '' + matchedBid.id,
86-
dealId: matchedBid.pid,
86+
dealId: (matchedBid['c.dealid']) ? matchedBid['c.dealid'] : matchedBid.pid,
8787
currency: CURRENCY_CODE,
8888
netRevenue: false,
8989
ttl: BID_RESPONSE_TTL_SEC,

0 commit comments

Comments
 (0)
Failed to load comments.