Google Ads Ad Manager V1 Client - Class CreativeSet (0.14.1)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class CreativeSet.

A CreativeSet is comprised of a master Creative and its companion Creatives.

Generated from protobuf message google.ads.admanager.v1.CreativeSet

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 CreativeSet. Format: networks/{network_code}/creativeSets/{creative_set_id}

↳ display_name string

Required. The name of the CreativeSet. This attribute has a maximum length of 255 characters.

↳ master_creative string

Required. Immutable. The master Creative to which the CreativeSet is associated.

↳ companion_creatives string[]

Required. The resource names of the companion Creatives associated with this CreativeSet. Format: networks/{network_code}/creatives/{creative}

↳ update_time Google\Protobuf\Timestamp

Output only. The time this CreativeSet was last modified.

getName

Identifier. The resource name of the CreativeSet.

Format: networks/{network_code}/creativeSets/{creative_set_id}

Returns
Type Description
string

setName

Identifier. The resource name of the CreativeSet.

Format: networks/{network_code}/creativeSets/{creative_set_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Required. The name of the CreativeSet. This attribute has a maximum length of 255 characters.

Returns
Type Description
string

hasDisplayName

clearDisplayName

setDisplayName

Required. The name of the CreativeSet. This attribute has a maximum length of 255 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

getMasterCreative

Required. Immutable. The master Creative to which the CreativeSet is associated.

Returns
Type Description
string

hasMasterCreative

clearMasterCreative

setMasterCreative

Required. Immutable. The master Creative to which the CreativeSet is associated.

Parameter
Name Description
var string
Returns
Type Description
$this

getCompanionCreatives

Required. The resource names of the companion Creatives associated with this CreativeSet. Format: networks/{network_code}/creatives/{creative}

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setCompanionCreatives

Required. The resource names of the companion Creatives associated with this CreativeSet. Format: networks/{network_code}/creatives/{creative}

Parameter
Name Description
var string[]
Returns
Type Description
$this

getUpdateTime

Output only. The time this CreativeSet was last modified.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time this CreativeSet was last modified.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this