google-ads-data_manager-v1 0.5.0 → 0.7.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.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/ads/data_manager/v1/ingestion_service/client.rb +95 -0
  4. data/lib/google/ads/data_manager/v1/ingestion_service/rest/client.rb +96 -0
  5. data/lib/google/ads/data_manager/v1/ingestion_service/rest/service_stub.rb +60 -0
  6. data/lib/google/ads/data_manager/v1/marketing_data_insights_service/client.rb +2 -0
  7. data/lib/google/ads/data_manager/v1/marketing_data_insights_service/rest/client.rb +2 -0
  8. data/lib/google/ads/data_manager/v1/partner_link_service/client.rb +2 -0
  9. data/lib/google/ads/data_manager/v1/partner_link_service/rest/client.rb +2 -0
  10. data/lib/google/ads/data_manager/v1/user_list_direct_license_service/client.rb +2 -0
  11. data/lib/google/ads/data_manager/v1/user_list_direct_license_service/rest/client.rb +2 -0
  12. data/lib/google/ads/data_manager/v1/user_list_global_license_service/client.rb +2 -0
  13. data/lib/google/ads/data_manager/v1/user_list_global_license_service/rest/client.rb +2 -0
  14. data/lib/google/ads/data_manager/v1/user_list_service/client.rb +2 -0
  15. data/lib/google/ads/data_manager/v1/user_list_service/rest/client.rb +2 -0
  16. data/lib/google/ads/data_manager/v1/version.rb +1 -1
  17. data/lib/google/ads/datamanager/v1/ad_event_pb.rb +36 -0
  18. data/lib/google/ads/datamanager/v1/destination_pb.rb +1 -1
  19. data/lib/google/ads/datamanager/v1/device_info_pb.rb +2 -1
  20. data/lib/google/ads/datamanager/v1/encryption_info_pb.rb +2 -1
  21. data/lib/google/ads/datamanager/v1/ingestion_service_pb.rb +4 -1
  22. data/lib/google/ads/datamanager/v1/ingestion_service_services_pb.rb +6 -0
  23. data/lib/google/ads/datamanager/v1/partner_link_service_pb.rb +4 -1
  24. data/lib/google/ads/datamanager/v1/viewability_info_pb.rb +26 -0
  25. data/proto_docs/google/ads/datamanager/v1/ad_event.rb +405 -0
  26. data/proto_docs/google/ads/datamanager/v1/destination.rb +1 -1
  27. data/proto_docs/google/ads/datamanager/v1/encryption_info.rb +23 -2
  28. data/proto_docs/google/ads/datamanager/v1/error.rb +2 -0
  29. data/proto_docs/google/ads/datamanager/v1/ingestion_service.rb +22 -0
  30. data/proto_docs/google/ads/datamanager/v1/partner_link_service.rb +54 -0
  31. data/proto_docs/google/ads/datamanager/v1/viewability_info.rb +91 -0
  32. metadata +7 -3
@@ -131,10 +131,64 @@ module Google
131
131
  # @!attribute [rw] partner_account
132
132
  # @return [::Google::Ads::DataManager::V1::ProductAccount]
133
133
  # Required. The partner account granted access by the owning account.
134
+ # @!attribute [rw] feature_set
135
+ # @return [::Google::Ads::DataManager::V1::FeatureSet]
136
+ # Optional. Immutable. The set of features supported for the partner link.
137
+ # If not specified, the system behavior defaults to
138
+ # {::Google::Ads::DataManager::V1::FeatureSet::FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT}.
139
+ # @!attribute [rw] partner_customer_account
140
+ # @return [::Google::Ads::DataManager::V1::PartnerCustomerAccount]
141
+ # Optional. The customer account in the partner system.
142
+ # This is required for partner links with the
143
+ # {::Google::Ads::DataManager::V1::FeatureSet::FEATURE_SET_AD_EVENT_MANAGEMENT FEATURE_SET_AD_EVENT_MANAGEMENT}
144
+ # feature set.
145
+ # @!attribute [rw] partner_link_metadata
146
+ # @return [::Google::Ads::DataManager::V1::PartnerLinkMetadata]
147
+ # Optional. Metadata associated with the partner link.
148
+ # This is optional and only accepted for partner links with the
149
+ # {::Google::Ads::DataManager::V1::FeatureSet::FEATURE_SET_AD_EVENT_MANAGEMENT FEATURE_SET_AD_EVENT_MANAGEMENT}.
134
150
  class PartnerLink
135
151
  include ::Google::Protobuf::MessageExts
136
152
  extend ::Google::Protobuf::MessageExts::ClassMethods
137
153
  end
154
+
155
+ # Represents a customer account in the partner's system.
156
+ # @!attribute [rw] account_id
157
+ # @return [::String]
158
+ # Required. The identifier of the customer account in the partner's ID space.
159
+ # @!attribute [rw] account_name
160
+ # @return [::String]
161
+ # Optional. The name of the account.
162
+ # @!attribute [rw] account_type
163
+ # @return [::String]
164
+ # Optional. The type of the account. Can be used to distinguish between
165
+ # advertiser accounts and business level accounts, for example.
166
+ class PartnerCustomerAccount
167
+ include ::Google::Protobuf::MessageExts
168
+ extend ::Google::Protobuf::MessageExts::ClassMethods
169
+ end
170
+
171
+ # Represents metadata associated with a partner link.
172
+ # @!attribute [rw] implicit_accounts
173
+ # @return [::Array<::Google::Ads::DataManager::V1::PartnerCustomerAccount>]
174
+ # Optional. The list of implicit accounts.
175
+ class PartnerLinkMetadata
176
+ include ::Google::Protobuf::MessageExts
177
+ extend ::Google::Protobuf::MessageExts::ClassMethods
178
+ end
179
+
180
+ # The set of supported features for a partner link.
181
+ module FeatureSet
182
+ # Unspecified feature set. If unspecified, the system behavior defaults to
183
+ # {::Google::Ads::DataManager::V1::FeatureSet::FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT}.
184
+ FEATURE_SET_UNSPECIFIED = 0
185
+
186
+ # Indicates a link used for audience and event management.
187
+ FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT = 1
188
+
189
+ # Indicates a link used for ad event management.
190
+ FEATURE_SET_AD_EVENT_MANAGEMENT = 2
191
+ end
138
192
  end
