0.16.0 (latest) 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 RunDeliveryForecastRequest.

Request object for RunDeliveryForecast method.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ existing_line_items` | `https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ExistingLineItemList` Optional. The resource names of the [LineItems](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.LineItem) to be forecasted. |
| `↳ parent` | `string` Required. Format: `networks/{network_code}` |
| `↳ delivery_forecast_options` | `https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.DeliveryForecastOptions` Required. The delivery forecast options. |

### getExistingLineItems

Optional. The resource names of the
[LineItems](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.LineItem) to be forecasted.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ExistingLineItemList|null` |   |

### hasExistingLineItems

### setExistingLineItems

Optional. The resource names of the
[LineItems](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.LineItem) to be forecasted.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ExistingLineItemList` |

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

### getParent

Required. Format: `networks/{network_code}`

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

### setParent

Required. Format: `networks/{network_code}`

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

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

### getDeliveryForecastOptions

Required. The delivery forecast options.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.DeliveryForecastOptions|null` |   |

### hasDeliveryForecastOptions

### clearDeliveryForecastOptions

### setDeliveryForecastOptions

Required. The delivery forecast options.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.DeliveryForecastOptions` |

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

### getLineItemData

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Format: `networks/{network_code}` Please see ForecastServiceClient::networkName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.RunDeliveryForecastRequest` |   |