Represents a Google Ads excluded audience configured for search campaigns.

### Methods:

| Member | Type | Description |
|---|---|---|
| [getAudienceId()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_searchcampaignexcludedaudience#getAudienceId) | `String` | Returns the audience ID of the excluded audience. |
| [getBaseCampaign()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_searchcampaignexcludedaudience#getBaseCampaign) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_campaign` | Returns the base campaign to which this excluded audience belongs. |
| [getCampaign()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_searchcampaignexcludedaudience#getCampaign) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_campaign` | Returns the campaign to which this excluded audience 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_searchcampaignexcludedaudience#getId) | `String` | Returns the ID of the excluded audience. |
| [getName()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_searchcampaignexcludedaudience#getName) | `String` | Returns the name of the audience. |
| [getResourceName()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_searchcampaignexcludedaudience#getResourceName) | `String` | Returns the resource name of the excluded audience. |
| [remove()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_searchcampaignexcludedaudience#remove) | `void` | Removes the excluded audience. |

## `getAudienceId()`

Returns the audience ID of the excluded audience.

### Return values:

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

## `getBaseCampaign()`

Returns the base campaign to which this excluded audience belongs.

### Return values:

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

## `getCampaign()`

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

## `getId()`

Returns the ID of the excluded audience.

### Return values:

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

## `getName()`

Returns the name of the audience.

### Return values:

| Type | Description |
|---|---|
| `String` | The name of the audience. |

## `getResourceName()`

Returns the resource name of the excluded audience.

### Return values:

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

## `remove()`

Removes the excluded audience.

Returns nothing.