Google Analytics Admin V1alpha Client - Class CreateGoogleAdsLinkRequest (0.23.0)

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

Request message for CreateGoogleAdsLink RPC

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Example format: properties/1234

↳ google_ads_link Google\Analytics\Admin\V1alpha\GoogleAdsLink

Required. The GoogleAdsLink to create.

getParent

Required. Example format: properties/1234

Returns
Type Description
string

setParent

Required. Example format: properties/1234

Parameter
Name Description
var string
Returns
Type Description
$this

Required. The GoogleAdsLink to create.

Returns
Type Description
Google\Analytics\Admin\V1alpha\GoogleAdsLink|null

Required. The GoogleAdsLink to create.

Parameter
Name Description
var Google\Analytics\Admin\V1alpha\GoogleAdsLink
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

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

googleAdsLink Google\Analytics\Admin\V1alpha\GoogleAdsLink

Required. The GoogleAdsLink to create.

Returns
Type Description
Google\Analytics\Admin\V1alpha\CreateGoogleAdsLinkRequest