Google Shopping Merchant Conversions V1beta Client - Class GoogleAnalyticsLink (0.1.1)

Reference documentation and code samples for the Google Shopping Merchant Conversions V1beta Client class GoogleAnalyticsLink.

"Google Analytics Link" sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account.

Generated from protobuf message google.shopping.merchant.conversions.v1beta.GoogleAnalyticsLink

Namespace

Google \ Shopping \ Merchant \ Conversions \ V1beta

Methods

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ property_id int|string

Required. Immutable. ID of the Google Analytics property the merchant is linked to.

↳ attribution_settings Google\Shopping\Merchant\Conversions\V1beta\AttributionSettings

Output only. Attribution settings for the linked Google Analytics property.

↳ property string

Output only. Name of the Google Analytics property the merchant is linked to.

Required. Immutable. ID of the Google Analytics property the merchant is linked to.

Returns
Type Description
int|string

Required. Immutable. ID of the Google Analytics property the merchant is linked to.

Parameter
Name Description
var int|string
Returns
Type Description
$this

Output only. Attribution settings for the linked Google Analytics property.

Returns
Type Description
Google\Shopping\Merchant\Conversions\V1beta\AttributionSettings|null

Output only. Attribution settings for the linked Google Analytics property.

Parameter
Name Description
var Google\Shopping\Merchant\Conversions\V1beta\AttributionSettings
Returns
Type Description
$this

Output only. Name of the Google Analytics property the merchant is linked to.

Returns
Type Description
string

Output only. Name of the Google Analytics property the merchant is linked to.

Parameter
Name Description
var string
Returns
Type Description
$this