The Data Manager API is in closed beta. To express interest in joining the closed beta, fill out
this form.
Method: audienceMembers.remove
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
HTTP 请求
POST https://datamanager.googleapis.com/v1/audienceMembers:remove
网址采用 gRPC 转码语法。
请求正文
请求正文中包含结构如下的数据:
字段 |
destinations[] |
object (Destination )
必需。要从中移除用户的目的地列表。
|
audienceMembers[] |
object (AudienceMember )
必需。要移除的用户列表。
|
validateOnly |
boolean
可选。用于测试目的。如果为 true ,则系统会验证请求,但不会执行请求。仅返回错误,不返回结果。
|
encoding |
enum (Encoding )
可选。对于 UserData 上传内容是必需的。用户标识符的编码类型。仅适用于加密用户标识符的外部编码。对于非 UserData 上传,系统会忽略此字段。
|
encryptionInfo |
object (EncryptionInfo )
可选。UserData 上传的加密信息。如果未设置,则假定上传的身份识别信息已进行哈希处理,但未加密。对于非 UserData 上传,系统会忽略此字段。
|
响应正文
来自 RemoveAudienceMembersRequest
的响应。
如果成功,响应正文将包含结构如下的数据:
JSON 表示法 |
{
"requestId": string
} |
字段 |
requestId |
string
请求的自动生成的 ID。
|
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/datamanager
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# Method: audienceMembers.remove\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.RemoveAudienceMembersResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRemoves a list of [AudienceMember](/data-manager/api/reference/rest/v1/AudienceMember) resources from the provided [Destination](/data-manager/api/reference/rest/v1/Destination).\n\n### HTTP request\n\n`POST https://datamanager.googleapis.com/v1/audienceMembers:remove`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"destinations\": [ { object (/data-manager/api/reference/rest/v1/Destination) } ], \"audienceMembers\": [ { object (/data-manager/api/reference/rest/v1/AudienceMember) } ], \"validateOnly\": boolean, \"encoding\": enum (/data-manager/api/reference/rest/v1/Encoding), \"encryptionInfo\": { object (/data-manager/api/reference/rest/v1/EncryptionInfo) } } ``` |\n\n| Fields ||\n|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `destinations[]` | `object (`[Destination](/data-manager/api/reference/rest/v1/Destination)`)` Required. The list of destinations to remove the users from. |\n| `audienceMembers[]` | `object (`[AudienceMember](/data-manager/api/reference/rest/v1/AudienceMember)`)` Required. The list of users to remove. |\n| `validateOnly` | `boolean` Optional. For testing purposes. If `true`, the request is validated but not executed. Only errors are returned, not results. |\n| `encoding` | `enum (`[Encoding](/data-manager/api/reference/rest/v1/Encoding)`)` Optional. Required for [UserData](/data-manager/api/reference/rest/v1/UserData) uploads. The encoding type of the user identifiers. Applies to only the outer encoding for encrypted user identifiers. For non `UserData` uploads, this field is ignored. |\n| `encryptionInfo` | `object (`[EncryptionInfo](/data-manager/api/reference/rest/v1/EncryptionInfo)`)` Optional. Encryption information for [UserData](/data-manager/api/reference/rest/v1/UserData) uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non `UserData` uploads, this field is ignored. |\n\n### Response body\n\nResponse from the `RemoveAudienceMembersRequest`.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------|\n| ``` { \"requestId\": string } ``` |\n\n| Fields ||\n|-------------|------------------------------------------------|\n| `requestId` | `string` The auto-generated ID of the request. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/datamanager`"]]