Skip to content

Commit 60a28ca

Browse files
committed
Update admaticBidAdapter.js
1 parent 31e69e8 commit 60a28ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/admaticBidAdapter.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ export const spec = {
104104
height: bid.height,
105105
currency: body.cur || 'TRY',
106106
netRevenue: true,
107-
ad: bid.party_tag,
107+
ad: bid.type == "banner" ? bid.party_tag : undefined,
108+
vastXml: bid.type == "video" ? bid.party_tag : undefined,
109+
vastImpUrl: bid.type == "video" ? bid.iurl : undefined,
108110
creativeId: bid.creative_id,
109111
meta: {
110112
advertiserDomains: bid && bid.adomain ? bid.adomain : []

0 commit comments

Comments
 (0)