Skip to content

Commit

Permalink
support ad unit name
Browse files Browse the repository at this point in the history
  • Loading branch information
gwi-mmuths authored Dec 12, 2023
1 parent 6275c00 commit a79191b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/teadsBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ function buildRequestObject(bid) {
reqObj.bidderRequestId = getBidIdParameter('bidderRequestId', bid);
reqObj.placementId = parseInt(placementId, 10);
reqObj.pageId = parseInt(pageId, 10);
reqObj.adUnitCode = getBidIdParameter('adUnitCode', bid);
reqObj.adUnitCode = getValue(bid.params, 'adUnitCode') || getBidIdParameter('adUnitCode', bid);
reqObj.transactionId = bid.ortb2Imp?.ext?.tid || '';
if (gpid) { reqObj.gpid = gpid; }
if (videoPlcmt) { reqObj.videoPlcmt = videoPlcmt; }
Expand Down

0 comments on commit a79191b

Please sign in to comment.