Skip to content

Commit bf5b15f

Browse files
Bill Newmanvladis-teqblazeAiholkinMykhailo Yaremchuk
authored
Colossus Bid Adapter: update user sync (prebid#9327)
* add video&native traffic colossus ssp * Native obj validation * Native obj validation #2 * Added size field in requests * fixed test * fix merge conflicts * move to 3.0 * move to 3.0 * fix IE11 new URL issue * fix IE11 new URL issue * fix IE11 new URL issue * https for 3.0 * add https test * add ccp and schain features * fix test * sync with upstream, fix conflicts * Update colossussspBidAdapter.js remove commented code * Update colossussspBidAdapter.js lint fix * identity extensions * identity extensions * fix * fix * fix * fix * fix * add tests for user ids * fix * fix * fix * fix * fix * fix * fix * add gdpr support * add gdpr support * id5id support * Update colossussspBidAdapter.js add bidfloor parameter * Update colossussspBidAdapter.js check bidfloor * Update colossussspBidAdapter.js * Update colossussspBidAdapter.js * Update colossussspBidAdapter.js * Update colossussspBidAdapter_spec.js * use floor module * Revert "use floor module" This reverts commit f0c5c24. * use floor module * update to 5v * fix * add uid2 and bidFloor support * fix * add pbadslot support * fix conflicts * add onBidWon * refactor * add test for onBidWon() * fix * add group_id * Trigger circleci * fix * update user sync * fix window.location * fix test * updates * fix conflict * fix * updates * remove traffic param * add transactionId to request data for colossusssp adapter * Send tid in placements array * update user sync * updated tests * remove changes package-lock file * fix Co-authored-by: Vladislav Isaiko <[email protected]> Co-authored-by: Aiholkin <[email protected]> Co-authored-by: Mykhailo Yaremchuk <[email protected]>
1 parent d4b449f commit bf5b15f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/colossussspBidAdapter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export const spec = {
214214
},
215215

216216
getUserSyncs: (syncOptions, serverResponses, gdprConsent, uspConsent) => {
217-
let syncType = syncOptions.iframeEnabled ? 'html' : 'hms.gif';
217+
let syncType = syncOptions.iframeEnabled ? 'iframe' : 'image';
218218
let syncUrl = G_URL_SYNC + `/${syncType}?pbjs=1`;
219219
if (gdprConsent && gdprConsent.consentString) {
220220
if (typeof gdprConsent.gdprApplies === 'boolean') {

test/spec/modules/colossussspBidAdapter_spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@ describe('ColossussspAdapter', function () {
299299
expect(userSync).to.be.an('array').with.lengthOf(1);
300300
expect(userSync[0].type).to.exist;
301301
expect(userSync[0].url).to.exist;
302-
expect(userSync[0].type).to.be.equal('hms.gif');
303-
expect(userSync[0].url).to.be.equal('https://sync.colossusssp.com/hms.gif?pbjs=1&gdpr=0&gdpr_consent=xxx&ccpa_consent=1YN-&coppa=0');
302+
expect(userSync[0].type).to.be.equal('image');
303+
expect(userSync[0].url).to.be.equal('https://sync.colossusssp.com/image?pbjs=1&gdpr=0&gdpr_consent=xxx&ccpa_consent=1YN-&coppa=0');
304304
});
305305
});
306306
});

0 commit comments

Comments
 (0)