Skip to content

Commit

Permalink
IQzone Bid Adapter : update user sync domain (#12320)
Browse files Browse the repository at this point in the history
* add IQZone adapter

* add endpointId param

* add user sync

* added gpp support

* added support of transanctionId and eids

* updated tests

* changed placement to plcmt

* upd user sync domain
  • Loading branch information
IQZoneAdx authored Oct 18, 2024
1 parent 4cc7d25 commit 5c246b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/iqzoneBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { isBidRequestValid, buildRequests, interpretResponse, getUserSyncs } fro

const BIDDER_CODE = 'iqzone';
const AD_URL = 'https://smartssp-us-east.iqzone.com/pbjs';
const SYNC_URL = 'https://cs.smartssp.iqzone.com';
const SYNC_URL = 'https://cs.iqzone.com';

export const spec = {
code: BIDDER_CODE,
Expand Down
7 changes: 3 additions & 4 deletions test/spec/modules/iqzoneBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,6 @@ describe('IQZoneBidAdapter', function () {
expect(serverResponses).to.be.an('array').that.is.empty;
});
});

describe('getUserSyncs', function() {
it('Should return array of objects with proper sync config , include GDPR', function() {
const syncData = spec.getUserSyncs({}, {}, {
Expand All @@ -485,7 +484,7 @@ describe('IQZoneBidAdapter', function () {
expect(syncData[0].type).to.be.a('string')
expect(syncData[0].type).to.equal('image')
expect(syncData[0].url).to.be.a('string')
expect(syncData[0].url).to.equal('https://cs.smartssp.iqzone.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0')
expect(syncData[0].url).to.equal('https://cs.iqzone.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0')
});
it('Should return array of objects with proper sync config , include CCPA', function() {
const syncData = spec.getUserSyncs({}, {}, {}, {
Expand All @@ -496,7 +495,7 @@ describe('IQZoneBidAdapter', function () {
expect(syncData[0].type).to.be.a('string')
expect(syncData[0].type).to.equal('image')
expect(syncData[0].url).to.be.a('string')
expect(syncData[0].url).to.equal('https://cs.smartssp.iqzone.com/image?pbjs=1&ccpa_consent=1---&coppa=0')
expect(syncData[0].url).to.equal('https://cs.iqzone.com/image?pbjs=1&ccpa_consent=1---&coppa=0')
});
it('Should return array of objects with proper sync config , include GPP', function() {
const syncData = spec.getUserSyncs({}, {}, {}, {}, {
Expand All @@ -508,7 +507,7 @@ describe('IQZoneBidAdapter', function () {
expect(syncData[0].type).to.be.a('string')
expect(syncData[0].type).to.equal('image')
expect(syncData[0].url).to.be.a('string')
expect(syncData[0].url).to.equal('https://cs.smartssp.iqzone.com/image?pbjs=1&gpp=abc123&gpp_sid=8&coppa=0')
expect(syncData[0].url).to.equal('https://cs.iqzone.com/image?pbjs=1&gpp=abc123&gpp_sid=8&coppa=0')
});
});
});

0 comments on commit 5c246b3

Please sign in to comment.