# Google Ads Data Manager V1 Client - Class PairData (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 PairData.

[PAIR](https://support.google.com/admanager/answer/15067908) IDs for the audience.

At least one PAIR ID is required.
This feature is only available to data partners.

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

## Namespace

Google \\ Ads \\ DataManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ pair_ids` | `string[]` Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted with an EC commutative cipher using publisher key for the [PAIR](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/(/support.google.com/admanager/answer/15067908)) user list. At most 10 `pairIds` can be provided in a single [AudienceMember](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.AudienceMember). |

### getPairIds

Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted
with an EC commutative cipher using publisher key for the
[PAIR](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/(/support.google.com/admanager/answer/15067908)) user list. At most
10 `pairIds` can be provided in a single
[AudienceMember](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.AudienceMember).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setPairIds

Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted
with an EC commutative cipher using publisher key for the
[PAIR](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/(/support.google.com/admanager/answer/15067908)) user list. At most
10 `pairIds` can be provided in a single
[AudienceMember](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.AudienceMember).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

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