Class: Google::Analytics::Admin::V1alpha::AttributionSettings

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/analytics/admin/v1alpha/resources.rb

Overview

The attribution settings used for a given property. This is a singleton resource.

Defined Under Namespace

Modules: AcquisitionConversionEventLookbackWindow, AdsWebConversionDataExportScope, OtherConversionEventLookbackWindow, ReportingAttributionModel

Instance Attribute Summary collapse

Instance Attribute Details

#acquisition_conversion_event_lookback_window::Google::Analytics::Admin::V1alpha::AttributionSettings::AcquisitionConversionEventLookbackWindow

Returns Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days.

Returns:



1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1208

class AttributionSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # How far back in time events should be considered for inclusion in a
  # converting path which leads to the first install of an app or the first
  # visit to a site.
  module AcquisitionConversionEventLookbackWindow
    # Lookback window size unspecified.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0

    # 7-day lookback window.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS = 1

    # 30-day lookback window.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 2
  end

  # How far back in time events should be considered for inclusion in a
  # converting path for all conversions other than first app install/first site
  # visit.
  module OtherConversionEventLookbackWindow
    # Lookback window size unspecified.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0

    # 30-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 1

    # 60-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS = 2

    # 90-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS = 3
  end

  # The reporting attribution model used to calculate conversion credit in this
  # property's reports.
  module ReportingAttributionModel
    # Reporting attribution model unspecified.
    REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED = 0

    # Data-driven attribution distributes credit for the conversion based on
    # data for each conversion event. Each Data-driven model is specific to
    # each advertiser and each conversion event.
    # Previously CROSS_CHANNEL_DATA_DRIVEN
    PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN = 1

    # Ignores direct traffic and attributes 100% of the conversion value to the
    # last channel that the customer clicked through (or engaged view through
    # for YouTube) before converting.
    # Previously CROSS_CHANNEL_LAST_CLICK
    PAID_AND_ORGANIC_CHANNELS_LAST_CLICK = 2

    # Attributes 100% of the conversion value to the last Google Paid channel
    # that the customer clicked through before converting.
    # Previously ADS_PREFERRED_LAST_CLICK
    GOOGLE_PAID_CHANNELS_LAST_CLICK = 7
  end

  # The Conversion Export Scope for data exported to linked Ads Accounts.
  module AdsWebConversionDataExportScope
    # Default value. This value is unused.
    ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED = 0

    # No data export scope selected yet.
    # Export scope can never be changed back to this value.
    NOT_SELECTED_YET = 1

    # Paid and organic channels are eligible to receive conversion credit, but
    # only credit assigned to Google Ads channels will appear in your Ads
    # accounts. To learn more, see [Paid and Organic
    # channels](https://support.google.com/analytics/answer/10632359).
    PAID_AND_ORGANIC_CHANNELS = 2

    # Only Google Ads paid channels are eligible to receive conversion credit.
    # To learn more, see [Google Paid
    # channels](https://support.google.com/analytics/answer/10632359).
    GOOGLE_PAID_CHANNELS = 3
  end
end

#ads_web_conversion_data_export_scope::Google::Analytics::Admin::V1alpha::AttributionSettings::AdsWebConversionDataExportScope

Returns Required. The Conversion Export Scope for data exported to linked Ads Accounts.

Returns:



1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1208

class AttributionSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # How far back in time events should be considered for inclusion in a
  # converting path which leads to the first install of an app or the first
  # visit to a site.
  module AcquisitionConversionEventLookbackWindow
    # Lookback window size unspecified.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0

    # 7-day lookback window.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS = 1

    # 30-day lookback window.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 2
  end

  # How far back in time events should be considered for inclusion in a
  # converting path for all conversions other than first app install/first site
  # visit.
  module OtherConversionEventLookbackWindow
    # Lookback window size unspecified.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0

    # 30-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 1

    # 60-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS = 2

    # 90-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS = 3
  end

  # The reporting attribution model used to calculate conversion credit in this
  # property's reports.
  module ReportingAttributionModel
    # Reporting attribution model unspecified.
    REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED = 0

    # Data-driven attribution distributes credit for the conversion based on
    # data for each conversion event. Each Data-driven model is specific to
    # each advertiser and each conversion event.
    # Previously CROSS_CHANNEL_DATA_DRIVEN
    PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN = 1

    # Ignores direct traffic and attributes 100% of the conversion value to the
    # last channel that the customer clicked through (or engaged view through
    # for YouTube) before converting.
    # Previously CROSS_CHANNEL_LAST_CLICK
    PAID_AND_ORGANIC_CHANNELS_LAST_CLICK = 2

    # Attributes 100% of the conversion value to the last Google Paid channel
    # that the customer clicked through before converting.
    # Previously ADS_PREFERRED_LAST_CLICK
    GOOGLE_PAID_CHANNELS_LAST_CLICK = 7
  end

  # The Conversion Export Scope for data exported to linked Ads Accounts.
  module AdsWebConversionDataExportScope
    # Default value. This value is unused.
    ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED = 0

    # No data export scope selected yet.
    # Export scope can never be changed back to this value.
    NOT_SELECTED_YET = 1

    # Paid and organic channels are eligible to receive conversion credit, but
    # only credit assigned to Google Ads channels will appear in your Ads
    # accounts. To learn more, see [Paid and Organic
    # channels](https://support.google.com/analytics/answer/10632359).
    PAID_AND_ORGANIC_CHANNELS = 2

    # Only Google Ads paid channels are eligible to receive conversion credit.
    # To learn more, see [Google Paid
    # channels](https://support.google.com/analytics/answer/10632359).
    GOOGLE_PAID_CHANNELS = 3
  end
end

#name::String (readonly)

Returns Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings".

Returns:

  • (::String)

    Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings"



1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1208

class AttributionSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # How far back in time events should be considered for inclusion in a
  # converting path which leads to the first install of an app or the first
  # visit to a site.
  module AcquisitionConversionEventLookbackWindow
    # Lookback window size unspecified.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0

    # 7-day lookback window.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS = 1

    # 30-day lookback window.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 2
  end

  # How far back in time events should be considered for inclusion in a
  # converting path for all conversions other than first app install/first site
  # visit.
  module OtherConversionEventLookbackWindow
    # Lookback window size unspecified.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0

    # 30-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 1

    # 60-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS = 2

    # 90-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS = 3
  end

  # The reporting attribution model used to calculate conversion credit in this
  # property's reports.
  module ReportingAttributionModel
    # Reporting attribution model unspecified.
    REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED = 0

    # Data-driven attribution distributes credit for the conversion based on
    # data for each conversion event. Each Data-driven model is specific to
    # each advertiser and each conversion event.
    # Previously CROSS_CHANNEL_DATA_DRIVEN
    PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN = 1

    # Ignores direct traffic and attributes 100% of the conversion value to the
    # last channel that the customer clicked through (or engaged view through
    # for YouTube) before converting.
    # Previously CROSS_CHANNEL_LAST_CLICK
    PAID_AND_ORGANIC_CHANNELS_LAST_CLICK = 2

    # Attributes 100% of the conversion value to the last Google Paid channel
    # that the customer clicked through before converting.
    # Previously ADS_PREFERRED_LAST_CLICK
    GOOGLE_PAID_CHANNELS_LAST_CLICK = 7
  end

  # The Conversion Export Scope for data exported to linked Ads Accounts.
  module AdsWebConversionDataExportScope
    # Default value. This value is unused.
    ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED = 0

    # No data export scope selected yet.
    # Export scope can never be changed back to this value.
    NOT_SELECTED_YET = 1

    # Paid and organic channels are eligible to receive conversion credit, but
    # only credit assigned to Google Ads channels will appear in your Ads
    # accounts. To learn more, see [Paid and Organic
    # channels](https://support.google.com/analytics/answer/10632359).
    PAID_AND_ORGANIC_CHANNELS = 2

    # Only Google Ads paid channels are eligible to receive conversion credit.
    # To learn more, see [Google Paid
    # channels](https://support.google.com/analytics/answer/10632359).
    GOOGLE_PAID_CHANNELS = 3
  end
end

#other_conversion_event_lookback_window::Google::Analytics::Admin::V1alpha::AttributionSettings::OtherConversionEventLookbackWindow

Returns Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days.

Returns:



1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1208

class AttributionSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # How far back in time events should be considered for inclusion in a
  # converting path which leads to the first install of an app or the first
  # visit to a site.
  module AcquisitionConversionEventLookbackWindow
    # Lookback window size unspecified.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0

    # 7-day lookback window.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS = 1

    # 30-day lookback window.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 2
  end

  # How far back in time events should be considered for inclusion in a
  # converting path for all conversions other than first app install/first site
  # visit.
  module OtherConversionEventLookbackWindow
    # Lookback window size unspecified.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0

    # 30-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 1

    # 60-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS = 2

    # 90-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS = 3
  end

  # The reporting attribution model used to calculate conversion credit in this
  # property's reports.
  module ReportingAttributionModel
    # Reporting attribution model unspecified.
    REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED = 0

    # Data-driven attribution distributes credit for the conversion based on
    # data for each conversion event. Each Data-driven model is specific to
    # each advertiser and each conversion event.
    # Previously CROSS_CHANNEL_DATA_DRIVEN
    PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN = 1

    # Ignores direct traffic and attributes 100% of the conversion value to the
    # last channel that the customer clicked through (or engaged view through
    # for YouTube) before converting.
    # Previously CROSS_CHANNEL_LAST_CLICK
    PAID_AND_ORGANIC_CHANNELS_LAST_CLICK = 2

    # Attributes 100% of the conversion value to the last Google Paid channel
    # that the customer clicked through before converting.
    # Previously ADS_PREFERRED_LAST_CLICK
    GOOGLE_PAID_CHANNELS_LAST_CLICK = 7
  end

  # The Conversion Export Scope for data exported to linked Ads Accounts.
  module AdsWebConversionDataExportScope
    # Default value. This value is unused.
    ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED = 0

    # No data export scope selected yet.
    # Export scope can never be changed back to this value.
    NOT_SELECTED_YET = 1

    # Paid and organic channels are eligible to receive conversion credit, but
    # only credit assigned to Google Ads channels will appear in your Ads
    # accounts. To learn more, see [Paid and Organic
    # channels](https://support.google.com/analytics/answer/10632359).
    PAID_AND_ORGANIC_CHANNELS = 2

    # Only Google Ads paid channels are eligible to receive conversion credit.
    # To learn more, see [Google Paid
    # channels](https://support.google.com/analytics/answer/10632359).
    GOOGLE_PAID_CHANNELS = 3
  end
end

#reporting_attribution_model::Google::Analytics::Admin::V1alpha::AttributionSettings::ReportingAttributionModel

Returns 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.

Returns:



1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1208

class AttributionSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # How far back in time events should be considered for inclusion in a
  # converting path which leads to the first install of an app or the first
  # visit to a site.
  module AcquisitionConversionEventLookbackWindow
    # Lookback window size unspecified.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0

    # 7-day lookback window.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS = 1

    # 30-day lookback window.
    ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 2
  end

  # How far back in time events should be considered for inclusion in a
  # converting path for all conversions other than first app install/first site
  # visit.
  module OtherConversionEventLookbackWindow
    # Lookback window size unspecified.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0

    # 30-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 1

    # 60-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS = 2

    # 90-day lookback window.
    OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS = 3
  end

  # The reporting attribution model used to calculate conversion credit in this
  # property's reports.
  module ReportingAttributionModel
    # Reporting attribution model unspecified.
    REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED = 0

    # Data-driven attribution distributes credit for the conversion based on
    # data for each conversion event. Each Data-driven model is specific to
    # each advertiser and each conversion event.
    # Previously CROSS_CHANNEL_DATA_DRIVEN
    PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN = 1

    # Ignores direct traffic and attributes 100% of the conversion value to the
    # last channel that the customer clicked through (or engaged view through
    # for YouTube) before converting.
    # Previously CROSS_CHANNEL_LAST_CLICK
    PAID_AND_ORGANIC_CHANNELS_LAST_CLICK = 2

    # Attributes 100% of the conversion value to the last Google Paid channel
    # that the customer clicked through before converting.
    # Previously ADS_PREFERRED_LAST_CLICK
    GOOGLE_PAID_CHANNELS_LAST_CLICK = 7
  end

  # The Conversion Export Scope for data exported to linked Ads Accounts.
  module AdsWebConversionDataExportScope
    # Default value. This value is unused.
    ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED = 0

    # No data export scope selected yet.
    # Export scope can never be changed back to this value.
    NOT_SELECTED_YET = 1

    # Paid and organic channels are eligible to receive conversion credit, but
    # only credit assigned to Google Ads channels will appear in your Ads
    # accounts. To learn more, see [Paid and Organic
    # channels](https://support.google.com/analytics/answer/10632359).
    PAID_AND_ORGANIC_CHANNELS = 2

    # Only Google Ads paid channels are eligible to receive conversion credit.
    # To learn more, see [Google Paid
    # channels](https://support.google.com/analytics/answer/10632359).
    GOOGLE_PAID_CHANNELS = 3
  end
end