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

A [LineItem](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.LineItem.md.txt) or ProposalLineItem to be
forecasted along with an optional override advertiser.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ line_item` | `LineItem` Optional. The [LineItem](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.LineItem.md.txt) to be forecasted. |
| `↳ advertiser` | `string` Optional. The resource name of the advertiser [Company](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Company.md.txt) for the prospective line item. Format: `networks/{network_code}/companies/{company_id}` |

### getLineItem

Optional. The [LineItem](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.LineItem.md.txt) to be
forecasted.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `LineItem|null` |   |

### hasLineItem

### setLineItem

Optional. The [LineItem](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.LineItem.md.txt) to be
forecasted.

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

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

### getAdvertiser

Optional. The resource name of the advertiser
[Company](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Company.md.txt) for the prospective line item.

Format: `networks/{network_code}/companies/{company_id}`

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

### setAdvertiser

Optional. The resource name of the advertiser
[Company](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Company.md.txt) for the prospective line item.

Format: `networks/{network_code}/companies/{company_id}`

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

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

### getLineItemEntry

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