JSFiddle - React, Tailwind, and code Playground
by madamek
HTML
/* =========== MODULE User ID: PubCommon ID EXAMPLE =========== */
userSync: {
userIds: [
{
name: "unifiedId" /* Required */,
params: {
/* Based on User ID sub-module */
partner: "myTtdPid"
},
storage: {
type: "cookie",
name: "pbjs-unifiedid",
expires: 60
}
},
{
name: "pubCommonId",
storage: {
type: "cookie",
name: "_pubcid",
expires: 180
//refreshInSeconds: Integer
}
//value: {"tdid": "1111", "pubcid": {2222}, "id5id": "ID5-12345" }
}
],
syncDelay: 5000 // 5 seconds after the first bidRequest()
}
/* =========== PubCommon ID MODULE END =========== */