Skip to content

Commit d43effa

Browse files
Omnidex update details (#14021)
* adding glvid to the omnidex * fixing test
1 parent e125239 commit d43effa

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

modules/omnidexBidAdapter.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {
1212
const DEFAULT_SUB_DOMAIN = 'exchange';
1313
const BIDDER_CODE = 'omnidex';
1414
const BIDDER_VERSION = '1.0.0';
15+
const GVLID = 1463;
1516
export const storage = getStorageManager({bidderCode: BIDDER_CODE});
1617

1718
export function createDomain(subDomain = DEFAULT_SUB_DOMAIN) {
@@ -41,7 +42,8 @@ export const spec = {
4142
buildRequests,
4243
interpretResponse,
4344
getUserSyncs,
44-
onBidWon
45+
onBidWon,
46+
gvlid: GVLID,
4547
};
4648

4749
registerBidder(spec);

test/spec/modules/programmaticXBidAdapter_spec.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,10 @@ describe('programmaticXBidAdapter', function () {
242242
expect(adapter.code).to.exist.and.to.be.a('string');
243243
});
244244

245+
it('exists and is a number', function () {
246+
expect(adapter.gvlid).to.exist.and.to.be.a('number');
247+
})
248+
245249
it('exists and contains media types', function () {
246250
expect(adapter.supportedMediaTypes).to.exist.and.to.be.an('array').with.length(2);
247251
expect(adapter.supportedMediaTypes).to.contain.members([BANNER, VIDEO]);

0 commit comments

Comments
 (0)