0.17.0 (latest) 0.16.0 0.15.1 0.14.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.1 0.3.1 0.2.0 0.1.3 Reference documentation and code samples for the Google Ads Ad Manager V1 Client class TimeUnit.

Unit of time for the frequency cap.

Protobuf type `google.ads.admanager.v1.TimeUnitEnum.TimeUnit`

## Namespace

Google \\ Ads \\ AdManager \\ V1 \\ TimeUnitEnum

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### TIME_UNIT_UNSPECIFIED

```php
Value: 0
```
Default value. This value is unused.

Generated from protobuf enum `TIME_UNIT_UNSPECIFIED = 0;`

### MINUTE

```php
Value: 1
```
Minute

Generated from protobuf enum `MINUTE = 1;`

### HOUR

```php
Value: 2
```
Hour

Generated from protobuf enum `HOUR = 2;`

### DAY

```php
Value: 3
```
Day

Generated from protobuf enum `DAY = 3;`

### WEEK

```php
Value: 4
```
Week

Generated from protobuf enum `WEEK = 4;`

### MONTH

```php
Value: 5
```
Month

Generated from protobuf enum `MONTH = 5;`

### LIFETIME

```php
Value: 6
```
Lifetime

Generated from protobuf enum `LIFETIME = 6;`

### POD

```php
Value: 7
```
Per pod of ads in a video stream. Only valid for entities in a
VIDEO_PLAYER environment.

Generated from protobuf enum `POD = 7;`

### STREAM

```php
Value: 8
```
Per video stream. Only valid for entities in a VIDEO_PLAYER environment.

Generated from protobuf enum `STREAM = 8;`