google-analytics-admin-v1alpha 0.13.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56,10 +56,10 @@ module Google
56
56
  # Example: "properties/1000"
57
57
  # @!attribute [rw] property_type
58
58
  # @return [::Google::Analytics::Admin::V1alpha::PropertyType]
59
- # Immutable. The property type for this Property resource. When creating a property, if
60
- # the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
61
- # implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created
62
- # via Google Analytics Admin API.
59
+ # Immutable. The property type for this Property resource. When creating a
60
+ # property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
61
+ # "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY"
62
+ # types cannot yet be created via Google Analytics Admin API.
63
63
  # @!attribute [r] create_time
64
64
  # @return [::Google::Protobuf::Timestamp]
65
65
  # Output only. Time when the entity was originally created.
@@ -84,9 +84,9 @@ module Google
84
84
  # Example: AUTOMOTIVE, FOOD_AND_DRINK
85
85
  # @!attribute [rw] time_zone
86
86
  # @return [::String]
87
- # Required. Reporting Time Zone, used as the day boundary for reports, regardless of
88
- # where the data originates. If the time zone honors DST, Analytics will
89
- # automatically adjust for the changes.
87
+ # Required. Reporting Time Zone, used as the day boundary for reports,
88
+ # regardless of where the data originates. If the time zone honors DST,
89
+ # Analytics will automatically adjust for the changes.
90
90
  #
91
91
  # NOTE: Changing the time zone only affects data going forward, and is not
92
92
  # applied retroactively.
@@ -102,16 +102,17 @@ module Google
102
102
  # Examples: "USD", "EUR", "JPY"
103
103
  # @!attribute [r] service_level
104
104
  # @return [::Google::Analytics::Admin::V1alpha::ServiceLevel]
105
- # Output only. The Google Analytics service level that applies to this property.
105
+ # Output only. The Google Analytics service level that applies to this
106
+ # property.
106
107
  # @!attribute [r] delete_time
107
108
  # @return [::Google::Protobuf::Timestamp]
108
- # Output only. If set, the time at which this property was trashed. If not set, then this
109
- # property is not currently in the trash can.
109
+ # Output only. If set, the time at which this property was trashed. If not
110
+ # set, then this property is not currently in the trash can.
110
111
  # @!attribute [r] expire_time
111
112
  # @return [::Google::Protobuf::Timestamp]
112
- # Output only. If set, the time at which this trashed property will be permanently
113
- # deleted. If not set, then this property is not currently in the trash can
114
- # and is not slated to be deleted.
113
+ # Output only. If set, the time at which this trashed property will be
114
+ # permanently deleted. If not set, then this property is not currently in the
115
+ # trash can and is not slated to be deleted.
115
116
  # @!attribute [rw] account
116
117
  # @return [::String]
117
118
  # Immutable. The resource name of the parent account
@@ -284,9 +285,9 @@ module Google
284
285
  # Output only. Example format: properties/1234/firebaseLinks/5678
285
286
  # @!attribute [rw] project
286
287
  # @return [::String]
287
- # Immutable. Firebase project resource name. When creating a FirebaseLink, you may
288
- # provide this resource name using either a project number or project ID.
289
- # Once this resource has been created, returned FirebaseLinks will always
288
+ # Immutable. Firebase project resource name. When creating a FirebaseLink,
289
+ # you may provide this resource name using either a project number or project
290
+ # ID. Once this resource has been created, returned FirebaseLinks will always
290
291
  # have a project_name that contains a project number.
291
292
  #
292
293
  # Format: 'projects/\\{project number}'
@@ -308,8 +309,8 @@ module Google
308
309
  # Example: "properties/123/dataStreams/456/globalSiteTag"
309
310
  # @!attribute [rw] snippet
310
311
  # @return [::String]
