管理 CCPA 選擇退出 managing-ccpa-optout
可以使用 ccpaOptOut 設定檔屬性和"true"或"false"值來監視和管理設定檔的CCPA選擇退出狀態:
"ccpaOptOut": <value>
- true:禁止銷售個人資訊。
- false:授權個人資訊銷售。
範例要求
-
擷取設定檔CCPA選擇退出狀態的範例GET要求。
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'
對GET要求的回應。
code language-none { "PKey": "<PKEY>", "ccpaOptOut": false, "firstName": "John", "lastName": "Doe", ... }
-
標示CCPA選擇退出之設定檔的範例POST要求。
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 }'
對GET要求的回應。
code language-none { ... "email": "john.doe@mail.com", "firstName": "John", "lastName": "Doe", "ccpaOptOut": true, ... }
-
更新CCPA選擇退出之設定檔的範例PATCH要求。
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 }'
對GET要求的回應。
code language-none { ... "email": "john.doe@mail.com", "firstName": "John", "lastName": "Doe", "ccpaOptOut": true, ... }
recommendation-more-help
3ef63344-7f3d-48f9-85ed-02bf569c4fff