Skip to content

Commit

Permalink
Connatix Bid Adapter: GPP Integration (#11229)
Browse files Browse the repository at this point in the history
* connatix adapter gpp integration

* Connatix adapter gpp integration fix and add test
  • Loading branch information
Sabau-Adrian-Cnx authored Mar 18, 2024
1 parent ecdeb25 commit 40dd3b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/connatixBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export const spec = {
ortb2: bidderRequest.ortb2,
gdprConsent: bidderRequest.gdprConsent,
uspConsent: bidderRequest.uspConsent,
gppConsent: bidderRequest.gppConsent,
refererInfo: bidderRequest.refererInfo,
bidRequests,
};
Expand Down
5 changes: 5 additions & 0 deletions test/spec/modules/connatixBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ describe('connatixBidAdapter', function () {
gdprApplies: true
},
uspConsent: '1YYY',
gppConsent: {
gppString: 'BOJ/P2HOJ/P2HABABMAAAAAZ+A==',
applicableSections: [7]
},
ortb2: {
site: {
data: {
Expand Down Expand Up @@ -128,6 +132,7 @@ describe('connatixBidAdapter', function () {
expect(serverRequest.data.refererInfo).to.equal(bidderRequest.refererInfo);
expect(serverRequest.data.gdprConsent).to.equal(bidderRequest.gdprConsent);
expect(serverRequest.data.uspConsent).to.equal(bidderRequest.uspConsent);
expect(serverRequest.data.gppConsent).to.equal(bidderRequest.gppConsent);
expect(serverRequest.data.ortb2).to.equal(bidderRequest.ortb2);
});
});
Expand Down

0 comments on commit 40dd3b6

Please sign in to comment.