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

The information needed to prefetch ad requests for an ad break.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ stage_one_ad_request_duration` | `Google\Protobuf\Duration` Optional. The duration of the part of the break to be prefetched. |

### getStageOneAdRequestDuration

Optional. The duration of the part of the break to be prefetched.

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

### hasStageOneAdRequestDuration

### clearStageOneAdRequestDuration

### setStageOneAdRequestDuration

Optional. The duration of the part of the break to be prefetched.

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

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