Skip to content

Commit

Permalink
Vidazoo Adapter: Feature/screen-size (prebid#5385)
Browse files Browse the repository at this point in the history
* feat(module): multi size request

* fix getUserSyncs
added tests

* update(module): package-lock.json from master

* feat(client): add screen resolution as request param

* feat(client): add `res` param to spec

* fix(client): screen size inside test

Co-authored-by: roman <shmoop207@gmail.com>
  • Loading branch information
uditalias and shmoop207 authored Jun 23, 2020
1 parent 18d1e10 commit 9c47806
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/vidazooBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function buildRequest(bid, topWindowUrl, sizes, bidderRequest) {
publisherId: pId,
sizes: sizes,
dealId: dealId,
res: `${screen.width}x${screen.height}`
};

appendUserIdsToRequestPayload(data, userId);
Expand Down
1 change: 1 addition & 0 deletions test/spec/modules/vidazooBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ describe('VidazooBidAdapter', function () {
bidId: '2d52001cabd527',
publisherId: '59ac17c192832d0011283fe3',
dealId: 1,
res: `${window.top.screen.width}x${window.top.screen.height}`,
'ext.param1': 'loremipsum',
'ext.param2': 'dolorsitamet',
}
Expand Down

0 comments on commit 9c47806

Please sign in to comment.