diff --git a/modules/pubmaticBidAdapter.js b/modules/pubmaticBidAdapter.js index b98b2c731ac..67cb004b274 100644 --- a/modules/pubmaticBidAdapter.js +++ b/modules/pubmaticBidAdapter.js @@ -387,6 +387,7 @@ function _createNativeRequest(params) { type: NATIVE_ASSET_IMAGE_TYPE.ICON, w: params[key].w || params[key].width || (params[key].sizes ? params[key].sizes[0] : undefined), h: params[key].h || params[key].height || (params[key].sizes ? params[key].sizes[1] : undefined), + ext: params[key].ext } }; } else { @@ -442,7 +443,8 @@ function _createNativeRequest(params) { img: { type: NATIVE_ASSET_IMAGE_TYPE.LOGO, w: params[key].w || params[key].width || (params[key].sizes ? params[key].sizes[0] : undefined), - h: params[key].h || params[key].height || (params[key].sizes ? params[key].sizes[1] : undefined) + h: params[key].h || params[key].height || (params[key].sizes ? params[key].sizes[1] : undefined), + ext: params[key].ext } }; break; diff --git a/src/constants.json b/src/constants.json index 4e946d9c593..bd880b19d89 100644 --- a/src/constants.json +++ b/src/constants.json @@ -65,23 +65,23 @@ "FORMAT": "hb_format" }, "NATIVE_KEYS": { - "title": "hb_native_title", - "body": "hb_native_body", - "body2": "hb_native_body2", - "privacyLink": "hb_native_privacy", - "sponsoredBy": "hb_native_brand", - "image": "hb_native_image", - "icon": "hb_native_icon", - "clickUrl": "hb_native_linkurl", - "displayUrl": "hb_native_displayurl", - "cta": "hb_native_cta", - "rating": "hb_native_rating", - "address": "hb_native_address", - "downloads": "hb_native_downloads", - "likes": "hb_native_likes", - "phone": "hb_native_phone", - "price": "hb_native_price", - "salePrice": "hb_native_saleprice" + "title": "pwt_native_title", + "body": "pwt_native_body", + "body2": "pwt_native_body2", + "privacyLink": "pwt_native_privacy", + "sponsoredBy": "pwt_native_brand", + "image": "pwt_native_image", + "icon": "pwt_native_icon", + "clickUrl": "pwt_native_linkurl", + "displayUrl": "pwt_native_displayurl", + "cta": "pwt_native_cta", + "rating": "pwt_native_rating", + "address": "pwt_native_address", + "downloads": "pwt_native_downloads", + "likes": "pwt_native_likes", + "phone": "pwt_native_phone", + "price": "pwt_native_price", + "salePrice": "pwt_native_saleprice" }, "S2S" : { "SRC" : "s2s", diff --git a/src/hook.js b/src/hook.js index c4e450bf5f2..cd01c35f563 100644 --- a/src/hook.js +++ b/src/hook.js @@ -2,6 +2,7 @@ import funHooks from 'fun-hooks'; export let hook = funHooks({ + useProxy: false, ready: funHooks.SYNC | funHooks.ASYNC | funHooks.QUEUE });