Skip to content

Commit

Permalink
added meta.adomain (#6977)
Browse files Browse the repository at this point in the history
  • Loading branch information
yieldlift authored Jun 9, 2021
1 parent 388ad4e commit f1d5e71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/yieldliftBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ export const spec = {
creativeId: bid.crid,
netRevenue: DEFAULT_NET_REVENUE,
currency: DEFAULT_CURRENCY,
meta: {
adomain: bid.adomain
}
})
})
} else {
Expand Down
1 change: 1 addition & 0 deletions test/spec/modules/yieldliftBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ describe('YieldLift', function () {
expect(bids[index]).to.have.property('height', RESPONSE.body.seatbid[0].bid[index].h);
expect(bids[index]).to.have.property('ad', RESPONSE.body.seatbid[0].bid[index].adm);
expect(bids[index]).to.have.property('creativeId', RESPONSE.body.seatbid[0].bid[index].crid);
expect(bids[index].meta).to.have.property('adomain', RESPONSE.body.seatbid[0].bid[index].adomain);
expect(bids[index]).to.have.property('ttl', 30);
expect(bids[index]).to.have.property('netRevenue', true);
}
Expand Down

0 comments on commit f1d5e71

Please sign in to comment.