Skip to content

Commit

Permalink
Admixer adapter update - add deal id (#6042)
Browse files Browse the repository at this point in the history
* Migrating to Prebid 1.0

* Migrating to Prebid 1.0

* Fix spec

* add gdpr and usp

* remove changes in gdpr_hello_world.html

* Update gdpr_hello_world.html

add spaces

* add user syncs

* remove comments

* tests

* add-deal-id

Co-authored-by: atkachov <atkachov91@admixer.ua>
  • Loading branch information
Galphimbl and atkachov authored Dec 1, 2020
1 parent 0820790 commit 24cae18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions modules/admixerBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const spec = {
netRevenue: bidResponse.netRevenue,
currency: bidResponse.currency,
vastUrl: bidResponse.vastUrl,
dealId: bidResponse.dealId,
};
bidResponses.push(bidResp);
});
Expand Down
4 changes: 3 additions & 1 deletion test/spec/modules/admixerBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ describe('AdmixerAdapter', function () {
'creativeId': 'ccca3e5e-0c54-4761-9667-771322fbdffc',
'ttl': 360,
'netRevenue': false,
'bidId': '5e4e763b6bc60b'
'bidId': '5e4e763b6bc60b',
'dealId': 'asd123',
}]
}
};
Expand All @@ -107,6 +108,7 @@ describe('AdmixerAdapter', function () {
'currency': ads[0].currency,
'netRevenue': ads[0].netRevenue,
'ttl': ads[0].ttl,
'dealId': ads[0].dealId,
}
];

Expand Down

0 comments on commit 24cae18

Please sign in to comment.