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

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

The Creative resource.

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

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 Creative. Format: networks/{network_code}/creatives/{creative_id}

↳ display_name string

Required. Display name of the Creative. This attribute has a maximum length of 255 characters.

getName

Identifier. The resource name of the Creative.

Format: networks/{network_code}/creatives/{creative_id}

Returns
Type Description
string

setName

Identifier. The resource name of the Creative.

Format: networks/{network_code}/creatives/{creative_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Required. Display name of the Creative. This attribute has a maximum length of 255 characters.

Returns
Type Description
string

hasDisplayName

clearDisplayName

setDisplayName

Required. Display name of the Creative. This attribute has a maximum length of 255 characters.

Parameter
Name Description
var string
Returns
Type Description
$this