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

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

A piece of content from a Publisher's CMS.

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

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 Content. Format: networks/{network_code}/content/{content_id}

↳ display_name string

Output only. The name of the Content.

getName

Identifier. The resource name of the Content.

Format: networks/{network_code}/content/{content_id}

Returns
Type Description
string

setName

Identifier. The resource name of the Content.

Format: networks/{network_code}/content/{content_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Output only. The name of the Content.

Returns
Type Description
string

hasDisplayName

clearDisplayName

setDisplayName

Output only. The name of the Content.

Parameter
Name Description
var string
Returns
Type Description
$this