Google Analytics Admin V1beta Client - Class CreateGoogleAdsLinkRequest (0.15.1)

Reference documentation and code samples for the Google Analytics Admin V1beta Client class CreateGoogleAdsLinkRequest.

Request message for CreateGoogleAdsLink RPC

Generated from protobuf message google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest

Namespace

Google \ Analytics \ Admin \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Example format: properties/1234

↳ google_ads_link Google\Analytics\Admin\V1beta\GoogleAdsLink

Required. The GoogleAdsLink to create.

getParent

Required. Example format: properties/1234

Returns
TypeDescription
string

setParent

Required. Example format: properties/1234

Parameter
NameDescription
var string
Returns
TypeDescription
$this

Required. The GoogleAdsLink to create.

Returns
TypeDescription
Google\Analytics\Admin\V1beta\GoogleAdsLink|null

Required. The GoogleAdsLink to create.

Parameter
NameDescription
var Google\Analytics\Admin\V1beta\GoogleAdsLink
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. Example format: properties/1234 Please see Google\Analytics\Admin\V1beta\AnalyticsAdminServiceClient::propertyName() for help formatting this field.

googleAdsLink Google\Analytics\Admin\V1beta\GoogleAdsLink

Required. The GoogleAdsLink to create.

Returns
TypeDescription
Google\Analytics\Admin\V1beta\CreateGoogleAdsLinkRequest