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

Advertiser-assessed information about the user at the time that the event
happened. See <https://support.google.com/google-ads/answer/14007601> for more
details.

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

## Namespace

Google \\ Ads \\ DataManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ customer_type` | `int` Optional. Type of the customer associated with the event. |
| `↳ customer_value_bucket` | `int` Optional. The advertiser-assessed value of the customer. |
| `↳ additional_user_properties` | `array<https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserProperty>` Optional. A bucket of any additional [user properties](https://developers.google.com/analytics/devguides/collection/protocol/ga4/user-properties) for the user associated with this event. |

### getCustomerType

Optional. Type of the customer associated with the event.

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

### setCustomerType

Optional. Type of the customer associated with the event.

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

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

### getCustomerValueBucket

Optional. The advertiser-assessed value of the customer.

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

### setCustomerValueBucket

Optional. The advertiser-assessed value of the customer.

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

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

### getAdditionalUserProperties

Optional. A bucket of any additional [user
properties](https://developers.google.com/analytics/devguides/collection/protocol/ga4/user-properties)
for the user associated with this event.

| **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.UserProperty>` |   |

### setAdditionalUserProperties

Optional. A bucket of any additional [user
properties](https://developers.google.com/analytics/devguides/collection/protocol/ga4/user-properties)
for the user associated with this event.

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

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