Skip to content

Commit 6539e76

Browse files
authored
expose seedtag gvl id for TFC2 support (#7674)
1 parent 539d1b4 commit 6539e76

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

modules/seedtagBidAdapter.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ const ALLOWED_PLACEMENTS = {
1313
banner: true,
1414
video: true
1515
}
16+
17+
// Global Vendor List Id
18+
// https://iabeurope.eu/vendor-list-tcf-v2-0/
19+
const GVLID = 157;
20+
1621
const mediaTypesMap = {
1722
[BANNER]: 'display',
1823
[VIDEO]: 'video'
@@ -158,6 +163,7 @@ export function getTimeoutUrl (data) {
158163

159164
export const spec = {
160165
code: BIDDER_CODE,
166+
gvlid: GVLID,
161167
aliases: [SEEDTAG_ALIAS],
162168
supportedMediaTypes: [BANNER, VIDEO],
163169
/**

test/spec/modules/seedtagBidAdapter_spec.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,9 @@ describe('Seedtag Adapter', function() {
274274
expect(data.ga).to.equal(true)
275275
expect(data.cd).to.equal('consentString')
276276
})
277+
it('should expose gvlid', function() {
278+
expect(spec.gvlid).to.equal(157)
279+
})
277280
})
278281
})
279282

0 commit comments

Comments
 (0)