311
- # Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
312
- # every webpage to measure.
312
+ # Immutable. JavaScript code snippet to be pasted as the first item into the
313
+ # head tag of every webpage to measure.
313
314
  class GlobalSiteTag
314
315
  include ::Google::Protobuf::MessageExts
315
316
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,7 +319,8 @@ module Google
318
319
  # A link between a GA4 property and a Google Ads account.
319
320
  # @!attribute [r] name
320
321
  # @return [::String]
321
- # Output only. Format: properties/\\{propertyId}/googleAdsLinks/\\{googleAdsLinkId}
322
+ # Output only. Format:
323
+ # properties/\\{propertyId}/googleAdsLinks/\\{googleAdsLinkId}
322
324
  #
323
325
  # Note: googleAdsLinkId is not the Google Ads customer ID.
324
326
  # @!attribute [rw] customer_id
@@ -429,17 +431,16 @@ module Google
429
431
  # A secret value used for sending hits to Measurement Protocol.
430
432
  # @!attribute [r] name
431
433
  # @return [::String]
432
- # Output only. Resource name of this secret. This secret may be a child of any type of
433
- # stream.
434
- # Format:
434
+ # Output only. Resource name of this secret. This secret may be a child of
435
+ # any type of stream. Format:
435
436
  # properties/\\{property}/dataStreams/\\{dataStream}/measurementProtocolSecrets/\\{measurementProtocolSecret}
436
437
  # @!attribute [rw] display_name
437
438
  # @return [::String]
438
439
  # Required. Human-readable display name for this secret.
439
440
  # @!attribute [r] secret_value
440
441
  # @return [::String]
441
- # Output only. The measurement protocol secret value. Pass this value to the api_secret
442
- # field of the Measurement Protocol API when sending hits to this
442
+ # Output only. The measurement protocol secret value. Pass this value to the
443
+ # api_secret field of the Measurement Protocol API when sending hits to this
443
444
  # secret's parent property.
444
445
  class MeasurementProtocolSecret
445
446
  include ::Google::Protobuf::MessageExts
@@ -536,12 +537,21 @@ module Google
536
537
  # @!attribute [rw] data_retention_settings
537
538
  # @return [::Google::Analytics::Admin::V1alpha::DataRetentionSettings]
538
539
  # A snapshot of a data retention settings resource in change history.
540
+ # @!attribute [rw] search_ads_360_link
541
+ # @return [::Google::Analytics::Admin::V1alpha::SearchAds360Link]
542
+ # A snapshot of a SearchAds360Link resource in change history.
539
543
  # @!attribute [rw] data_stream
540
544
  # @return [::Google::Analytics::Admin::V1alpha::DataStream]
541
545
  # A snapshot of a DataStream resource in change history.
542
546
  # @!attribute [rw] attribution_settings
543
547
  # @return [::Google::Analytics::Admin::V1alpha::AttributionSettings]
544
548
  # A snapshot of AttributionSettings resource in change history.
549
+ # @!attribute [rw] expanded_data_set
550
+ # @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSet]
551
+ # A snapshot of an ExpandedDataSet resource in change history.
552
+ # @!attribute [rw] bigquery_link
553
+ # @return [::Google::Analytics::Admin::V1alpha::BigQueryLink]
554
+ # A snapshot of a BigQuery link resource in change history.
545
555
  class ChangeHistoryResource
546
556
  include ::Google::Protobuf::MessageExts
547
557
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -551,8 +561,9 @@ module Google
551
561
  # A link between a GA4 property and a Display & Video 360 advertiser.
552
562
  # @!attribute [r] name
553
563
  # @return [::String]
554
- # Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
555
- # Format: properties/\\{propertyId}/displayVideo360AdvertiserLinks/\\{linkId}
564
+ # Output only. The resource name for this DisplayVideo360AdvertiserLink
565
+ # resource. Format:
566
+ # properties/\\{propertyId}/displayVideo360AdvertiserLinks/\\{linkId}
556
567
  #
