Skip to content

Commit

Permalink
Mediaforce Bid Adapter: support for adomain (#6961)
Browse files Browse the repository at this point in the history
* Update mediaforceBidAdapter.js

* Update mediaforceBidAdapter_spec.js

* Update mediaforceBidAdapter.js

* Update mediaforceBidAdapter.js
  • Loading branch information
patmmccann authored Jun 7, 2021
1 parent 9ed06b4 commit 4ff92fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/mediaforceBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ export const spec = {
currency: cur,
netRevenue: true,
ttl: serverBid.ttl || 300,
meta: {
advertiserDomains: serverBid.adomain ? serverBid.adomain : []
},
burl: serverBid.burl,
};
if (serverBid.dealid) {
Expand Down
3 changes: 3 additions & 0 deletions test/spec/modules/mediaforceBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ describe('mediaforce bid adapter', function () {
mediaType: BANNER,
requestId: bid.impid,
ttl: 300,
meta: { advertiserDomains: [] },
width: bid.w,
}]));
});
Expand Down Expand Up @@ -477,6 +478,7 @@ describe('mediaforce bid adapter', function () {
mediaType: NATIVE,
requestId: bid.impid,
ttl: 300,
meta: { advertiserDomains: [] },
}]));
});
});
Expand Down Expand Up @@ -560,6 +562,7 @@ describe('mediaforce bid adapter', function () {
mediaType: NATIVE,
requestId: bid.impid,
ttl: 300,
meta: { advertiserDomains: [] },
}]));
});
});
Expand Down

0 comments on commit 4ff92fa

Please sign in to comment.