Skip to content

Commit

Permalink
Grid Bid Adapter: add support for video.plcmt (prebid#9763)
Browse files Browse the repository at this point in the history
* Update gridBidAdapter.js

* Update gridBidAdapter_spec.js
  • Loading branch information
patmmccann authored May 1, 2023
1 parent e0e77cf commit 2edd264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/gridBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,7 @@ function buildCdbRequest(context, bidRequests, bidderRequest) {
api: bidRequest.mediaTypes.video.api,
skip: bidRequest.mediaTypes.video.skip,
placement: bidRequest.mediaTypes.video.placement,
plcmt: bidRequest.mediaTypes.video.plcmt,
minduration: bidRequest.mediaTypes.video.minduration,
playbackmethod: bidRequest.mediaTypes.video.playbackmethod,
startdelay: bidRequest.mediaTypes.video.startdelay
Expand Down
2 changes: 2 additions & 0 deletions test/spec/modules/gridBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ describe('TheMediaGrid Adapter', function () {
api: [1, 2],
skip: 1,
placement: 1,
plcmt: 2,
minduration: 0,
playbackmethod: 1,
startdelay: 0
Expand Down Expand Up @@ -539,6 +540,7 @@ describe('TheMediaGrid Adapter', function () {
],
'minduration': 0,
'placement': 1,
'plcmt': 2,
'playbackmethod': 1,
'playersizes': [
'400x600'
Expand Down

0 comments on commit 2edd264

Please sign in to comment.