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 \ V1alphaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234 |
↳ adsense_link |
Google\Analytics\Admin\V1alpha\AdSenseLink
Required. The AdSense Link to create |
getParent
Required. The property for which to create an AdSense Link.
Format: properties/{propertyId} Example: properties/1234
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The property for which to create an AdSense Link.
Format: properties/{propertyId} Example: properties/1234
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAdsenseLink
Required. The AdSense Link to create
Returns | |
---|---|
Type | Description |
Google\Analytics\Admin\V1alpha\AdSenseLink|null |
hasAdsenseLink
clearAdsenseLink
setAdsenseLink
Required. The AdSense Link to create
Parameter | |
---|---|
Name | Description |
var |
Google\Analytics\Admin\V1alpha\AdSenseLink
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234 Please see Google\Analytics\Admin\V1alpha\AnalyticsAdminServiceClient::propertyName() for help formatting this field. |
adsenseLink |
Google\Analytics\Admin\V1alpha\AdSenseLink
Required. The AdSense Link to create |
Returns | |
---|---|
Type | Description |
Google\Analytics\Admin\V1alpha\CreateAdSenseLinkRequest |