From d88bd0e96f995b22ecc8afe54f014523d7fcda24 Mon Sep 17 00:00:00 2001 From: Dmitriy Labuzov Date: Wed, 12 Aug 2020 12:11:58 +0300 Subject: [PATCH] Add mtp (maxTouchPoints) parameter to Yieldmo adapter (#5597) Co-authored-by: Dmitriy Labuzov --- modules/yieldmoBidAdapter.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/yieldmoBidAdapter.js b/modules/yieldmoBidAdapter.js index a7befecadc7..829b573ffd9 100644 --- a/modules/yieldmoBidAdapter.js +++ b/modules/yieldmoBidAdapter.js @@ -45,6 +45,11 @@ export const spec = { us_privacy: utils.deepAccess(bidderRequest, 'uspConsent') || '' }; + const mtp = window.navigator.maxTouchPoints; + if (mtp) { + serverRequest.mtp = mtp; + } + bidRequests.forEach(request => { serverRequest.p.push(addPlacement(request)); const pubcid = getId(request, 'pubcid');