Google Ads Ad Manager V1 Client - Class ContentBundle (0.5.0)

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 \ 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. Format: networks/{network_code}/contentBundles/{content_bundle_id}

↳ display_name string

Required. The name of the ContentBundle. This attribute is required and has a maximum length of 255 characters.

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