Skip to content

Commit 0039e2b

Browse files
authored
Cadent Aperture MX Bid Adapter: migrate endpoints to ssp.cadent.com (#20) (prebid#15316)
Update bid, user sync, and outstream renderer URLs from legacy brealtime/emxdgt domains to Cadent SSP infrastructure.
1 parent 12ede54 commit 0039e2b

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎modules/cadent_aperture_mxBidAdapter.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import { parseDomain } from '../src/refererDetection.js';
1515
import { getDNT } from '../libraries/dnt/index.js';
1616

1717
const BIDDER_CODE = 'cadent_aperture_mx';
18-
const ENDPOINT = 'hb.emxdgt.com';
19-
const RENDERER_URL = 'https://js.brealtime.com/outstream/1.30.0/bundle.js';
18+
const ENDPOINT = 'hb-pub.ssp.cadent.com';
19+
const RENDERER_URL = 'https://js.ssp.cadent.com/outstream/1.30.0/bundle.js';
2020
const ADAPTER_VERSION = '1.5.1';
2121
const DEFAULT_CUR = 'USD';
2222
const ALIASES = [
@@ -374,7 +374,7 @@ export const spec = {
374374
const syncs = [];
375375
const consentParams = [];
376376
if (syncOptions.iframeEnabled) {
377-
let url = 'https://biddr.brealtime.com/check.html';
377+
let url = 'https://js.ssp.cadent.com/check.html';
378378
if (gdprConsent && typeof gdprConsent.consentString === 'string') {
379379
// add 'gdpr' only if 'gdprApplies' is defined
380380
if (typeof gdprConsent.gdprApplies === 'boolean') {

‎test/spec/modules/cadent_aperture_mxBidAdapter_spec.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ describe('cadent_aperture_mx Adapter', function () {
751751
const ad0 = result[0];
752752
const ad1 = result[1];
753753
expect(ad0.renderer).to.exist.and.to.be.a('object');
754-
expect(ad0.renderer.url).to.equal('https://js.brealtime.com/outstream/1.30.0/bundle.js');
754+
expect(ad0.renderer.url).to.equal('https://js.ssp.cadent.com/outstream/1.30.0/bundle.js');
755755
expect(ad0.renderer.id).to.equal('987654321cba');
756756
expect(ad1.renderer).to.equal(undefined);
757757
});
@@ -794,7 +794,7 @@ describe('cadent_aperture_mx Adapter', function () {
794794
expect(syncs).to.not.be.an('undefined');
795795
expect(syncs).to.have.lengthOf(1);
796796
expect(syncs[0].type).to.equal('iframe');
797-
expect(syncs[0].url).to.equal('https://biddr.brealtime.com/check.html');
797+
expect(syncs[0].url).to.equal('https://js.ssp.cadent.com/check.html');
798798
});
799799

800800
it('should pass gdpr params', function () {
@@ -805,7 +805,7 @@ describe('cadent_aperture_mx Adapter', function () {
805805
expect(syncs).to.have.lengthOf(1);
806806
expect(syncs[0].type).to.equal('iframe');
807807
expect(syncs[0].url).to.contains('gdpr=0');
808-
expect(syncs[0].url).to.equal('https://biddr.brealtime.com/check.html?gdpr=0&gdpr_consent=test');
808+
expect(syncs[0].url).to.equal('https://js.ssp.cadent.com/check.html?gdpr=0&gdpr_consent=test');
809809
});
810810

811811
it('should pass us_privacy string', function () {
@@ -832,7 +832,7 @@ describe('cadent_aperture_mx Adapter', function () {
832832
expect(syncs[0].type).to.equal('iframe');
833833
expect(syncs[0].url).to.contains('gdpr=1');
834834
expect(syncs[0].url).to.contains('usp=test');
835-
expect(syncs[0].url).to.equal('https://biddr.brealtime.com/check.html?gdpr=1&gdpr_consent=test&usp=test');
835+
expect(syncs[0].url).to.equal('https://js.ssp.cadent.com/check.html?gdpr=1&gdpr_consent=test&usp=test');
836836
});
837837

838838
it('should pass gpp string and section id', function() {
@@ -865,7 +865,7 @@ describe('cadent_aperture_mx Adapter', function () {
865865
expect(syncs[0].url).to.contains('gdpr=1');
866866
expect(syncs[0].url).to.contains('usp=test');
867867
expect(syncs[0].url).to.contains('gpp=abcdefgs');
868-
expect(syncs[0].url).to.equal('https://biddr.brealtime.com/check.html?gdpr=1&gdpr_consent=test&usp=test&gpp=abcdefgs&gpp_sid=1,2,4');
868+
expect(syncs[0].url).to.equal('https://js.ssp.cadent.com/check.html?gdpr=1&gdpr_consent=test&usp=test&gpp=abcdefgs&gpp_sid=1,2,4');
869869
});
870870
});
871871
});

0 commit comments

Comments
 (0)