Google Ads Ad Manager V1 Client - Class CmsContent (0.8.0)

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

Contains information about the Content from the CMS it was ingested from.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ content_source string

Output only. The resource name of the ContentSource this content was ingested from.

↳ content_source_display_name string

Output only. The display name of the ContentSource this content was ingested from.

↳ cms_content_id string

The ID of the Content in the CMS. This ID will be a 3rd party ID, usually the ID of the content in a CMS (Content Management System).

getContentSource

Output only. The resource name of the ContentSource this content was ingested from.

Returns
Type Description
string

hasContentSource

clearContentSource

setContentSource

Output only. The resource name of the ContentSource this content was ingested from.

Parameter
Name Description
var string
Returns
Type Description
$this

getContentSourceDisplayName

Output only. The display name of the ContentSource this content was ingested from.

Returns
Type Description
string

hasContentSourceDisplayName

clearContentSourceDisplayName

setContentSourceDisplayName

Output only. The display name of the ContentSource this content was ingested from.

Parameter
Name Description
var string
Returns
Type Description
$this

getCmsContentId

The ID of the Content in the CMS. This ID will be a 3rd party ID, usually the ID of the content in a CMS (Content Management System).

Returns
Type Description
string

hasCmsContentId

clearCmsContentId

setCmsContentId

The ID of the Content in the CMS. This ID will be a 3rd party ID, usually the ID of the content in a CMS (Content Management System).

Parameter
Name Description
var string
Returns
Type Description
$this