From 36af4afbf8f6c2b33ef23fef58eaaca20977ccb7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Przemys=C5=82aw=20Kukulski?=
Date: Tue, 18 Jul 2023 14:59:52 +0200
Subject: [PATCH] PPCDP-1062 made consent ids consistent with TM and CM
---
.../customer_data_platform_activations_api.yaml | 6 +++---
customer_data_platform/components.yaml | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/customer_data_platform/authorized_api/customer_data_platform_activations_api.yaml b/customer_data_platform/authorized_api/customer_data_platform_activations_api.yaml
index 138f1109..ac630e9e 100644
--- a/customer_data_platform/authorized_api/customer_data_platform_activations_api.yaml
+++ b/customer_data_platform/authorized_api/customer_data_platform_activations_api.yaml
@@ -274,7 +274,7 @@ components:
type: array
items:
$ref: '../components.yaml#/components/schemas/ConsentType'
- example: ["remarketing", "ab_testing"]
+ example: ["ab_testing_and_personalization", "remarketing"]
Activation:
description: An object representing activation with all data for display
required:
@@ -376,7 +376,7 @@ components:
type: array
items:
$ref: '../components.yaml#/components/schemas/ConsentType'
- example: ["remarketing", "ab_testing"]
+ example: ["ab_testing_and_personalization", "remarketing"]
multiple:
description: Activate single profile multiple times, regardless if it was already activated
type: boolean
@@ -447,7 +447,7 @@ components:
type: array
items:
$ref: '../components.yaml#/components/schemas/ConsentType'
- example: ["remarketing", "ab_testing"]
+ example: ["ab_testing_and_personalization", "remarketing"]
multiple:
description: Activate single profile multiple times, regardless if it was already activated
type: boolean
diff --git a/customer_data_platform/components.yaml b/customer_data_platform/components.yaml
index 2641919b..227f30aa 100644
--- a/customer_data_platform/components.yaml
+++ b/customer_data_platform/components.yaml
@@ -272,13 +272,13 @@ components:
description: Actions a visitor may give consent for
type: string
enum:
- - ab_testing
- analytics
- - conversion
- - marketing
+ - ab_testing_and_personalization
+ - conversion_tracking
+ - marketing_automation
- remarketing
- user_feedback
- - custom1
+ - custom_consent
Definition:
description: Audience definition
type: object