Represents a Google Ads excluded Age criterion in a Video Campaign.

### Methods:

| Member | Type | Description |
|---|---|---|
| [getAgeRange()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedvideoage#getAgeRange) | `String` | Returns the age range. |
| [getEntityType()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedvideoage#getEntityType) | `String` | Returns the type of this entity as a `String`, in this case, `"ExcludedVideoAge"`. |
| [getId()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedvideoage#getId) | `String` | Returns the ID of the excluded video age. |
| [getResourceName()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedvideoage#getResourceName) | `String` | Returns the resource name of the excluded video age. |
| [getVideoAdGroup()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedvideoage#getVideoAdGroup) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_videoadgroup` | Returns the ad group to which this excluded video age belongs, or `null` if the excluded video age is excluded at the campaign level. |
| [getVideoCampaign()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedvideoage#getVideoCampaign) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_videocampaign` | Returns the campaign to which this excluded video age belongs. |
| [include()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedvideoage#include) | `void` | Enable this excluded video age in the ad group. |

## `getAgeRange()`

Returns the age range. Possible return values:

`AGE_RANGE_18_24, AGE_RANGE_25_34, AGE_RANGE_35_44,
AGE_RANGE_45_54, AGE_RANGE_55_64, AGE_RANGE_65_UP,
AGE_RANGE_UNDETERMINED` More details can be found on our [Age
Ranges](https://developers.google.com/google-ads/api/reference/data/codes-formats#age-ranges) page.

### Return values:

| Type | Description |
|---|---|
| `String` | The age range. |

## `getEntityType()`

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

### Return values:

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

## `getId()`

Returns the ID of the excluded video age.

### Return values:

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

## `getResourceName()`

Returns the resource name of the excluded video age.

### Return values:

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

## `getVideoAdGroup()`

Returns the ad group to which this excluded video age belongs, or `null` if the excluded video age is excluded at the campaign level.

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_videoadgroup` | The ad group to which this excluded video age belongs or `null`. |

## `getVideoCampaign()`

Returns the campaign to which this excluded video age belongs.

### Return values:

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

## `include()`

Enable this excluded video age in the ad group.

Returns nothing.