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

The terms of service that the user has accepted/rejected.

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

## Namespace

Google \\ Ads \\ DataManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ customer_match_terms_of_service_status` | `int` Optional. The Customer Match terms of service: <https://support.google.com/adspolicy/answer/6299717>. This must be accepted when ingesting [UserData](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserData) or [MobileData](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.MobileData). This field is not required for Partner Match User list. |

### getCustomerMatchTermsOfServiceStatus

Optional. The Customer Match terms of service:
<https://support.google.com/adspolicy/answer/6299717>. This must be
accepted when ingesting
[UserData](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserData)
or [MobileData](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.MobileData).

This field is not required for Partner Match User list.

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

### setCustomerMatchTermsOfServiceStatus

Optional. The Customer Match terms of service:
<https://support.google.com/adspolicy/answer/6299717>. This must be
accepted when ingesting
[UserData](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserData)
or [MobileData](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.MobileData).

This field is not required for Partner Match User list.

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

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