Skip to content

Commit

Permalink
AdmixerBidAdapter: rtbstack change endpointId to tagId (#11925)
Browse files Browse the repository at this point in the history
* Update README.md

update

* Add admixerwl alias for admixerBidAdapter.

* admixer change endpointId to tagId

---------

Co-authored-by: AdmixerTech <[email protected]>
Co-authored-by: AdmixerTech <[email protected]>
Co-authored-by: Yaroslav Masenko <[email protected]>
Co-authored-by: Daria Boyko <[email protected]>
  • Loading branch information
5 people authored Jul 5, 2024
1 parent 8f817bd commit 61b46af
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion modules/admixerBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const spec = {
*/
isBidRequestValid: function (bid) {
return bid.bidder === 'rtbstack'
? !!bid.params.endpointId
? !!bid.params.tagId
: !!bid.params.zone;
},
/**
Expand Down
6 changes: 3 additions & 3 deletions modules/admixerBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Please use ```admixer``` as the bidder code.
{
bidder: "rtbstack",
params: {
endpointId: 41512
tagId: 41512
}
}
]
Expand All @@ -72,7 +72,7 @@ Please use ```admixer``` as the bidder code.
{
bidder: "rtbstack",
params: {
endpointId: 41512
tagId: 41512
}
}
]
Expand All @@ -84,7 +84,7 @@ Please use ```admixer``` as the bidder code.
{
bidder: "rtbstack",
params: {
endpointId: 41512
tagId: 41512
}
}
]
Expand Down
4 changes: 2 additions & 2 deletions test/spec/modules/admixerBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('AdmixerAdapter', function () {
let rtbBid = {
bidder: RTB_BIDDER_CODE,
params: {
endpointId: ENDPOINT_ID,
tagId: ENDPOINT_ID,
},
adUnitCode: 'adunit-code',
sizes: [
Expand Down Expand Up @@ -133,7 +133,7 @@ describe('AdmixerAdapter', function () {
{
bidder: bidder,
params: bidder === 'rtbstack' ? {
endpointId: ENDPOINT_ID
tagId: ENDPOINT_ID
} : {
zone: ZONE_ID,
},
Expand Down

0 comments on commit 61b46af

Please sign in to comment.