Skip to content

Commit

Permalink
AdmixerBidAdapter: rtbstack change endpointId to tagId (prebid#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 <35560933+AdmixerTech@users.noreply.github.com>
Co-authored-by: AdmixerTech <admin@admixer.net>
Co-authored-by: Yaroslav Masenko <intgr-user@admixer.ua>
Co-authored-by: Daria Boyko <dboyko@admixer.com>
  • Loading branch information
5 people authored and DecayConstant committed Jul 18, 2024
1 parent 2d8faf3 commit 22ac0a7
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 22ac0a7

Please sign in to comment.