Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAttributionSettings
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAttributionSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
The attribution settings used for a given property. This is a singleton resource.
Instance Attribute Summary collapse
-
#acquisition_conversion_event_lookback_window ⇒ String
Required.
-
#ads_web_conversion_data_export_scope ⇒ String
Required.
-
#name ⇒ String
Output only.
-
#other_conversion_event_lookback_window ⇒ String
Required.
-
#reporting_attribution_model ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAttributionSettings
constructor
A new instance of GoogleAnalyticsAdminV1alphaAttributionSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAttributionSettings
Returns a new instance of GoogleAnalyticsAdminV1alphaAttributionSettings.
882 883 884 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 882 def initialize(**args) update!(**args) end |
Instance Attribute Details
#acquisition_conversion_event_lookback_window ⇒ String
Required. The lookback window configuration for acquisition conversion events.
The default window size is 30 days.
Corresponds to the JSON property acquisitionConversionEventLookbackWindow
854 855 856 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 854 def acquisition_conversion_event_lookback_window @acquisition_conversion_event_lookback_window end |
#ads_web_conversion_data_export_scope ⇒ String
Required. The Conversion Export Scope for data exported to linked Ads Accounts.
Corresponds to the JSON property adsWebConversionDataExportScope
859 860 861 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 859 def ads_web_conversion_data_export_scope @ads_web_conversion_data_export_scope end |
#name ⇒ String
Output only. Resource name of this attribution settings resource. Format:
properties/property_id
/attributionSettings Example: "properties/1000/
attributionSettings"
Corresponds to the JSON property name
866 867 868 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 866 def name @name end |
#other_conversion_event_lookback_window ⇒ String
Required. The lookback window for all other, non-acquisition conversion events.
The default window size is 90 days.
Corresponds to the JSON property otherConversionEventLookbackWindow
872 873 874 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 872 def other_conversion_event_lookback_window @other_conversion_event_lookback_window end |
#reporting_attribution_model ⇒ String
Required. The reporting attribution model used to calculate conversion credit
in this property's reports. Changing the attribution model will apply to both
historical and future data. These changes will be reflected in reports with
conversion and revenue data. User and session data will be unaffected.
Corresponds to the JSON property reportingAttributionModel
880 881 882 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 880 def reporting_attribution_model @reporting_attribution_model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
887 888 889 890 891 892 893 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 887 def update!(**args) @acquisition_conversion_event_lookback_window = args[:acquisition_conversion_event_lookback_window] if args.key?(:acquisition_conversion_event_lookback_window) @ads_web_conversion_data_export_scope = args[:ads_web_conversion_data_export_scope] if args.key?(:ads_web_conversion_data_export_scope) @name = args[:name] if args.key?(:name) @other_conversion_event_lookback_window = args[:other_conversion_event_lookback_window] if args.key?(:other_conversion_event_lookback_window) @reporting_attribution_model = args[:reporting_attribution_model] if args.key?(:reporting_attribution_model) end |