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 VideoPosition.

Represents a targetable position within a video.

Protobuf type `google.ads.admanager.v1.VideoPositionEnum.VideoPosition`

## Namespace

Google \\ Ads \\ AdManager \\ V1 \\ VideoPositionEnum

## Methods

### static::name

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

### static::value

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

## Constants

### VIDEO_POSITION_UNSPECIFIED

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

Generated from protobuf enum `VIDEO_POSITION_UNSPECIFIED = 0;`

### ALL

```php
Value: 1
```
Allow ad placement at any position within the video.

Generated from protobuf enum `ALL = 1;`

### MIDROLL

```php
Value: 2
```
Target ad placement during the video.

Generated from protobuf enum `MIDROLL = 2;`

### POSTROLL

```php
Value: 3
```
Target ad placement after the video ends.

Generated from protobuf enum `POSTROLL = 3;`

### PREROLL

```php
Value: 4
```
Target ad placement before the video starts.

Generated from protobuf enum `PREROLL = 4;`