# Google Ads Data Manager V1 Client - Class RemoveAudienceMembersRequest (0.5.0)

0.5.0 (latest) 0.4.0 0.3.1 0.2.0 0.1.2 Reference documentation and code samples for the Google Ads Data Manager V1 Client class RemoveAudienceMembersRequest.

Request to remove users from an audience in the provided destinations.

Returns a
[RemoveAudienceMembersResponse](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.RemoveAudienceMembersResponse).

Generated from protobuf message `google.ads.datamanager.v1.RemoveAudienceMembersRequest`

## Namespace

Google \\ Ads \\ DataManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ destinations` | `array<https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.Destination>` Required. The list of destinations to remove the users from. |
| `↳ audience_members` | `array<https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.AudienceMember>` Required. The list of users to remove. |
| `↳ validate_only` | `bool` Optional. For testing purposes. If `true`, the request is validated but not executed. Only errors are returned, not results. |
| `↳ encoding` | `int` Optional. Required for [UserData](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/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. |
| `↳ encryption_info` | `https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.EncryptionInfo` Optional. Encryption information for [UserData](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/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. |

### getDestinations

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.Destination>` |   |

### setDestinations

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.Destination>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAudienceMembers

Required. The list of users to remove.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.AudienceMember>` |   |

### setAudienceMembers

Required. The list of users to remove.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.AudienceMember>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getValidateOnly

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setValidateOnly

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEncoding

Optional. Required for [UserData](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Encoding](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.Encoding). |

### setEncoding

Optional. Required for [UserData](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Encoding](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.Encoding). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEncryptionInfo

Optional. Encryption information for
[UserData](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.EncryptionInfo|null` |   |

### hasEncryptionInfo

### clearEncryptionInfo

### setEncryptionInfo

Optional. Encryption information for
[UserData](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.EncryptionInfo` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |