管理 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