Google Ads Ad Manager V1 Client - Class MarketplaceComment (0.17.0)

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

Comment associated with a programmatic Proposal that has been sent to Marketplace.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ proposal string

Output only. The resource name of the Proposal the comment belongs to. Format: networks/{network_code}/proposals/{proposal}

↳ comment string

Output only. The comment made on the Proposal.

↳ create_time Google\Protobuf\Timestamp

Output only. The time at which the comment was created.

↳ commenter_role int

Output only. The role of the user who created the comment.

getProposal

Output only. The resource name of the Proposal the comment belongs to.

Format: networks/{network_code}/proposals/{proposal}

Returns
Type Description
string

hasProposal

clearProposal

setProposal

Output only. The resource name of the Proposal the comment belongs to.

Format: networks/{network_code}/proposals/{proposal}

Parameter
Name Description
var string
Returns
Type Description
$this

getComment

Output only. The comment made on the Proposal.

Returns
Type Description
string

hasComment

clearComment

setComment

Output only. The comment made on the Proposal.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The time at which the comment was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time at which the comment was created.

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

getCommenterRole

Output only. The role of the user who created the comment.

Returns
Type Description
int

hasCommenterRole

clearCommenterRole

setCommenterRole

Output only. The role of the user who created the comment.

Parameter
Name Description
var int
Returns
Type Description
$this