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

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

A content label.

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

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 ContentLabel. Format: networks/{network_code}/contentLabels/{content_label_id}

↳ display_name string

Optional. The display name of the ContentLabel.

getName

Identifier. The resource name of the ContentLabel.

Format: networks/{network_code}/contentLabels/{content_label_id}

Returns
Type Description
string

setName

Identifier. The resource name of the ContentLabel.

Format: networks/{network_code}/contentLabels/{content_label_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Optional. The display name of the ContentLabel.

Returns
Type Description
string

setDisplayName

Optional. The display name of the ContentLabel.

Parameter
Name Description
var string
Returns
Type Description
$this