Skip to content

Commit

Permalink
glomex Bidder: expose glomex GVL id (prebid#9262)
Browse files Browse the repository at this point in the history
  • Loading branch information
klipstein authored Nov 18, 2022
1 parent 974e21d commit 2d46b82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/glomexBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import {BANNER} from '../src/mediaTypes.js';

const ENDPOINT = 'https://prebid.mes.glomex.cloud/request-bid'
const BIDDER_CODE = 'glomex'
const GVLID = 967

export const spec = {
code: BIDDER_CODE,
gvlid: GVLID,
supportedMediaTypes: [BANNER],

isBidRequestValid: function (bid) {
Expand Down
4 changes: 4 additions & 0 deletions test/spec/modules/glomexBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ const RESPONSE = {
describe('glomexBidAdapter', function () {
const adapter = newBidder(spec)

it('should expose gvlid', function() {
expect(spec.gvlid).to.equal(967)
});

describe('inherited functions', function () {
it('exists and is a function', function () {
expect(adapter.callBids).to.exist.and.to.be.a('function')
Expand Down

0 comments on commit 2d46b82

Please sign in to comment.