Skip to content

Commit

Permalink
Adot Bid Adapter: add the advertising domains support
Browse files Browse the repository at this point in the history
  • Loading branch information
Giudici-a committed May 30, 2021
1 parent 84f70ff commit 94c55ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/adotBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,10 @@ function generateAdFromBid(bid, bidResponse, serverRequest) {
mediaType: bid.ext.adot.media_type,
};

if (bid.adomain) {
base.meta = { advertiserDomains: bid.adomain };
}

if (isBidANative(bid)) return {...base, native: formatNativeData(bid)};

const size = getSizeFromBid(bid, impressionData);
Expand Down

0 comments on commit 94c55ef

Please sign in to comment.