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

A [ContentBundle](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundle.md.txt) is a grouping of
individual [Content](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content.md.txt). A
[ContentBundle](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundle.md.txt) is defined as
including the [Content](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Content.md.txt) that match certain
filter rules along with the option to explicitly include or exclude certain
Content IDs.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The resource name of the [ContentBundle](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundle.md.txt). Format: `networks/{network_code}/contentBundles/{content_bundle_id}` |
| `↳ display_name` | `string` Required. The name of the [ContentBundle](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundle.md.txt). This attribute is required and has a maximum length of 255 characters. |
| `↳ status` | `int` Output only. The ContentBundleStatus of the [ContentBundle](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundle.md.txt). This attribute is read-only and defaults to [ContentBundleStatusEnum.ContentBundleStatus.INACTIVE](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundleStatusEnum.ContentBundleStatus.md.txt#_Google_Ads_AdManager_V1_ContentBundleStatusEnum_ContentBundleStatus__INACTIVE). |
| `↳ update_time` | `Google\Protobuf\Timestamp` Output only. The time the `ContentBundle` was last modified. |

### getName

Identifier. The resource name of the
[ContentBundle](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundle.md.txt). Format:
`networks/{network_code}/contentBundles/{content_bundle_id}`

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

### setName

Identifier. The resource name of the
[ContentBundle](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundle.md.txt). Format:
`networks/{network_code}/contentBundles/{content_bundle_id}`

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

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

### getDisplayName

Required. The name of the
[ContentBundle](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundle.md.txt). This attribute is
required and has a maximum length of 255 characters.

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

### setDisplayName

Required. The name of the
[ContentBundle](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundle.md.txt). This attribute is
required and has a maximum length of 255 characters.

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

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

### getStatus

Output only. The ContentBundleStatus of the
[ContentBundle](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundle.md.txt). This attribute is
read-only and defaults to
[ContentBundleStatusEnum.ContentBundleStatus.INACTIVE](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundleStatusEnum.ContentBundleStatus.md.txt#_Google_Ads_AdManager_V1_ContentBundleStatusEnum_ContentBundleStatus__INACTIVE).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ContentBundleStatus](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundleStatusEnum.ContentBundleStatus.md.txt). |

### setStatus

Output only. The ContentBundleStatus of the
[ContentBundle](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundle.md.txt). This attribute is
read-only and defaults to
[ContentBundleStatusEnum.ContentBundleStatus.INACTIVE](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundleStatusEnum.ContentBundleStatus.md.txt#_Google_Ads_AdManager_V1_ContentBundleStatusEnum_ContentBundleStatus__INACTIVE).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ContentBundleStatus](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ContentBundleStatusEnum.ContentBundleStatus.md.txt). |

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

### getUpdateTime

Output only. The time the `ContentBundle` was last modified.

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

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. The time the `ContentBundle` was last modified.

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

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