Represents a Google Ads frequency cap.

### Methods:

| Member | Type | Description |
|---|---|---|
| [getEntityType()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_frequencycap#getEntityType) | `String` | Returns the type of this entity as a `String`, in this case, `"FrequencyCap"`. |
| [getEventType()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_frequencycap#getEventType) | `String` | Returns type of event that the cap applies to. |
| [getLevel()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_frequencycap#getLevel) | `String` | Returns the level on which the cap is to be applied. |
| [getLimit()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_frequencycap#getLimit) | `long` | Returns the cap number for the frequency cap. |
| [getTimeUnit()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_frequencycap#getTimeUnit) | `String` | Returns the unit of time the cap is defined at. |

## `getEntityType()`

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

### Return values:

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

## `getEventType()`

Returns type of event that the cap applies to. Possible return values:

`IMPRESSION, VIDEO_VIEW`

### Return values:

| Type | Description |
|---|---|
| `String` | The type of event that the cap applies to. |

## `getLevel()`

Returns the level on which the cap is to be applied. Possible return values:

`CAMPAIGN, AD_GROUP, AD_GROUP_CREATIVE`

### Return values:

| Type | Description |
|---|---|
| `String` | The level on which the cap is to be applied. |

## `getLimit()`

Returns the cap number for the frequency cap.

### Return values:

| Type | Description |
|---|---|
| `long` | The cap number for the frequency cap. |

## `getTimeUnit()`

Returns the unit of time the cap is defined at. Possible return values:

`DAY, WEEK, MONTH`

### Return values:

| Type | Description |
|---|---|
| `String` | The unit of time the cap is defined at. |