Skip to content

Commit 4a9888f

Browse files
rename gothamads to intenze (#13032)
1 parent b247242 commit 4a9888f

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import { convertOrtbRequestToProprietaryNative } from '../src/native.js';
99
* @typedef {import('../src/adapters/bidderFactory.js').Bid} Bid
1010
*/
1111

12-
const BIDDER_CODE = 'gothamads';
12+
const BIDDER_CODE = 'intenze';
1313
const ACCOUNTID_MACROS = '[account_id]';
14-
const URL_ENDPOINT = `https://us-e-node1.gothamads.com/bid?pass=${ACCOUNTID_MACROS}&integration=prebidjs`;
14+
const URL_ENDPOINT = `https://lb-east.intenze.co/bid?pass=${ACCOUNTID_MACROS}&integration=prebidjs`;
1515
const NATIVE_ASSET_IDS = {
1616
0: 'title',
1717
2: 'icon',
@@ -136,10 +136,10 @@ export const spec = {
136136
*/
137137
interpretResponse: (serverResponse) => {
138138
if (!serverResponse || !serverResponse.body) return [];
139-
let GothamAdsResponse = serverResponse.body;
139+
let responses = serverResponse.body;
140140

141141
let bids = [];
142-
for (let response of GothamAdsResponse) {
142+
for (let response of responses) {
143143
let mediaType = response.seatbid[0].bid[0].ext && response.seatbid[0].bid[0].ext.mediaType ? response.seatbid[0].bid[0].ext.mediaType : BANNER;
144144

145145
let bid = {
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Overview
22

33
```
4-
Module Name: GothamAds SSP Bidder Adapter
4+
Module Name: Intenze SSP Bidder Adapter
55
Module Type: Bidder Adapter
6-
Maintainer: support@gothamads.com
6+
Maintainer: connect@intenze.co
77
```
88

99
# Description
1010

11-
Module that connects to GothamAds SSP demand sources
11+
Module that connects to Intenze SSP demand sources
1212

1313
# Test Parameters
1414
```
@@ -20,7 +20,7 @@ Module that connects to GothamAds SSP demand sources
2020
}
2121
},
2222
bids: [{
23-
bidder: 'gothamads',
23+
bidder: 'intenze',
2424
params: {
2525
placementId: 'hash',
2626
accountId: 'accountId'
@@ -60,7 +60,7 @@ Module that connects to GothamAds SSP demand sources
6060
6161
},
6262
bids: [ {
63-
bidder: 'gothamads',
63+
bidder: 'intenze',
6464
params: {
6565
placementId: 'hash',
6666
accountId: 'accountId'
@@ -92,7 +92,7 @@ Module that connects to GothamAds SSP demand sources
9292
} },
9393
bids: [
9494
{
95-
bidder: 'gothamads',
95+
bidder: 'intenze',
9696
params: {
9797
placementId: 'hash',
9898
accountId: 'accountId'

test/spec/modules/gothamadsBidAdapter_spec.js renamed to test/spec/modules/intenzeBidAdapter_spec.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect } from 'chai';
2-
import { spec } from 'modules/gothamadsBidAdapter.js';
2+
import { spec } from 'modules/intenzeBidAdapter';
33
import { config } from 'src/config.js';
44

55
const NATIVE_BID_REQUEST = {
@@ -32,7 +32,7 @@ const NATIVE_BID_REQUEST = {
3232
}
3333
}
3434
},
35-
bidder: 'gothamads',
35+
bidder: 'intenze',
3636
params: {
3737
placementId: 'hash',
3838
accountId: 'accountId'
@@ -51,7 +51,7 @@ const BANNER_BID_REQUEST = {
5151
]
5252
}
5353
},
54-
bidder: 'gothamads',
54+
bidder: 'intenze',
5555
params: {
5656
placementId: 'hash',
5757
accountId: 'accountId'
@@ -96,7 +96,7 @@ const VIDEO_BID_REQUEST = {
9696
}
9797
},
9898

99-
bidder: 'gothamads',
99+
bidder: 'intenze',
100100
params: {
101101
placementId: 'hash',
102102
accountId: 'accountId'
@@ -189,7 +189,7 @@ const NATIVE_BID_RESPONSE = {
189189
}],
190190
};
191191

192-
describe('GothamAdsAdapter', function () {
192+
describe('IntenzeAdapter', function () {
193193
describe('with COPPA', function () {
194194
beforeEach(function () {
195195
sinon.stub(config, 'getConfig')
@@ -235,7 +235,7 @@ describe('GothamAdsAdapter', function () {
235235
});
236236

237237
it('Returns valid URL', function () {
238-
expect(request.url).to.equal('https://us-e-node1.gothamads.com/bid?pass=accountId&integration=prebidjs');
238+
expect(request.url).to.equal('https://lb-east.intenze.co/bid?pass=accountId&integration=prebidjs');
239239
});
240240

241241
it('Returns empty data if no valid requests are passed', function () {
@@ -265,7 +265,7 @@ describe('GothamAdsAdapter', function () {
265265
});
266266

267267
it('Returns valid URL', function () {
268-
expect(request.url).to.equal('https://us-e-node1.gothamads.com/bid?pass=accountId&integration=prebidjs');
268+
expect(request.url).to.equal('https://lb-east.intenze.co/bid?pass=accountId&integration=prebidjs');
269269
});
270270
});
271271

@@ -284,7 +284,7 @@ describe('GothamAdsAdapter', function () {
284284
});
285285

286286
it('Returns valid URL', function () {
287-
expect(request.url).to.equal('https://us-e-node1.gothamads.com/bid?pass=accountId&integration=prebidjs');
287+
expect(request.url).to.equal('https://lb-east.intenze.co/bid?pass=accountId&integration=prebidjs');
288288
});
289289
});
290290

0 commit comments

Comments
 (0)