557
568
  # Note: linkId is not the Display & Video 360 Advertiser ID
558
569
  # @!attribute [rw] advertiser_id
@@ -567,17 +578,17 @@ module Google
567
578
  # If this field is not set on create/update, it will be defaulted to true.
568
579
  # @!attribute [rw] campaign_data_sharing_enabled
569
580
  # @return [::Google::Protobuf::BoolValue]
570
- # Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
571
- # property. After link creation, this can only be updated from the Display &
572
- # Video 360 product.
573
- # If this field is not set on create, it will be defaulted to true.
581
+ # Immutable. Enables the import of campaign data from Display & Video 360
582
+ # into the GA4 property. After link creation, this can only be updated from
583
+ # the Display & Video 360 product. If this field is not set on create, it
584
+ # will be defaulted to true.
574
585
  # @!attribute [rw] cost_data_sharing_enabled
575
586
  # @return [::Google::Protobuf::BoolValue]
576
- # Immutable. Enables the import of cost data from Display & Video 360 into the GA4
577
- # property. This can only be enabled if campaign_data_sharing_enabled is
578
- # enabled. After link creation, this can only be updated from the Display &
579
- # Video 360 product.
580
- # If this field is not set on create, it will be defaulted to true.
587
+ # Immutable. Enables the import of cost data from Display & Video 360 into
588
+ # the GA4 property. This can only be enabled if campaign_data_sharing_enabled
589
+ # is enabled. After link creation, this can only be updated from the Display
590
+ # & Video 360 product. If this field is not set on create, it will be
591
+ # defaulted to true.
581
592
  class DisplayVideo360AdvertiserLink
582
593
  include ::Google::Protobuf::MessageExts
583
594
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -591,8 +602,8 @@ module Google
591
602
  # admins approve outbound proposals.
592
603
  # @!attribute [r] name
593
604
  # @return [::String]
594
- # Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
595
- # Format:
605
+ # Output only. The resource name for this
606
+ # DisplayVideo360AdvertiserLinkProposal resource. Format:
596
607
  # properties/\\{propertyId}/displayVideo360AdvertiserLinkProposals/\\{proposalId}
597
608
  #
598
609
  # Note: proposalId is not the Display & Video 360 Advertiser ID
@@ -608,12 +619,12 @@ module Google
608
619
  # Only populated for proposals that originated from Display & Video 360.
609
620
  # @!attribute [rw] validation_email
610
621
  # @return [::String]
611
- # Input only. On a proposal being sent to Display & Video 360, this field must be set to
612
- # the email address of an admin on the target advertiser. This is used to
613
- # verify that the Google Analytics admin is aware of at least one admin on
614
- # the Display & Video 360 Advertiser. This does not restrict approval of the
615
- # proposal to a single user. Any admin on the Display & Video 360 Advertiser
616
- # may approve the proposal.
622
+ # Input only. On a proposal being sent to Display & Video 360, this field
623
+ # must be set to the email address of an admin on the target advertiser. This
624
+ # is used to verify that the Google Analytics admin is aware of at least one
625
+ # admin on the Display & Video 360 Advertiser. This does not restrict
626
+ # approval of the proposal to a single user. Any admin on the Display & Video
627
+ # 360 Advertiser may approve the proposal.
617
628
  # @!attribute [rw] ads_personalization_enabled
618
629
  # @return [::Google::Protobuf::BoolValue]
619
630
  # Immutable. Enables personalized advertising features with this integration.
@@ -632,6 +643,47 @@ module Google
632
643
  extend ::Google::Protobuf::MessageExts::ClassMethods
633
644
  end
634
645
 
