Skip to content

Commit

Permalink
expose seedtag gvl id for TFC2 support (prebid#7674)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybootin authored and Chris Pabst committed Jan 10, 2022
1 parent 27c3ad3 commit e7581e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/seedtagBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ const ALLOWED_PLACEMENTS = {
banner: true,
video: true
}

// Global Vendor List Id
// https://iabeurope.eu/vendor-list-tcf-v2-0/
const GVLID = 157;

const mediaTypesMap = {
[BANNER]: 'display',
[VIDEO]: 'video'
Expand Down Expand Up @@ -158,6 +163,7 @@ export function getTimeoutUrl (data) {

export const spec = {
code: BIDDER_CODE,
gvlid: GVLID,
aliases: [SEEDTAG_ALIAS],
supportedMediaTypes: [BANNER, VIDEO],
/**
Expand Down
3 changes: 3 additions & 0 deletions test/spec/modules/seedtagBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,9 @@ describe('Seedtag Adapter', function() {
expect(data.ga).to.equal(true)
expect(data.cd).to.equal('consentString')
})
it('should expose gvlid', function() {
expect(spec.gvlid).to.equal(157)
})
})
})

Expand Down

0 comments on commit e7581e3

Please sign in to comment.