Google Analytics Admin V1alpha Client - Class CreateAdSenseLinkRequest (0.25.2)

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

Request message to be passed to CreateAdSenseLink method.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ parentstring

Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234

↳ adsense_linkAdSenseLink

Required. The AdSense Link to create

getParent

Required. The property for which to create an AdSense Link.

Format: properties/{propertyId} Example: properties/1234

Returns
TypeDescription
string

setParent

Required. The property for which to create an AdSense Link.

Format: properties/{propertyId} Example: properties/1234

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

Required. The AdSense Link to create

Returns
TypeDescription
AdSenseLink|null

Required. The AdSense Link to create

Parameter
NameDescription
varAdSenseLink
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parentstring

Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234 Please see AnalyticsAdminServiceClient::propertyName() for help formatting this field.

adsenseLinkAdSenseLink

Required. The AdSense Link to create

Returns
TypeDescription
CreateAdSenseLinkRequest