646
+ # A link between a GA4 property and a Search Ads 360 entity.
647
+ # @!attribute [r] name
648
+ # @return [::String]
649
+ # Output only. The resource name for this SearchAds360Link resource.
650
+ # Format: properties/\\{propertyId}/searchAds360Links/\\{linkId}
651
+ #
652
+ # Note: linkId is not the Search Ads 360 advertiser ID
653
+ # @!attribute [rw] advertiser_id
654
+ # @return [::String]
655
+ # Immutable. This field represents the Advertiser ID of the Search Ads 360
656
+ # Advertiser. that has been linked.
657
+ # @!attribute [rw] campaign_data_sharing_enabled
658
+ # @return [::Google::Protobuf::BoolValue]
659
+ # Immutable. Enables the import of campaign data from Search Ads 360 into the
660
+ # GA4 property. After link creation, this can only be updated from the Search
661
+ # Ads 360 product.
662
+ # If this field is not set on create, it will be defaulted to true.
663
+ # @!attribute [rw] cost_data_sharing_enabled
664
+ # @return [::Google::Protobuf::BoolValue]
665
+ # Immutable. Enables the import of cost data from Search Ads 360 to the GA4
666
+ # property. This can only be enabled if campaign_data_sharing_enabled is
667
+ # enabled. After link creation, this can only be updated from
668
+ # the Search Ads 360 product.
669
+ # If this field is not set on create, it will be defaulted to true.
670
+ # @!attribute [r] advertiser_display_name
671
+ # @return [::String]
672
+ # Output only. The display name of the Search Ads 360 Advertiser.
673
+ # Allows users to easily identify the linked resource.
674
+ # @!attribute [rw] ads_personalization_enabled
675
+ # @return [::Google::Protobuf::BoolValue]
676
+ # Enables personalized advertising features with this integration.
677
+ # If this field is not set on create, it will be defaulted to true.
678
+ # @!attribute [rw] site_stats_sharing_enabled
679
+ # @return [::Google::Protobuf::BoolValue]
680
+ # Enables export of site stats with this integration.
681
+ # If this field is not set on create, it will be defaulted to true.
682
+ class SearchAds360Link
683
+ include ::Google::Protobuf::MessageExts
684
+ extend ::Google::Protobuf::MessageExts::ClassMethods
685
+ end
686
+
635
687
  # Status information for a link proposal.
636
688
  # @!attribute [r] link_proposal_initiating_product
637
689
  # @return [::Google::Analytics::Admin::V1alpha::LinkProposalInitiatingProduct]
@@ -661,14 +713,15 @@ module Google
661
713
  # Output only. Time when this conversion event was created in the property.
662
714
  # @!attribute [r] deletable
663
715
  # @return [::Boolean]
664
- # Output only. If set, this event can currently be deleted via DeleteConversionEvent.
716
+ # Output only. If set, this event can currently be deleted via
717
+ # DeleteConversionEvent.
665
718
  # @!attribute [r] custom
666
719
  # @return [::Boolean]
667
- # Output only. If set to true, this conversion event refers to a custom event. If set to
668
- # false, this conversion event refers to a default event in GA. Default
669
- # events typically have special meaning in GA. Default events are usually
670
- # created for you by the GA system, but in some cases can be created by
671
- # property admins. Custom events count towards the maximum number of
720
+ # Output only. If set to true, this conversion event refers to a custom
721
+ # event. If set to false, this conversion event refers to a default event in
722
+ # GA. Default events typically have special meaning in GA. Default events are
723
+ # usually created for you by the GA system, but in some cases can be created
724
+ # by property admins. Custom events count towards the maximum number of
672
725
  # custom conversion events that may be created per property.
673
726
  class ConversionEvent
674
727
  include ::Google::Protobuf::MessageExts
@@ -710,21 +763,22 @@ module Google
710
763
  # characters for event-scoped dimensions.
711
764
  # @!attribute [rw] display_name
712
765
  # @return [::String]
