Skip to content

Commit

Permalink
CleanmedianetBidAdapter.js: bug fix on plcmt (#11891)
Browse files Browse the repository at this point in the history
* CleanmedianetBidAdapter.js: bug fix on plcmt?

* Update gamoshiBidAdapter.js

* Update gamoshiBidAdapter_spec.js

* Update cleanmedianetBidAdapter_spec.js
  • Loading branch information
patmmccann authored Jul 18, 2024
1 parent 62099b9 commit 37ffcf1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/cleanmedianetBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const spec = {
maxduration: bidRequest.mediaTypes.video.maxduration,
api: bidRequest.mediaTypes.video.api,
skip: bidRequest.mediaTypes.video.skip || bidRequest.params.video.skip,
placement: bidRequest.mediaTypes.video.plcmt || bidRequest.params.video.plcmt,
plcmt: bidRequest.mediaTypes.video.plcmt || bidRequest.params.video.plcmt,
minduration: bidRequest.mediaTypes.video.minduration || bidRequest.params.video.minduration,
playbackmethod: bidRequest.mediaTypes.video.playbackmethod || bidRequest.params.video.playbackmethod,
startdelay: bidRequest.mediaTypes.video.startdelay || bidRequest.params.video.startdelay
Expand Down
2 changes: 1 addition & 1 deletion modules/gamoshiBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const spec = {
maxduration: bidRequest.mediaTypes.video.maxduration,
api: bidRequest.mediaTypes.video.api,
skip: bidRequest.mediaTypes.video.skip || bidRequest.params.video.skip,
placement: bidRequest.mediaTypes.video.plcmt || bidRequest.params.video.plcmt,
plcmt: bidRequest.mediaTypes.video.plcmt || bidRequest.params.video.plcmt,
minduration: bidRequest.mediaTypes.video.minduration || bidRequest.params.video.minduration,
playbackmethod: bidRequest.mediaTypes.video.playbackmethod || bidRequest.params.video.playbackmethod,
startdelay: bidRequest.mediaTypes.video.startdelay || bidRequest.params.video.startdelay
Expand Down
2 changes: 1 addition & 1 deletion test/spec/modules/cleanmedianetBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ describe('CleanmedianetAdapter', () => {

expect(response.data.imp[0].video.mimes).to.equal(bidRequestWithVideo.mediaTypes.video.mimes);
expect(response.data.imp[0].video.skip).to.not.exist;
expect(response.data.imp[0].video.placement).to.equal(1);
expect(response.data.imp[0].video.plcmt).to.equal(1);
expect(response.data.imp[0].video.minduration).to.equal(1);
expect(response.data.imp[0].video.playbackmethod).to.equal(1);
expect(response.data.imp[0].video.startdelay).to.equal(1);
Expand Down
2 changes: 1 addition & 1 deletion test/spec/modules/gamoshiBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ describe('GamoshiAdapter', () => {

expect(response.data.imp[0].video.mimes).to.equal(bidRequestWithVideo.mediaTypes.video.mimes);
expect(response.data.imp[0].video.skip).to.not.exist;
expect(response.data.imp[0].video.placement).to.equal(1);
expect(response.data.imp[0].video.plcmt).to.equal(1);
expect(response.data.imp[0].video.minduration).to.equal(1);
expect(response.data.imp[0].video.playbackmethod).to.equal(1);
expect(response.data.imp[0].video.startdelay).to.equal(1);
Expand Down

0 comments on commit 37ffcf1

Please sign in to comment.