From 33b178c04eb95bb8a301b4723cc06f918cbc7396 Mon Sep 17 00:00:00 2001 From: ayushman mishra Date: Sun, 4 Jul 2021 16:39:04 +0530 Subject: [PATCH 1/2] Updating x1 API documentation in akamaiDAPIdSystem --- dev-docs/modules/userId.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-docs/modules/userId.md b/dev-docs/modules/userId.md index b4912b19b2..6c98b629d1 100644 --- a/dev-docs/modules/userId.md +++ b/dev-docs/modules/userId.md @@ -539,7 +539,7 @@ In this system, no end-user identifier is supplied to the bid-stream, only cohor First, make sure to add the DAP submodule to your Prebid.js package with: ``` -gulp build --modules=akamaiDAPId,userId +gulp build --modules=akamaiDAPIdSystem,userId ``` The following configuration parameters are available: @@ -553,13 +553,18 @@ pbjs.setConfig({ apiHostname: '', domain: 'your-domain.com', type: 'email' | 'mobile' | ... | 'dap-signature:1.0.0', - identity: ‘your@email.com’ | ‘6175551234' | ... + identity: ‘your@email.com’ | ‘6175551234' | ..., + apiVersion: 'v1' | 'x1', + attributes: '{ "cohorts": [ "3:14400", "5:14400", "7:0" ],"first_name": "...","last_name": "..." }' }, }], auctionDelay: 50 // 50ms maximum auction delay, applies to all userId modules } }); ``` +In order to make use of v1 APIs, "apiVersion" needs to explicitly mentioned as 'v1'. The "apiVersion" defaults to x1 if not specified. +"attributes" can be configured in x1 API only and not v1 APIs. Please ensure that the "attributes" value is in same format as shown above. + Contact Prebid@akamai.com(Akamai account rep) for apiHostname. From ff0b63660690636022a1b00ce1cd4eb9d58385ce Mon Sep 17 00:00:00 2001 From: Jean Stemp <38964447+jeanstemp@users.noreply.github.com> Date: Thu, 8 Jul 2021 10:15:26 -0700 Subject: [PATCH 2/2] Update userId.md minor grammatical edit --- dev-docs/modules/userId.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-docs/modules/userId.md b/dev-docs/modules/userId.md index 6c98b629d1..652174fb0b 100644 --- a/dev-docs/modules/userId.md +++ b/dev-docs/modules/userId.md @@ -562,7 +562,7 @@ pbjs.setConfig({ } }); ``` -In order to make use of v1 APIs, "apiVersion" needs to explicitly mentioned as 'v1'. The "apiVersion" defaults to x1 if not specified. +In order to make use of v1 APIs, "apiVersion" needs to explicitly mention 'v1'. The "apiVersion" defaults to x1 if not specified. "attributes" can be configured in x1 API only and not v1 APIs. Please ensure that the "attributes" value is in same format as shown above. Contact Prebid@akamai.com(Akamai account rep) for apiHostname.