713
- # Required. Display name for this custom dimension as shown in the Analytics UI.
714
- # Max length of 82 characters, alphanumeric plus space and underscore
766
+ # Required. Display name for this custom dimension as shown in the Analytics
767
+ # UI. Max length of 82 characters, alphanumeric plus space and underscore
715
768
  # starting with a letter. Legacy system-generated display names may contain
716
769
  # square brackets, but updates to this field will never permit square
717
770
  # brackets.
718
771
  # @!attribute [rw] description
719
772
  # @return [::String]
720
- # Optional. Description for this custom dimension. Max length of 150 characters.
773
+ # Optional. Description for this custom dimension. Max length of 150
774
+ # characters.
721
775
  # @!attribute [rw] scope
722
776
  # @return [::Google::Analytics::Admin::V1alpha::CustomDimension::DimensionScope]
723
777
  # Required. Immutable. The scope of this dimension.
724
778
  # @!attribute [rw] disallow_ads_personalization
725
779
  # @return [::Boolean]
726
- # Optional. If set to true, sets this dimension as NPA and excludes it from ads
727
- # personalization.
780
+ # Optional. If set to true, sets this dimension as NPA and excludes it from
781
+ # ads personalization.
728
782
  #
729
783
  # This is currently only supported by user-scoped custom dimensions.
730
784
  class CustomDimension
@@ -777,9 +831,9 @@ module Google
777
831
  # Required. Immutable. The scope of this custom metric.
778
832
  # @!attribute [rw] restricted_metric_type
779
833
  # @return [::Array<::Google::Analytics::Admin::V1alpha::CustomMetric::RestrictedMetricType>]
780
- # Optional. Types of restricted data that this metric may contain. Required for metrics
781
- # with CURRENCY measurement unit. Must be empty for metrics with a
782
- # non-CURRENCY measurement unit.
834
+ # Optional. Types of restricted data that this metric may contain. Required
835
+ # for metrics with CURRENCY measurement unit. Must be empty for metrics with
836
+ # a non-CURRENCY measurement unit.
783
837
  class CustomMetric
784
838
  include ::Google::Protobuf::MessageExts
785
839
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -896,16 +950,16 @@ module Google
896
950
  # Example: "properties/1000/attributionSettings"
897
951
  # @!attribute [rw] acquisition_conversion_event_lookback_window
898
952
  # @return [::Google::Analytics::Admin::V1alpha::AttributionSettings::AcquisitionConversionEventLookbackWindow]
899
- # Required. The lookback window configuration for acquisition conversion events.
900
- # The default window size is 30 days.
953
+ # Required. The lookback window configuration for acquisition conversion
954
+ # events. The default window size is 30 days.
901
955
  # @!attribute [rw] other_conversion_event_lookback_window
902
956
  # @return [::Google::Analytics::Admin::V1alpha::AttributionSettings::OtherConversionEventLookbackWindow]
903
- # Required. The lookback window for all other, non-acquisition conversion events.
904
- # The default window size is 90 days.
957
+ # Required. The lookback window for all other, non-acquisition conversion
958
+ # events. The default window size is 90 days.
905
959
  # @!attribute [rw] reporting_attribution_model
906
960
  # @return [::Google::Analytics::Admin::V1alpha::AttributionSettings::ReportingAttributionModel]
907
- # Required. The reporting attribution model used to calculate conversion credit in this
908
- # property's reports.
961
+ # Required. The reporting attribution model used to calculate conversion
962
+ # credit in this property's reports.
909
963
  #
910
964
  # Changing the attribution model will apply to both historical and future
911
965
  # data. These changes will be reflected in reports with conversion and
@@ -984,6 +1038,80 @@ module Google
984
1038
  end
985
1039
  end
986
1040
 
