0.15.1 (latest) 0.15.0 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 ExistingLineItemList.

[ExistingLineItemList](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ExistingLineItemList) is a
wrapper around a repeated field of string representing a
[LineItem](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.LineItem) resource name.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ line_items` | `string[]` Required. The list of [LineItem](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.LineItem) resource names to be forecasted. Format: `networks/{network_code}/lineItems/{line_item_id}` |

### getLineItems

Required. The list of [LineItem](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.LineItem) resource
names to be forecasted. Format:
`networks/{network_code}/lineItems/{line_item_id}`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setLineItems

Required. The list of [LineItem](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.LineItem) resource
names to be forecasted. Format:
`networks/{network_code}/lineItems/{line_item_id}`

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

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