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:



1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1280

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:



1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1280

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"



1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1280

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:



1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1280

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:



1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1280

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