Google Ads Ad Manager V1 Client - Class GetLabelRequest (0.7.0)

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

Request object for GetLabel method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the Label. Format: networks/{network_code}/labels/{label_id}

getName

Required. The resource name of the Label.

Format: networks/{network_code}/labels/{label_id}

Returns
Type Description
string

setName

Required. The resource name of the Label.

Format: networks/{network_code}/labels/{label_id}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the Label. Format: networks/{network_code}/labels/{label_id} Please see LabelServiceClient::labelName() for help formatting this field.

Returns
Type Description
GetLabelRequest