Represents a Google Ads excluded content label target. For a list of content labels, please see the page on [content
label type enum](https://developers.google.com/google-ads/api/reference/rpc/latest/ContentLabelTypeEnum.ContentLabelType).

### Methods:

| Member | Type | Description |
|---|---|---|
| [getBaseCampaign()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedcontentlabel#getBaseCampaign) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_campaign` | Returns the base campaign to which this excluded content label belongs. |
| [getCampaign()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedcontentlabel#getCampaign) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_campaign` | Returns the campaign to which this excluded content label 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_excludedcontentlabel#getCampaignType) | `String` | Returns the campaign type. |
| [getContentLabelType()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedcontentlabel#getContentLabelType) | `String` | Returns the content label type. |
| [getEntityType()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedcontentlabel#getEntityType) | `String` | Returns the type of this entity as a `String`, in this case, `"ExcludedContentLabel"`. |
| [getId()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedcontentlabel#getId) | `String` | Returns the ID of the excluded content label. |
| [getResourceName()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedcontentlabel#getResourceName) | `String` | Returns the resource name of the excluded content label. |
| [getVideoCampaign()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedcontentlabel#getVideoCampaign) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_videocampaign` | Returns the video campaign to which this excluded content label belongs or `null` if it does not belong to a video campaign. |
| [remove()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedcontentlabel#remove) | `void` | Removes the excluded content label. |

## `getBaseCampaign()`

Returns the base campaign to which this excluded content label belongs.

### Return values:

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

## `getCampaign()`

Returns the campaign to which this excluded content label 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 content label 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. |

## `getContentLabelType()`

Returns the content label type. Possible returned values for search or display campaigns:

`ADULTISH, AFE, BELOW_THE_FOLD, CONFLICT, DP, EMBEDDED_VIDEO,
GAMES, JUVENILE, PROFANITY, UGC_FORUMS, UGC_IMAGES, UGC_SOCIAL, UGC_VIDEOS,
TRAGEDY, SIRENS, VIDEO, VIDEO_RATING_DV_G, VIDEO_RATING_DV_PG,
VIDEO_RATING_DV_T, VIDEO_RATING_DV_MA, VIDEO_NOT_YET_RATED,
LIVE_STREAMING_VIDEO, NON_INTERSTITIAL`

Possible returned values for video campaigns:

`VIDEO_RATING_DV_G, VIDEO_RATING_DV_PG, VIDEO_RATING_DV_T,
VIDEO_RATING_DV_MA, VIDEO_NOT_YET_RATED, EMBEDDED_VIDEO,
LIVE_STREAMING_VIDEO, GAMES, VIDEO_SENS_TRAGEDY,
VIDEO_SENS_SOCIAL_ISSUES`

### Return values:

| Type | Description |
|---|---|
| `String` | The content label type. |

## `getEntityType()`

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

### Return values:

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

## `getId()`

Returns the ID of the excluded content label.

### Return values:

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

## `getResourceName()`

Returns the resource name of the excluded content label.

### Return values:

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

## `getVideoCampaign()`

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

## `remove()`

Removes the excluded content label.

Returns nothing.