Skip to content
29 changes: 15 additions & 14 deletions integrationExamples/gpt/permutiveRtdProvider_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@

function setLocalStorageData () {
const data = {
// AC Signals
_psegs: ['1234', '1000001', '1000002'], // Standard cohorts (>= 1000000)
_pcrprs: ['pcrprs1', 'pcrprs2'], // DCR cohorts

// SSP Signals
_pssps: { ssps: ['appnexus', 'some other'], cohorts: ['abcd', 'efgh', 'ijkl'] },

// CC Signals - New unified custom cohorts model
_pprebid: ['custom1', 'custom2', 'custom3'], // Primary custom cohorts

// CC Signals - Legacy keys (merged with _pprebid)
_pdfps: ['gam1', 'gam2'],
_prubicons: ['rubicon1', 'rubicon2'],
_papns: ['appnexus1', 'appnexus2'],
_psegs: ['1234', '1000001', '1000002'],
_ppam: ['ppam1', 'ppam2'],
_pcrprs: ['pcrprs1', 'pcrprs2'],
_pssps: { ssps: ['appnexus', 'some other'], cohorts: ['abcd', 'efgh', 'ijkl'] },
_pindexs: ['index1', 'index2'],
}

for (let key in data) {
Expand Down Expand Up @@ -91,15 +99,6 @@
],
ozoneData: {}
}
},
{
bidder: 'trustx',
params: {
uid: 45,
keywords: {
test_kv: ['true']
}
}
}
]
},
Expand Down Expand Up @@ -150,7 +149,8 @@
name: 'permutive',
waitForIt: true,
params: {
acBidders: ['appnexus', 'rubicon', 'ozone', 'trustx', 'ix'],
acBidders: ['appnexus', 'rubicon', 'ozone', 'ix'],
ccBidders: ['ozone'], // Custom cohort bidders (ix, rubicon, appnexus, gam get them automatically)
maxSegs: 500,
transformations: [
{
Expand Down Expand Up @@ -179,6 +179,7 @@
]
}
});

pbjs.setBidderConfig({
bidders: ['appnexus', 'rubicon', 'ix'],
config: {
Expand Down
Loading
Loading