CCPA-opt-out beheren managing-ccpa-optout
De opt-outstatus van CCPA van een profiel kan worden gecontroleerd en worden geleid gebruikend ccpaOptOut profielattributen en de "waar"of "vals"waarden:
"ccpaOptOut": <value>
- waar: verbiedt de verkoop van persoonlijke informatie.
- vals: keurt de verkoop van persoonlijke informatie goed.
verzoeken van de Steekproef
-
Voorbeeld van een GET-aanvraag om de status voor een CCPA-uitschakelstatus van een profiel op te halen.
code language-none -X GET https://mc.adobe.io/<ORGANIZATION>/campaign/profilesAndServices/profile/<PKEY> \ -H 'Authorization: Bearer <ACCESS_TOKEN>' \ -H 'Cache-Control: no-cache' \ -H 'X-Api-Key: <API_KEY>' \ -H 'Content-Type: application/json;charset=utf-8'Antwoord op het GET-verzoek.
code language-none { "PKey": "<PKEY>", "ccpaOptOut": false, "firstName": "John", "lastName": "Doe", ... } -
Voorbeeld van POST-verzoek om een profiel voor CCPA-opt-out te markeren.
code language-none -X POST https://mc.adobe.io/<ORGANIZATION>/campaign/profilesAndServices/profile/ \ -H 'Authorization: Bearer <ACCESS_TOKEN>' \ -H 'Cache-Control: no-cache' \ -H 'X-Api-Key: <API_KEY>' \ -H 'Content-Type: application/json;charset=utf-8' -i -d { -d "firstName": "John", -d "lastName": "Doe", -d "email": "jdoe@mail.com", -d "ccpaOptOut": true -d }'Antwoord op het GET-verzoek.
code language-none { ... "email": "john.doe@mail.com", "firstName": "John", "lastName": "Doe", "ccpaOptOut": true, ... } -
Voorbeeld van een PATCH-verzoek om een profiel voor CCPA-opt-out bij te werken.
code language-none -X PATCH https://mc.adobe.io/<ORGANIZATION>/campaign/profilesAndServices/profile/<PKEY> \ -H 'Authorization: Bearer <ACCESS_TOKEN>' \ -H 'Cache-Control: no-cache' \ -H 'X-Api-Key: <API_KEY>' \ -H 'Content-Type: application/json;charset=utf-8' -i -d { -d "ccpaOptOut": true -d }'Antwoord op het GET-verzoek.
code language-none { ... "email": "john.doe@mail.com", "firstName": "John", "lastName": "Doe", "ccpaOptOut": true, ... }
recommendation-more-help
3ef63344-7f3d-48f9-85ed-02bf569c4fff