Method: audienceMembers.remove

  • This document outlines how to remove a list of AudienceMember resources from provided Destinations using an HTTP POST request.

  • The request body requires specifying the list of destinations and the list of audience members to be removed.

  • Optional fields in the request body include validateOnly, encoding, and encryptionInfo.

  • A successful response body contains a requestId string.

  • The operation requires the https://www.googleapis.com/auth/datamanager OAuth scope for authorization.

Removes a list of AudienceMember resources from the provided Destination.

HTTP request

POST https://datamanager.googleapis.com/v1/audienceMembers:remove

The URL uses gRPC Transcoding syntax.

Request body

The request body contains data with the following structure:

JSON representation
{
  "destinations": [
    {
      object (Destination)
    }
  ],
  "audienceMembers": [
    {
      object (AudienceMember)
    }
  ],
  "validateOnly": boolean,
  "encoding": enum (Encoding),
  "encryptionInfo": {
    object (EncryptionInfo)
  }
}
Fields
destinations[]

object (Destination)

Required. The list of destinations to remove the users from.

audienceMembers[]

object (AudienceMember)

Required. The list of users to remove.

validateOnly

boolean

Optional. For testing purposes. If true, the request is validated but not executed. Only errors are returned, not results.

encoding

enum (Encoding)

Optional. Required for 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.

encryptionInfo

object (EncryptionInfo)

Optional. Encryption information for 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.

Response body

Response from the RemoveAudienceMembersRequest.

If successful, the response body contains data with the following structure:

JSON representation
{
  "requestId": string
}
Fields
requestId

string

The auto-generated ID of the request.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager