Skip to content

Commit

Permalink
convert bidders: feedad
Browse files Browse the repository at this point in the history
  • Loading branch information
dgirardi committed May 20, 2022
1 parent effdac6 commit 8b66ebb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion modules/feedadBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ function buildRequests(validBidRequests, bidderRequest) {
})
});
data.bids.forEach(bid => BID_METADATA[bid.bidId] = {
referer: data.refererInfo.referer,
// TODO: is 'page' the right value here?
referer: data.refererInfo.page,
transactionId: bid.transactionId
});
if (bidderRequest.gdprConsent) {
Expand Down
4 changes: 2 additions & 2 deletions test/spec/modules/feedadBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('FeedAdAdapter', function () {
describe('buildRequests', function () {
const bidderRequest = {
refererInfo: {
referer: 'the referer'
page: 'the referer'
},
some: 'thing'
};
Expand Down Expand Up @@ -332,7 +332,7 @@ describe('FeedAdAdapter', function () {
const referer = 'the referer';
const bidderRequest = {
refererInfo: {
referer: referer
page: referer
},
some: 'thing'
};
Expand Down

0 comments on commit 8b66ebb

Please sign in to comment.