google-ads-data_manager-v1 0.6.0 → 0.8.1

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 (64) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -1
  3. data/lib/google/ads/data_manager/v1/ingestion_service/client.rb +185 -1
  4. data/lib/google/ads/data_manager/v1/ingestion_service/credentials.rb +1 -1
  5. data/lib/google/ads/data_manager/v1/ingestion_service/rest/client.rb +187 -1
  6. data/lib/google/ads/data_manager/v1/ingestion_service/rest/service_stub.rb +121 -1
  7. data/lib/google/ads/data_manager/v1/ingestion_service/rest.rb +1 -1
  8. data/lib/google/ads/data_manager/v1/ingestion_service.rb +1 -1
  9. data/lib/google/ads/data_manager/v1/partner_link_service/client.rb +8 -1
  10. data/lib/google/ads/data_manager/v1/partner_link_service/rest/client.rb +8 -1
  11. data/lib/google/ads/data_manager/v1/rest.rb +1 -1
  12. data/lib/google/ads/data_manager/v1/user_list_direct_license_service/client.rb +4 -0
  13. data/lib/google/ads/data_manager/v1/user_list_direct_license_service/rest/client.rb +4 -0
  14. data/lib/google/ads/data_manager/v1/user_list_global_license_service/client.rb +8 -0
  15. data/lib/google/ads/data_manager/v1/user_list_global_license_service/rest/client.rb +8 -0
  16. data/lib/google/ads/data_manager/v1/user_list_service/client.rb +4 -0
  17. data/lib/google/ads/data_manager/v1/user_list_service/rest/client.rb +4 -0
  18. data/lib/google/ads/data_manager/v1/version.rb +1 -1
  19. data/lib/google/ads/data_manager/v1.rb +1 -1
  20. data/lib/google/ads/datamanager/v1/ad_event_pb.rb +36 -0
  21. data/lib/google/ads/datamanager/v1/audience_pb.rb +3 -1
  22. data/lib/google/ads/datamanager/v1/destination_pb.rb +1 -1
  23. data/lib/google/ads/datamanager/v1/device_info_pb.rb +2 -1
  24. data/lib/google/ads/datamanager/v1/encryption_info_pb.rb +2 -1
  25. data/lib/google/ads/datamanager/v1/error_pb.rb +1 -1
  26. data/lib/google/ads/datamanager/v1/ingestion_service_pb.rb +8 -1
  27. data/lib/google/ads/datamanager/v1/ingestion_service_services_pb.rb +9 -1
  28. data/lib/google/ads/datamanager/v1/partner_link_service_pb.rb +4 -1
  29. data/lib/google/ads/datamanager/v1/processing_errors_pb.rb +3 -1
  30. data/lib/google/ads/datamanager/v1/request_status_per_destination_pb.rb +6 -1
  31. data/lib/google/ads/datamanager/v1/user_data_pb.rb +1 -1
  32. data/lib/google/ads/datamanager/v1/viewability_info_pb.rb +26 -0
  33. data/lib/google-ads-data_manager-v1.rb +1 -1
  34. data/proto_docs/google/ads/datamanager/v1/ad_event.rb +405 -0
  35. data/proto_docs/google/ads/datamanager/v1/audience.rb +41 -9
  36. data/proto_docs/google/ads/datamanager/v1/cart_data.rb +1 -1
  37. data/proto_docs/google/ads/datamanager/v1/consent.rb +1 -1
  38. data/proto_docs/google/ads/datamanager/v1/destination.rb +2 -2
  39. data/proto_docs/google/ads/datamanager/v1/device_info.rb +3 -2
  40. data/proto_docs/google/ads/datamanager/v1/encryption_info.rb +24 -3
  41. data/proto_docs/google/ads/datamanager/v1/error.rb +11 -1
  42. data/proto_docs/google/ads/datamanager/v1/event.rb +1 -1
  43. data/proto_docs/google/ads/datamanager/v1/experimental_field.rb +1 -1
  44. data/proto_docs/google/ads/datamanager/v1/ingestion_service.rb +60 -1
  45. data/proto_docs/google/ads/datamanager/v1/item_parameter.rb +1 -1
  46. data/proto_docs/google/ads/datamanager/v1/match_rate.rb +1 -1
  47. data/proto_docs/google/ads/datamanager/v1/partner_link_service.rb +62 -1
  48. data/proto_docs/google/ads/datamanager/v1/processing_errors.rb +92 -1
  49. data/proto_docs/google/ads/datamanager/v1/request_status_per_destination.rb +115 -16
  50. data/proto_docs/google/ads/datamanager/v1/terms_of_service.rb +1 -1
  51. data/proto_docs/google/ads/datamanager/v1/user_data.rb +30 -1
  52. data/proto_docs/google/ads/datamanager/v1/user_list.rb +2 -0
  53. data/proto_docs/google/ads/datamanager/v1/user_list_direct_license_service.rb +4 -0
  54. data/proto_docs/google/ads/datamanager/v1/user_list_global_license_service.rb +8 -0
  55. data/proto_docs/google/ads/datamanager/v1/user_list_service.rb +4 -0
  56. data/proto_docs/google/ads/datamanager/v1/user_properties.rb +1 -1
  57. data/proto_docs/google/ads/datamanager/v1/viewability_info.rb +91 -0
  58. data/proto_docs/google/api/client.rb +1 -1
  59. data/proto_docs/google/api/field_behavior.rb +1 -1
  60. data/proto_docs/google/api/launch_stage.rb +1 -1
  61. data/proto_docs/google/api/resource.rb +1 -1
  62. data/proto_docs/google/protobuf/duration.rb +1 -1
  63. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  64. metadata +5 -1
