From 9c47806da57db5e1a547d22be891c9599b76e1bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Udi=20Talias=20=E2=9A=9B=EF=B8=8F?= Date: Wed, 24 Jun 2020 02:13:11 +0300 Subject: [PATCH] Vidazoo Adapter: Feature/screen-size (#5385) * 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 --- modules/vidazooBidAdapter.js | 1 + test/spec/modules/vidazooBidAdapter_spec.js | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/vidazooBidAdapter.js b/modules/vidazooBidAdapter.js index 81e24a976e3..cc955b14715 100644 --- a/modules/vidazooBidAdapter.js +++ b/modules/vidazooBidAdapter.js @@ -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); diff --git a/test/spec/modules/vidazooBidAdapter_spec.js b/test/spec/modules/vidazooBidAdapter_spec.js index 443f9b9d028..fb9c540708b 100644 --- a/test/spec/modules/vidazooBidAdapter_spec.js +++ b/test/spec/modules/vidazooBidAdapter_spec.js @@ -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', }