Represents a Google Ads excluded YouTube Channel.

### Methods:

| Member | Type | Description |
|---|---|---|
| [getAdGroup()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedyoutubechannel#getAdGroup) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_adgroup` | Returns the ad group to which this excluded YouTube channel belongs. |
| [getBaseAdGroup()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedyoutubechannel#getBaseAdGroup) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_adgroup` | Returns the base ad group to which this excluded YouTube channel belongs. |
| [getBaseCampaign()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedyoutubechannel#getBaseCampaign) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_campaign` | Returns the base campaign to which this excluded YouTube channel belongs. |
| [getCampaign()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedyoutubechannel#getCampaign) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_campaign` | Returns the campaign to which this excluded YouTube channel belongs or `null` if it does not belong to a search or display campaign. |
| [getChannelId()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedyoutubechannel#getChannelId) | `String` | Returns the YouTube channel ID. |
| [getId()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedyoutubechannel#getId) | `String` | Returns the ID of the excluded YouTube channel. |
| [getResourceName()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedyoutubechannel#getResourceName) | `String` | Returns the resource name of the excluded YouTube channel. |
| [remove()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedyoutubechannel#remove) | `void` | Removes the excluded YouTube channel. |

## `getAdGroup()`

Returns the ad group to which this excluded YouTube channel belongs.

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_adgroup` | The ad group to which this excluded YouTube channel belongs. |

## `getBaseAdGroup()`

Returns the base ad group to which this excluded YouTube channel belongs.

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_adgroup` | The base ad group to which this excluded YouTube channel belongs. |

## `getBaseCampaign()`

Returns the base campaign to which this excluded YouTube channel belongs.

### Return values:

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

## `getCampaign()`

Returns the campaign to which this excluded YouTube channel 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 excluded YouTube channel belongs or `null` if it does not belong to a search or display campaign. |

## `getChannelId()`

Returns the YouTube channel ID.

### Return values:

| Type | Description |
|---|---|
| `String` | The YouTube channel ID. |

## `getId()`

Returns the ID of the excluded YouTube channel.

### Return values:

| Type | Description |
|---|---|
| `String` | The ID of the excluded YouTube channel. |

## `getResourceName()`

Returns the resource name of the excluded YouTube channel.

### Return values:

| Type | Description |
|---|---|
| `String` | The resource name of the excluded YouTube channel. |

## `remove()`

Removes the excluded YouTube channel.

Returns nothing.