Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seedtag Bid Adapter: expose seedtag gvl id for TFC2 support #7674

Merged
merged 1 commit into from
Nov 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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