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

Settings for ad breaks on a livestream that are specific to preroll.

Generated from protobuf message `google.ads.admanager.v1.PrerollSettings`

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ ad_tag` | `string` Required. The Ad Manager ad tag URL generated by the Ad Manager trafficking workflow that is associated with this live stream. |
| `↳ max_ad_pod_duration` | `Google\Protobuf\Duration` Required. The maximum duration for an ad break. |

### getAdTag

Required. The Ad Manager ad tag URL generated by the Ad Manager trafficking
workflow that is associated with this live stream.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasAdTag

### clearAdTag

### setAdTag

Required. The Ad Manager ad tag URL generated by the Ad Manager trafficking
workflow that is associated with this live stream.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMaxAdPodDuration

Required. The maximum duration for an ad break.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Duration|null` |   |

### hasMaxAdPodDuration

### clearMaxAdPodDuration

### setMaxAdPodDuration

Required. The maximum duration for an ad break.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Duration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |