Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihkaya84 committed Apr 27, 2023
1 parent 38fd7ab commit f381a45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions modules/admaticBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,16 @@ export const spec = {
},
bidder: bid.bidder,
mediaType: bid.type,
ttl: 360
ttl: 60
};

if (resbid.mediaType === "video" && isUrl(bid.party_tag)) {
if (resbid.mediaType === 'video' && isUrl(bid.party_tag)) {
resbid.vastUrl = bid.party_tag;
resbid.vastImpUrl = bid.iurl;
} else if (resbid.mediaType === "video") {
} else if (resbid.mediaType === 'video') {
resbid.vastXml = bid.party_tag;
resbid.vastImpUrl = bid.iurl;
} else if (resbid.mediaType === "banner") {
} else if (resbid.mediaType === 'banner') {
resbid.ad = bid.party_tag;
};

Expand Down
4 changes: 2 additions & 2 deletions test/spec/modules/admaticBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ describe('admaticBidAdapter', () => {
'adomain': ['admatic.com.tr'],
'party_tag': '<div></div>',
'iurl': 'https://www.admatic.com.tr',
'type': "banner"
'type': 'banner'
}
],
'queryId': 'cdnbh24rlv0hhkpfpln0',
Expand All @@ -276,7 +276,7 @@ describe('admaticBidAdapter', () => {
meta: {
advertiserDomains: ['admatic.com.tr']
},
ttl: 360,
ttl: 60,
bidder: 'admatic'
}
];
Expand Down

0 comments on commit f381a45

Please sign in to comment.