Skip to content

Commit

Permalink
Update admaticBidAdapter.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihkaya84 committed Apr 26, 2023
1 parent 31e69e8 commit 60a28ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/admaticBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ export const spec = {
height: bid.height,
currency: body.cur || 'TRY',
netRevenue: true,
ad: bid.party_tag,
ad: bid.type == "banner" ? bid.party_tag : undefined,
vastXml: bid.type == "video" ? bid.party_tag : undefined,
vastImpUrl: bid.type == "video" ? bid.iurl : undefined,
creativeId: bid.creative_id,
meta: {
advertiserDomains: bid && bid.adomain ? bid.adomain : []
Expand Down

0 comments on commit 60a28ca

Please sign in to comment.