Reference documentation and code samples for the Google Ads Ad Manager V1 Client class ContentBundle.
A ContentBundle is a grouping of individual Content. A ContentBundle is defined as including the Content 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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The resource name of the ContentBundle. Format: |
↳ display_name |
string
Required. The name of the ContentBundle. This attribute is required and has a maximum length of 255 characters. |
↳ status |
int
Output only. The ContentBundleStatus of the ContentBundle. This attribute is read-only and defaults to ContentBundleStatus.INACTIVE. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The time the |
getName
Identifier. The resource name of the
ContentBundle. Format:
networks/{network_code}/contentBundles/{content_bundle_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The resource name of the
ContentBundle. Format:
networks/{network_code}/contentBundles/{content_bundle_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Required. The name of the ContentBundle. This attribute is required and has a maximum length of 255 characters.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Required. The name of the ContentBundle. 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. This attribute is read-only and defaults to ContentBundleStatus.INACTIVE.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ContentBundleStatus. |
setStatus
Output only. The ContentBundleStatus of the ContentBundle. This attribute is read-only and defaults to ContentBundleStatus.INACTIVE.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ContentBundleStatus. |
| 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 |
|