Skip to content

Commit

Permalink
Conversant Adapter: fix response handling (#11122)
Browse files Browse the repository at this point in the history
Co-authored-by: johwier <john.wier@epsilon.com>
  • Loading branch information
johnwier and johwier authored Feb 20, 2024
1 parent ff58535 commit f58100a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion modules/conversantBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ const converter = ortbConverter({
const bidResponse = buildBidResponse(bid, context);
return bidResponse;
},

response(buildResponse, bidResponses, ortbResponse, context) {
const response = buildResponse(bidResponses, ortbResponse, context);
return response.bids;
},
overrides: {
imp: {
banner(fillBannerImp, imp, bidRequest, context) {
Expand Down
2 changes: 1 addition & 1 deletion test/spec/modules/conversantBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ describe('Conversant adapter tests', function() {

before(() => {
request = spec.buildRequests(bidRequests, {});
response = spec.interpretResponse(bidResponses, request).bids;
response = spec.interpretResponse(bidResponses, request);
});

it('Banner', function() {
Expand Down

0 comments on commit f58100a

Please sign in to comment.