1041
+ # A binding of a user to a set of roles.
1042
+ # @!attribute [rw] user
1043
+ # @return [::String]
1044
+ # If set, the email address of the user to set roles for.
1045
+ # Format: "someuser@gmail.com"
1046
+ # @!attribute [r] name
1047
+ # @return [::String]
1048
+ # Output only. Resource name of this binding.
1049
+ #
1050
+ # Format: accounts/\\{account}/accessBindings/\\{access_binding} or
1051
+ # properties/\\{property}/accessBindings/\\{access_binding}
1052
+ #
1053
+ # Example:
1054
+ # "accounts/100/accessBindings/200"
1055
+ # @!attribute [rw] roles
1056
+ # @return [::Array<::String>]
1057
+ # A list of roles for to grant to the parent resource.
1058
+ #
1059
+ # Valid values:
1060
+ # predefinedRoles/viewer
1061
+ # predefinedRoles/analyst
1062
+ # predefinedRoles/editor
1063
+ # predefinedRoles/admin
1064
+ # predefinedRoles/no-cost-data
1065
+ # predefinedRoles/no-revenue-data
1066
+ #
1067
+ # For users, if an empty list of roles is set, this AccessBinding will be
1068
+ # deleted.
1069
+ class AccessBinding
1070
+ include ::Google::Protobuf::MessageExts
1071
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1072
+ end
1073
+
1074
+ # A link between a GA4 Property and BigQuery project.
1075
+ # @!attribute [r] name
1076
+ # @return [::String]
1077
+ # Output only. Resource name of this BigQuery link.
1078
+ # Format: 'properties/\\{property_id}/bigQueryLinks/\\{bigquery_link_id}'
1079
+ # Format: 'properties/1234/bigQueryLinks/abc567'
1080
+ # @!attribute [rw] project
1081
+ # @return [::String]
1082
+ # Immutable. The linked Google Cloud project. When creating a BigQueryLink,
1083
+ # you may provide this resource name using either a project number or project
1084
+ # ID. Once this resource has been created, the returned project will always
1085
+ # have a project that contains a project number.
1086
+ # Format: 'projects/\\{project number}'
1087
+ # Example: 'projects/1234'
1088
+ # @!attribute [r] create_time
1089
+ # @return [::Google::Protobuf::Timestamp]
1090
+ # Output only. Time when the link was created.
1091
+ # @!attribute [rw] daily_export_enabled
1092
+ # @return [::Boolean]
1093
+ # If set true, enables daily data export to the linked Google Cloud project.
1094
+ # @!attribute [rw] streaming_export_enabled
1095
+ # @return [::Boolean]
1096
+ # If set true, enables streaming export to the linked Google Cloud project.
1097
+ # @!attribute [rw] include_advertising_id
1098
+ # @return [::Boolean]
1099
+ # If set true, exported data will include advertising identifiers for mobile
1100
+ # app streams.
1101
+ # @!attribute [rw] export_streams
1102
+ # @return [::Array<::String>]
1103
+ # The list of streams under the parent property for which data will be
1104
+ # exported.
1105
+ # Format: properties/\\{property_id}/dataStreams/\\{stream_id}
1106
+ # Example: ['properties/1000/dataStreams/2000']
1107
+ # @!attribute [rw] excluded_events
1108
+ # @return [::Array<::String>]
1109
+ # The list of event names that will be excluded from exports.
1110
+ class BigQueryLink
1111
+ include ::Google::Protobuf::MessageExts
1112
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1113
+ end
1114
+
987
1115
  # The category selected for this property, used for industry benchmarking.
988
1116
  module IndustryCategory
989
1117
  # Industry category unspecified
@@ -1160,6 +1288,12 @@ module Google
1160
1288
 
1161
1289
  # AttributionSettings resource
1162
1290
  ATTRIBUTION_SETTINGS = 20
1291
+
1292
+ # ExpandedDataSet resource
1293
+ EXPANDED_DATA_SET = 21
1294
+
1295
+ # ChannelGroup resource
1296
+ CHANNEL_GROUP = 22
1163
1297
  end
1164
1298
 
1165
1299
  # Status of the Google Signals settings (i.e., whether this feature has been