Represents a Google Ads language target.

### Methods:

| Member | Type | Description |
|---|---|---|
| [getBaseCampaign()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_language#getBaseCampaign) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_campaign` | Returns the base campaign to which this language belongs. |
| [getCampaign()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_language#getCampaign) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_campaign` | Returns the campaign to which this language belongs or `null` if it does not belong to a search or display campaign. |
| [getCampaignType()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_language#getCampaignType) | `String` | Returns the campaign type. |
| [getEntityType()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_language#getEntityType) | `String` | Returns the type of this entity as a `String`, in this case, `"Language"`. |
| [getId()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_language#getId) | `String` | Returns the ID of the language. |
| [getName()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_language#getName) | `String` | Returns the language name, e.g., "English", "German". |
| [getResourceName()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_language#getResourceName) | `String` | Returns the resource name of the language. |
| [getVideoCampaign()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_language#getVideoCampaign) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_videocampaign` | Returns the video campaign to which this language belongs or `null` if it does not belong to a video campaign. |
| [remove()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_language#remove) | `void` | Removes the language. |

## `getBaseCampaign()`

Returns the base campaign to which this language belongs.

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_campaign` | The base campaign to which this language belongs. |

## `getCampaign()`

Returns the campaign to which this language belongs or `null` if it does not belong to a search or display campaign.

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_campaign` | The campaign to which this language belongs or `null` if it does not belong to a search or display campaign. |

## `getCampaignType()`

Returns the campaign type. Possible return values:

`SEARCH_OR_DISPLAY, VIDEO, SHOPPING`

### Return values:

| Type | Description |
|---|---|
| `String` | Video campaign type. |

## `getEntityType()`

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

### Return values:

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

## `getId()`

Returns the ID of the language.

### Return values:

| Type | Description |
|---|---|
| `String` | The ID of the language. |

## `getName()`

Returns the language name, e.g., "English", "German".

### Return values:

| Type | Description |
|---|---|
| `String` | Name of the language. |

## `getResourceName()`

Returns the resource name of the language.

### Return values:

| Type | Description |
|---|---|
| `String` | The resource name of the language. |

## `getVideoCampaign()`

Returns the video campaign to which this language belongs or `null` if it does not belong to a video campaign.

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_videocampaign` | The video campaign to which this language belongs or `null` if it does not belong to a video campaign. |

## `remove()`

Removes the language.

Returns nothing.