Skip to content

Commit

Permalink
support ad unit name (#10825)
Browse files Browse the repository at this point in the history
  • Loading branch information
gwi-mmuths committed Dec 12, 2023
1 parent 048f735 commit 947a487
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 947a487

Please sign in to comment.