Class: Google::Apis::ContentV2_1::GoogleAnalyticsLink
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::GoogleAnalyticsLink
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
"Google Analytics Link" sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account.
Instance Attribute Summary collapse
-
#attribution_settings ⇒ Google::Apis::ContentV2_1::AttributionSettings
Represents attribution settings for conversion sources receiving pre- attribution data.
-
#property_id ⇒ Fixnum
Required.
-
#property_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsLink
constructor
A new instance of GoogleAnalyticsLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsLink
Returns a new instance of GoogleAnalyticsLink.
5044 5045 5046 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5044 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attribution_settings ⇒ Google::Apis::ContentV2_1::AttributionSettings
Represents attribution settings for conversion sources receiving pre-
attribution data.
Corresponds to the JSON property attributionSettings
5031 5032 5033 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5031 def attribution_settings @attribution_settings end |
#property_id ⇒ Fixnum
Required. Immutable. ID of the Google Analytics property the merchant is
linked to.
Corresponds to the JSON property propertyId
5037 5038 5039 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5037 def property_id @property_id end |
#property_name ⇒ String
Output only. Name of the Google Analytics property the merchant is linked to.
Corresponds to the JSON property propertyName
5042 5043 5044 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5042 def property_name @property_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5049 5050 5051 5052 5053 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5049 def update!(**args) @attribution_settings = args[:attribution_settings] if args.key?(:attribution_settings) @property_id = args[:property_id] if args.key?(:property_id) @property_name = args[:property_name] if args.key?(:property_name) end |