From 5456b5cc317df7904c8f8d778626008227fe71b7 Mon Sep 17 00:00:00 2001 From: Rick Berman Date: Tue, 30 Jul 2019 13:46:27 -0700 Subject: [PATCH 1/2] PBID-2 Adding Parrable example to cookie config --- modules/userId/userId.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/userId/userId.md b/modules/userId/userId.md index 04bd34d13b94..891cca244b9c 100644 --- a/modules/userId/userId.md +++ b/modules/userId/userId.md @@ -42,6 +42,16 @@ pbjs.setConfig({ name: 'idl_env', expires: 60 } + }, { + name: 'parrableId', + params: { + partners: [ "30182847-e426-4ff9-b2b5-9ca1324ea09b" ] // Replace the list contents with the Parrable Partner Client IDs for Parrable-aware bid adapters in use + }, + storage: { + type: 'cookie', + name: '_parrable_eid', + expires: 365 + } }], syncDelay: 5000 } From c1e7a489f9a3c7a0c696d139c89b668f4d00e1fa Mon Sep 17 00:00:00 2001 From: Rick Berman Date: Tue, 30 Jul 2019 17:42:28 -0700 Subject: [PATCH 2/2] PBID-2 Added Parrable ID to the integration example for UserId Removed unnecessary trailing commas (,) in the overall config object so as to match the similar example config object in modules/userId/userId.md. --- integrationExamples/gpt/userId_example.html | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/integrationExamples/gpt/userId_example.html b/integrationExamples/gpt/userId_example.html index 5878d05aecd3..215061e00769 100644 --- a/integrationExamples/gpt/userId_example.html +++ b/integrationExamples/gpt/userId_example.html @@ -139,7 +139,7 @@ type: "html5", name: "unifiedid", expires: 30 - }, + } }, { name: "id5Id", params: { @@ -149,15 +149,14 @@ type: "cookie", name: "id5id", expires: 90 - }, - + } }, { name: "pubCommonId", storage: { type: "cookie", name: "pubcid", expires: 365 - }, + } // value: { // foo: '9879878907987', // bar:'93939' @@ -172,7 +171,17 @@ name: 'idl_env', expires: 60 } - }], + },{ + name: "parrableId", + params: { + partners: `['30182847-e426-4ff9-b2b5-9ca1324ea09b']` // change to the Parrable Partner Client ID(s) you received from the Parrable Partners you are using + }, + storage: { + type: "cookie", + name: "_parrable_eid", // create a cookie with this name + expires: 365 // cookie can last for a year + } + }], syncDelay: 5000 } });