# REST Resource: accountTypes.accounts.userListDirectLicenses

- [Resource: UserListDirectLicense](https://developers.google.com/data-manager/api/reference/rest/v1/accountTypes.accounts.userListDirectLicenses#UserListDirectLicense)
  - [JSON representation](https://developers.google.com/data-manager/api/reference/rest/v1/accountTypes.accounts.userListDirectLicenses#UserListDirectLicense.SCHEMA_REPRESENTATION)
- [UserListLicenseClientAccountType](https://developers.google.com/data-manager/api/reference/rest/v1/accountTypes.accounts.userListDirectLicenses#UserListLicenseClientAccountType)
- [Methods](https://developers.google.com/data-manager/api/reference/rest/v1/accountTypes.accounts.userListDirectLicenses#METHODS_SUMMARY)

## Resource: UserListDirectLicense

A user list direct license.

This feature is only available to data partners.

| JSON representation |
|---|
| ``` { "name": string, "userListDisplayName": string, "clientAccountDisplayName": string, "pricing": { object (`https://developers.google.com/data-manager/api/reference/rest/v1/UserListLicensePricing`) }, "historicalPricings": [ { object (`https://developers.google.com/data-manager/api/reference/rest/v1/UserListLicensePricing`) } ], "metrics": { object (`https://developers.google.com/data-manager/api/reference/rest/v1/UserListLicenseMetrics`) }, "userListId": string, "clientAccountType": enum (`https://developers.google.com/data-manager/api/reference/rest/v1/accountTypes.accounts.userListDirectLicenses#UserListLicenseClientAccountType`), "clientAccountId": string, "status": enum (`https://developers.google.com/data-manager/api/reference/rest/v1/UserListLicenseStatus`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the user list direct license. |
| `userListDisplayName` | `string` Output only. Name of the user list being licensed. This field is read-only. |
| `clientAccountDisplayName` | `string` Output only. Name of client customer which the user list is being licensed to. This field is read-only. |
| `pricing` | ``object (`https://developers.google.com/data-manager/api/reference/rest/v1/UserListLicensePricing`)`` Optional. UserListDirectLicense pricing. |
| `historicalPricings[]` | ``object (`https://developers.google.com/data-manager/api/reference/rest/v1/UserListLicensePricing`)`` Output only. Pricing history of this user list license. This field is read-only. |
| `metrics` | ``object (`https://developers.google.com/data-manager/api/reference/rest/v1/UserListLicenseMetrics`)`` Output only. Metrics related to this license This field is read-only and only populated if the start and end dates are set in the userListDirectLicenses.list call |
| `userListId` | `string (https://developers.google.com/discovery/v1/type-format format)` Immutable. ID of the user list being licensed. |
| `clientAccountType` | ``enum (`https://developers.google.com/data-manager/api/reference/rest/v1/accountTypes.accounts.userListDirectLicenses#UserListLicenseClientAccountType`)`` Immutable. Account type of client customer which the user list is being licensed to. |
| `clientAccountId` | `string (https://developers.google.com/discovery/v1/type-format format)` Immutable. ID of client customer which the user list is being licensed to. |
| `status` | ``enum (`https://developers.google.com/data-manager/api/reference/rest/v1/UserListLicenseStatus`)`` Optional. Status of UserListDirectLicense - ENABLED or DISABLED. |

## UserListLicenseClientAccountType

Possible product of a client account for a user list license.

| Enums ||
|---|---|
| `USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_UNKNOWN` | Unknown. |
| `USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_GOOGLE_ADS` | Google Ads customer. |
| `USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_DISPLAY_VIDEO_PARTNER` | Display \& Video 360 partner. |
| `USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_DISPLAY_VIDEO_ADVERTISER` | Display \& Video 360 advertiser. |
| `USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_GOOGLE_AD_MANAGER_AUDIENCE_LINK` | Google Ad Manager audience link. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/data-manager/api/reference/rest/v1/accountTypes.accounts.userListDirectLicenses/create` | Creates a user list direct license. |
| ### `https://developers.google.com/data-manager/api/reference/rest/v1/accountTypes.accounts.userListDirectLicenses/get` | Retrieves a user list direct license. |
| ### `https://developers.google.com/data-manager/api/reference/rest/v1/accountTypes.accounts.userListDirectLicenses/list` | Lists all user list direct licenses owned by the parent account. |
| ### `https://developers.google.com/data-manager/api/reference/rest/v1/accountTypes.accounts.userListDirectLicenses/patch` | Updates a user list direct license. |