139
193
  end
140
194
  end
@@ -0,0 +1,91 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Ads
22
+ module DataManager
23
+ module V1
24
+ # Details of the viewability of the ad served.
25
+ # @!attribute [rw] view_type
26
+ # @return [::Google::Ads::DataManager::V1::ViewType]
27
+ # Required. The type of the event.
28
+ # @!attribute [rw] viewable_percent
29
+ # @return [::Integer]
30
+ # Optional. The numerical percent (0-100) of the pixels that were viewable.
31
+ # @!attribute [rw] viewable_duration
32
+ # @return [::Google::Protobuf::Duration]
33
+ # Optional. The amount of time the ad was viewable for.
34
+ # @!attribute [rw] media_skippable
35
+ # @return [::Boolean]
36
+ # Optional. Whether the ad media was skippable or not.
37
+ # @!attribute [rw] media_quartile
38
+ # @return [::Google::Ads::DataManager::V1::MediaQuartile]
39
+ # Optional. The amount of the media that was played as discrete quartiles.
40
+ # @!attribute [rw] media_duration
41
+ # @return [::Google::Protobuf::Duration]
42
+ # Optional. The duration of the ad media.
43
+ # @!attribute [rw] media_volume_percent
44
+ # @return [::Integer]
45
+ # Optional. The numerical percent (0-100) of the volume of the media
46
+ # playback.
47
+ # @!attribute [rw] playback_duration
48
+ # @return [::Google::Protobuf::Duration]
49
+ # Optional. The duration of playback of the ad media, regardless of whether
50
+ # it was viewable or not.
51
+ class ViewabilityInfo
52
+ include ::Google::Protobuf::MessageExts
53
+ extend ::Google::Protobuf::MessageExts::ClassMethods
54
+ end
55
+
56
+ # The type of the event.
57
+ module ViewType
58
+ # Unspecified view type.
59
+ VIEW_TYPE_UNSPECIFIED = 0
60
+
61
+ # MRC viewed.
62
+ VIEW_TYPE_MRC_VIEWED = 1
63
+
64
+ # MRC rendered.
65
+ VIEW_TYPE_MRC_RENDERED = 2
66
+ end
67
+
68
+ # The amount of the media that was played as discrete quartiles.
69
+ module MediaQuartile
70
+ # Unspecified media quartile.
71
+ MEDIA_QUARTILE_UNSPECIFIED = 0
72
+
73
+ # Start.
74
+ MEDIA_QUARTILE_START = 1
75
+
76
+ # First quartile.
77
+ MEDIA_QUARTILE_FIRST_QUARTILE = 2
78
+
79
+ # Midpoint.
80
+ MEDIA_QUARTILE_MIDPOINT = 3
81
+
82
+ # Third quartile.
83
+ MEDIA_QUARTILE_THIRD_QUARTILE = 4
84
+
85
+ # Complete.
86
+ MEDIA_QUARTILE_COMPLETE = 5
87
+ end
88
+ end
89
+ end
90
+ end
91
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-ads-data_manager-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.2'
18
+ version: '1.3'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.2'
25
+ version: '1.3'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +94,7 @@ files:
94
94
  - lib/google/ads/data_manager/v1/user_list_service/rest/client.rb
95
95
  - lib/google/ads/data_manager/v1/user_list_service/rest/service_stub.rb
96
96
  - lib/google/ads/data_manager/v1/version.rb
97
+ - lib/google/ads/datamanager/v1/ad_event_pb.rb
97
98
  - lib/google/ads/datamanager/v1/age_range_pb.rb
98
99
  - lib/google/ads/datamanager/v1/audience_pb.rb
99
100
  - lib/google/ads/datamanager/v1/cart_data_pb.rb
@@ -133,7 +134,9 @@ files:
133
134
  - lib/google/ads/datamanager/v1/user_list_service_pb.rb
134
135
  - lib/google/ads/datamanager/v1/user_list_service_services_pb.rb
135
136
  - lib/google/ads/datamanager/v1/user_properties_pb.rb
137
+ - lib/google/ads/datamanager/v1/viewability_info_pb.rb
136
138
  - proto_docs/README.md
139
+ - proto_docs/google/ads/datamanager/v1/ad_event.rb
137
140
  - proto_docs/google/ads/datamanager/v1/age_range.rb
138
141
  - proto_docs/google/ads/datamanager/v1/audience.rb
139
142
  - proto_docs/google/ads/datamanager/v1/cart_data.rb
@@ -167,6 +170,7 @@ files:
167
170
  - proto_docs/google/ads/datamanager/v1/user_list_license_status.rb
168
171
  - proto_docs/google/ads/datamanager/v1/user_list_service.rb
169
172
  - proto_docs/google/ads/datamanager/v1/user_properties.rb
173
+ - proto_docs/google/ads/datamanager/v1/viewability_info.rb
170
174
  - proto_docs/google/api/client.rb
171
175
  - proto_docs/google/api/field_behavior.rb
172
176
  - proto_docs/google/api/field_info.rb