Represents a Google Ads excluded topic.

### Methods:

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

## `getAdGroup()`

Returns the ad group to which this excluded topic belongs.

### Return values:

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

## `getBaseAdGroup()`

Returns the base ad group to which this excluded topic 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 topic belongs. |

## `getBaseCampaign()`

Returns the base campaign to which this excluded topic belongs.

### Return values:

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

## `getCampaign()`

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

## `getId()`

Returns the ID of the excluded topic.

### Return values:

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

## `getResourceName()`

Returns the resource name of the excluded topic.

### Return values:

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

## `getTopicId()`

Returns the topic ID of the excluded topic. The topic ID identifies the topic category. A list of valid topic IDs is available on our [Verticals](https://developers.google.com/google-ads/api/reference/data/verticals) page.

### Return values:

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

## `remove()`

Removes the excluded topic.

Returns nothing.