From 26e2b54a7217b75a4c1d43e15802ee59f20ac54d Mon Sep 17 00:00:00 2001 From: Dmitriy Labuzov Date: Tue, 7 Jul 2020 00:38:38 +0300 Subject: [PATCH] Add mtp (maxTouchPoints) parameter to Yieldmo adapter --- modules/yieldmoBidAdapter.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/yieldmoBidAdapter.js b/modules/yieldmoBidAdapter.js index 55495979ea4..85cd540bdff 100644 --- a/modules/yieldmoBidAdapter.js +++ b/modules/yieldmoBidAdapter.js @@ -56,6 +56,11 @@ export const spec = { : '', }; + const mtp = window.navigator.maxTouchPoints; + if (mtp) { + serverRequest.mtp = mtp; + } + bidRequests.forEach(request => { serverRequest.p.push(addPlacement(request)); const pubcid = getId(request, 'pubcid');