Skip to content

Commit

Permalink
pubGENIUS bid adapter: update url (#7835)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-pubgenius authored Dec 9, 2021
1 parent 822ff85 commit a6758c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/pubgeniusBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
} from '../src/utils.js';

const BIDDER_VERSION = '1.1.0';
const BASE_URL = 'https://ortb.adpearl.io';
const BASE_URL = 'https://auction.adpearl.io';

export const spec = {
code: 'pubgenius',
Expand Down
6 changes: 3 additions & 3 deletions test/spec/modules/pubgeniusBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ describe('pubGENIUS adapter', () => {

expectedRequest = {
method: 'POST',
url: 'https://ortb.adpearl.io/prebid/auction',
url: 'https://auction.adpearl.io/prebid/auction',
data: {
id: 'fake-auction-id',
imp: [
Expand Down Expand Up @@ -493,7 +493,7 @@ describe('pubGENIUS adapter', () => {
};
expectedSync = {
type: 'iframe',
url: 'https://ortb.adpearl.io/usersync/pixels.html?',
url: 'https://auction.adpearl.io/usersync/pixels.html?',
};
});

Expand Down Expand Up @@ -551,7 +551,7 @@ describe('pubGENIUS adapter', () => {
onTimeout(timeoutData);

expect(server.requests[0].method).to.equal('POST');
expect(server.requests[0].url).to.equal('https://ortb.adpearl.io/prebid/events?type=timeout');
expect(server.requests[0].url).to.equal('https://auction.adpearl.io/prebid/events?type=timeout');
expect(JSON.parse(server.requests[0].requestBody)).to.deep.equal(timeoutData);
});
});
Expand Down

0 comments on commit a6758c9

Please sign in to comment.