Represents a Google Ads account-level label.

### Methods:

| Member | Type | Description |
|---|---|---|
| [accounts()](https://developers.google.com/google-ads/scripts/docs/reference/adsmanagerapp/adsmanagerapp_accountlabel#accounts) | `https://developers.google.com/google-ads/scripts/docs/reference/adsmanagerapp/adsmanagerapp_managedaccountselector` | Returns the selector of all accounts to which the account label is applied. |
| [getEntityType()](https://developers.google.com/google-ads/scripts/docs/reference/adsmanagerapp/adsmanagerapp_accountlabel#getEntityType) | `String` | Returns the type of this entity as a `String`, in this case, `"AccountLabel"`. |
| [getId()](https://developers.google.com/google-ads/scripts/docs/reference/adsmanagerapp/adsmanagerapp_accountlabel#getId) | `String` | Returns the ID of the account label. |
| [getName()](https://developers.google.com/google-ads/scripts/docs/reference/adsmanagerapp/adsmanagerapp_accountlabel#getName) | `String` | Returns the name of the account label. |
| [getResourceName()](https://developers.google.com/google-ads/scripts/docs/reference/adsmanagerapp/adsmanagerapp_accountlabel#getResourceName) | `String` | Returns the resource name of the account label. |
| [remove()](https://developers.google.com/google-ads/scripts/docs/reference/adsmanagerapp/adsmanagerapp_accountlabel#remove) | `void` | Removes the account label. |
| [setName(name)](https://developers.google.com/google-ads/scripts/docs/reference/adsmanagerapp/adsmanagerapp_accountlabel#setName_name) | `void` | Changes the name of the account label. |

## `accounts()`

Returns the selector of all accounts to which the account label is applied.

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsmanagerapp/adsmanagerapp_managedaccountselector` | The selector of all accounts to which the account label is applied. |

## `getEntityType()`

Returns the type of this entity as a `String`, in this case, `"AccountLabel"`.

### Return values:

| Type | Description |
|---|---|
| `String` | Type of this entity: `"AccountLabel"`. |

## `getId()`

Returns the ID of the account label.

### Return values:

| Type | Description |
|---|---|
| `String` | ID of the account label. |

## `getName()`

Returns the name of the account label.

### Return values:

| Type | Description |
|---|---|
| `String` | Name of the account label. |

## `getResourceName()`

Returns the resource name of the account label.

### Return values:

| Type | Description |
|---|---|
| `String` | Resource name of the account label. |

## `remove()`

Removes the account label.

Returns nothing.

## `setName(name)`

Changes the name of the account label. The name must be unique, non-empty, and may not be longer than `40` characters. Any leading or trailing white spaces will be trimmed.

Returns nothing.

### Arguments:

| Name | Type | Description |
|---|---|---|
| name | `String` | The new name. |