@@ -223,6 +223,7 @@ module Google
223
223
  PAIR_ID = 4
224
224
 
225
225
  # Data Management Platform IDs:
226
+ #
226
227
  # - Google User ID
227
228
  # - Partner Provided ID
228
229
  # - Publisher Provided ID
@@ -231,6 +232,7 @@ module Google
231
232
  # - Roku ID
232
233
  # - Amazon Fire TV ID
233
234
  # - Xbox or Microsoft ID
235
+ # - Generic Device ID
234
236
  PSEUDONYMOUS_ID = 5
235
237
  end
236
238
  end
@@ -89,6 +89,10 @@ module Google
89
89
  # - `<`
90
90
  # - `<=`
91
91
  #
92
+ # **Supported Functions:**
93
+ # - `IN(field, value1, value2, ...)`: returns true if the field matches any
94
+ # of the values. Example: `IN(user_list_id, 123, 456)`
95
+ #
92
96
  # **Unsupported Fields:**
93
97
  #
94
98
  # - `name` (use get method instead)
@@ -89,6 +89,10 @@ module Google
89
89
  # - `<`
90
90
  # - `<=`
91
91
  #
92
+ # **Supported Functions:**
93
+ # - `IN(field, value1, value2, ...)`: returns true if the field matches any
94
+ # of the values. Example: `IN(user_list_id, 123, 456)`
95
+ #
92
96
  # **Unsupported Fields:**
93
97
  #
94
98
  # - `name` (use get method instead)
@@ -159,6 +163,10 @@ module Google
159
163
  # - `<`
160
164
  # - `<=`
161
165
  #
166
+ # **Supported Functions:**
167
+ # - `IN(field, value1, value2, ...)`: returns true if the field matches any
168
+ # of the values. Example: `IN(user_list_id, 123, 456)`
169
+ #
162
170
  # **Unsupported Fields:**
163
171
  #
164
172
  # - `name` (use get method instead)
@@ -70,6 +70,10 @@ module Google
70
70
  # - `<=`
71
71
  # - `:` (has)
72
72
  #
73
+ # **Supported Functions:**
74
+ # - `IN(field, value1, value2, ...)`: returns true if the field matches any
75
+ # of the values. Example: `IN(display_name, "name1", "name2")`
76
+ #
73
77
  # Supported fields:
74
78
  #
75
79
  # - `id`
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -110,14 +110,15 @@ module Google
110
110
  # ) to obtain a formatter capable of generating timestamps in this format.
111
111
  # @!attribute [rw] seconds
112
112
  # @return [::Integer]
113
- # Represents seconds of UTC time since Unix epoch
114
- # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
115
- # 9999-12-31T23:59:59Z inclusive.
113
+ # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
114
+ # be between -315576000000 and 315576000000 inclusive (which corresponds to
115
+ # 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
116
116
  # @!attribute [rw] nanos
117
117
  # @return [::Integer]
118
- # Non-negative fractions of a second at nanosecond resolution. Negative
119
- # second values with fractions must still have non-negative nanos values
120
- # that count forward in time. Must be from 0 to 999,999,999
118
+ # Non-negative fractions of a second at nanosecond resolution. This field is
119
+ # the nanosecond portion of the duration, not an alternative to seconds.
120
+ # Negative second values with fractions must still have non-negative nanos
121
+ # values that count forward in time. Must be between 0 and 999,999,999
121
122
  # inclusive.
122
123
  class Timestamp
123
124
  include ::Google::Protobuf::MessageExts
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.6.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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