Skip to content

Commit

Permalink
Update Adtelligent, Adtarget, ViewDeos adapters to support adomain
Browse files Browse the repository at this point in the history
  • Loading branch information
GeneGenie committed Jun 2, 2021
1 parent a259700 commit dcb9f22
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion modules/adtargetBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@ function createBid(bidResponse, bidRequest) {
cpm: bidResponse.cpm,
netRevenue: true,
mediaType,
ttl: 300
ttl: 300,
meta: {
advertiserDomains: bid && bid.adomain ? bid.adomain : []
}
};

if (mediaType === BANNER) {
Expand Down
5 changes: 4 additions & 1 deletion modules/adtelligentBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,10 @@ function createBid(bidResponse, bidRequest) {
cpm: bidResponse.cpm,
netRevenue: true,
mediaType,
ttl: 300
ttl: 300,
meta: {
advertiserDomains: bid && bid.adomain ? bid.adomain : []
}
};

if (mediaType === BANNER) {
Expand Down
5 changes: 4 additions & 1 deletion modules/viewdeosDXBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,10 @@ function createBid(bidResponse, mediaType, bidderParams) {
cpm: bidResponse.cpm,
netRevenue: true,
mediaType,
ttl: 3600
ttl: 3600,
meta: {
advertiserDomains: bid && bid.adomain ? bid.adomain : []
}
};

if (mediaType === DISPLAY) {
Expand Down

0 comments on commit dcb9f22

Please sign in to comment.