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

Information about a customer of a user list global license. This will
automatically be created by the system when a customer purchases a global
license.

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

## Namespace

Google \\ Ads \\ DataManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The resource name of the user list global license customer. |
| `↳ user_list_id` | `int|string` Output only. ID of the user list being licensed. |
| `↳ user_list_display_name` | `string` Output only. Name of the user list being licensed. |
| `↳ license_type` | `int` Output only. Product type of client customer which the user list is being licensed to. |
| `↳ status` | `int` Output only. Status of UserListDirectLicense - ENABLED or DISABLED. |
| `↳ pricing` | `https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserListLicensePricing` Output only. UserListDirectLicense pricing. |
| `↳ client_account_type` | `int` Output only. Product type of client customer which the user list is being licensed to. |
| `↳ client_account_id` | `int|string` Output only. ID of client customer which the user list is being licensed to. |
| `↳ client_account_display_name` | `string` Output only. Name of client customer which the user list is being licensed to. |
| `↳ historical_pricings` | `array<https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserListLicensePricing>` Output only. Pricing history of this user list license. |
| `↳ metrics` | `https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserListLicenseMetrics` Output only. Metrics related to this license This field is only populated if the start and end dates are set in the ListUserListGlobalLicenseCustomerInfos call. |

### getName

Identifier. The resource name of the user list global license customer.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Identifier. The resource name of the user list global license customer.

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

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

### getUserListId

Output only. ID of the user list being licensed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setUserListId

Output only. ID of the user list being licensed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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

### getUserListDisplayName

Output only. Name of the user list being licensed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setUserListDisplayName

Output only. Name of the user list being licensed.

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

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

### getLicenseType

Output only. Product type of client customer which the user list is being
licensed to.

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

### setLicenseType

Output only. Product type of client customer which the user list is being
licensed to.

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

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

### getStatus

Output only. Status of UserListDirectLicense - ENABLED or DISABLED.

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

### setStatus

Output only. Status of UserListDirectLicense - ENABLED or DISABLED.

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

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

### getPricing

Output only. UserListDirectLicense pricing.

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

### hasPricing

### clearPricing

### setPricing

Output only. UserListDirectLicense pricing.

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

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

### getClientAccountType

Output only. Product type of client customer which the user list is being
licensed to.

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

### setClientAccountType

Output only. Product type of client customer which the user list is being
licensed to.

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

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

### getClientAccountId

Output only. ID of client customer which the user list is being licensed
to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setClientAccountId

Output only. ID of client customer which the user list is being licensed
to.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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

### getClientAccountDisplayName

Output only. Name of client customer which the user list is being licensed
to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setClientAccountDisplayName

Output only. Name of client customer which the user list is being licensed
to.

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

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

### getHistoricalPricings

Output only. Pricing history of this user list license.

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

### setHistoricalPricings

Output only. Pricing history of this user list license.

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

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

### getMetrics

Output only. Metrics related to this license
This field is only populated if the start and end dates are set in the
ListUserListGlobalLicenseCustomerInfos call.

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

### hasMetrics

### clearMetrics

### setMetrics

Output only. Metrics related to this license
This field is only populated if the start and end dates are set in the
ListUserListGlobalLicenseCustomerInfos call.

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

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