google-ads-data_manager-v1 0.2.0 → 0.3.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 (99) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/ads/data_manager/v1/marketing_data_insights_service/client.rb +494 -0
  3. data/lib/google/ads/data_manager/v1/marketing_data_insights_service/credentials.rb +47 -0
  4. data/lib/google/ads/data_manager/v1/marketing_data_insights_service/rest/client.rb +444 -0
  5. data/lib/google/ads/data_manager/v1/marketing_data_insights_service/rest/service_stub.rb +143 -0
  6. data/lib/google/ads/data_manager/v1/marketing_data_insights_service/rest.rb +53 -0
  7. data/lib/google/ads/data_manager/v1/marketing_data_insights_service.rb +56 -0
  8. data/lib/google/ads/data_manager/v1/partner_link_service/client.rb +739 -0
  9. data/lib/google/ads/data_manager/v1/partner_link_service/credentials.rb +47 -0
  10. data/lib/google/ads/data_manager/v1/partner_link_service/paths.rb +69 -0
  11. data/lib/google/ads/data_manager/v1/partner_link_service/rest/client.rb +675 -0
  12. data/lib/google/ads/data_manager/v1/partner_link_service/rest/service_stub.rb +265 -0
  13. data/lib/google/ads/data_manager/v1/partner_link_service/rest.rb +52 -0
  14. data/lib/google/ads/data_manager/v1/partner_link_service.rb +55 -0
  15. data/lib/google/ads/data_manager/v1/rest.rb +5 -0
  16. data/lib/google/ads/data_manager/v1/user_list_direct_license_service/client.rb +813 -0
  17. data/lib/google/ads/data_manager/v1/user_list_direct_license_service/credentials.rb +47 -0
  18. data/lib/google/ads/data_manager/v1/user_list_direct_license_service/paths.rb +69 -0
  19. data/lib/google/ads/data_manager/v1/user_list_direct_license_service/rest/client.rb +742 -0
  20. data/lib/google/ads/data_manager/v1/user_list_direct_license_service/rest/service_stub.rb +327 -0
  21. data/lib/google/ads/data_manager/v1/user_list_direct_license_service/rest.rb +56 -0
  22. data/lib/google/ads/data_manager/v1/user_list_direct_license_service.rb +59 -0
  23. data/lib/google/ads/data_manager/v1/user_list_global_license_service/client.rb +955 -0
  24. data/lib/google/ads/data_manager/v1/user_list_global_license_service/credentials.rb +47 -0
  25. data/lib/google/ads/data_manager/v1/user_list_global_license_service/paths.rb +69 -0
  26. data/lib/google/ads/data_manager/v1/user_list_global_license_service/rest/client.rb +877 -0
  27. data/lib/google/ads/data_manager/v1/user_list_global_license_service/rest/service_stub.rb +388 -0
  28. data/lib/google/ads/data_manager/v1/user_list_global_license_service/rest.rb +56 -0
  29. data/lib/google/ads/data_manager/v1/user_list_global_license_service.rb +59 -0
  30. data/lib/google/ads/data_manager/v1/user_list_service/client.rb +972 -0
  31. data/lib/google/ads/data_manager/v1/user_list_service/credentials.rb +47 -0
  32. data/lib/google/ads/data_manager/v1/user_list_service/paths.rb +69 -0
  33. data/lib/google/ads/data_manager/v1/user_list_service/rest/client.rb +894 -0
  34. data/lib/google/ads/data_manager/v1/user_list_service/rest/service_stub.rb +388 -0
  35. data/lib/google/ads/data_manager/v1/user_list_service/rest.rb +52 -0
  36. data/lib/google/ads/data_manager/v1/user_list_service.rb +55 -0
  37. data/lib/google/ads/data_manager/v1/version.rb +1 -1
  38. data/lib/google/ads/data_manager/v1.rb +5 -0
  39. data/lib/google/ads/datamanager/v1/age_range_pb.rb +21 -0
  40. data/lib/google/ads/datamanager/v1/audience_pb.rb +5 -26
  41. data/lib/google/ads/datamanager/v1/cart_data_pb.rb +3 -25
  42. data/lib/google/ads/datamanager/v1/consent_pb.rb +3 -24
  43. data/lib/google/ads/datamanager/v1/destination_pb.rb +4 -24
  44. data/lib/google/ads/datamanager/v1/device_info_pb.rb +3 -24
  45. data/lib/google/ads/datamanager/v1/encryption_info_pb.rb +3 -24
  46. data/lib/google/ads/datamanager/v1/error_pb.rb +3 -24
  47. data/lib/google/ads/datamanager/v1/event_pb.rb +3 -31
  48. data/lib/google/ads/datamanager/v1/experimental_field_pb.rb +3 -24
  49. data/lib/google/ads/datamanager/v1/gender_pb.rb +21 -0
  50. data/lib/google/ads/datamanager/v1/ingestion_service_pb.rb +3 -31
  51. data/lib/google/ads/datamanager/v1/insights_service_pb.rb +33 -0
  52. data/lib/google/ads/datamanager/v1/insights_service_services_pb.rb +62 -0
  53. data/lib/google/ads/datamanager/v1/item_parameter_pb.rb +3 -24
  54. data/lib/google/ads/datamanager/v1/match_rate_pb.rb +3 -24
  55. data/lib/google/ads/datamanager/v1/partner_link_service_pb.rb +32 -0
  56. data/lib/google/ads/datamanager/v1/partner_link_service_services_pb.rb +79 -0
  57. data/lib/google/ads/datamanager/v1/processing_errors_pb.rb +3 -24
  58. data/lib/google/ads/datamanager/v1/request_status_per_destination_pb.rb +7 -26
  59. data/lib/google/ads/datamanager/v1/terms_of_service_pb.rb +3 -24
  60. data/lib/google/ads/datamanager/v1/user_data_pb.rb +3 -24
  61. data/lib/google/ads/datamanager/v1/user_list_direct_license_pb.rb +28 -0
  62. data/lib/google/ads/datamanager/v1/user_list_direct_license_service_pb.rb +32 -0
  63. data/lib/google/ads/datamanager/v1/user_list_direct_license_service_services_pb.rb +63 -0
  64. data/lib/google/ads/datamanager/v1/user_list_global_license_pb.rb +30 -0
  65. data/lib/google/ads/datamanager/v1/user_list_global_license_service_pb.rb +34 -0
  66. data/lib/google/ads/datamanager/v1/user_list_global_license_service_services_pb.rb +67 -0
  67. data/lib/google/ads/datamanager/v1/user_list_global_license_type_pb.rb +21 -0
  68. data/lib/google/ads/datamanager/v1/user_list_license_client_account_type_pb.rb +21 -0
  69. data/lib/google/ads/datamanager/v1/user_list_license_metrics_pb.rb +23 -0
  70. data/lib/google/ads/datamanager/v1/user_list_license_pricing_pb.rb +26 -0
  71. data/lib/google/ads/datamanager/v1/user_list_license_status_pb.rb +21 -0
  72. data/lib/google/ads/datamanager/v1/user_list_pb.rb +43 -0
  73. data/lib/google/ads/datamanager/v1/user_list_service_pb.rb +34 -0
  74. data/lib/google/ads/datamanager/v1/user_list_service_services_pb.rb +118 -0
  75. data/lib/google/ads/datamanager/v1/user_properties_pb.rb +3 -24
  76. data/proto_docs/google/ads/datamanager/v1/age_range.rb +53 -0
  77. data/proto_docs/google/ads/datamanager/v1/audience.rb +42 -3
  78. data/proto_docs/google/ads/datamanager/v1/destination.rb +3 -0
  79. data/proto_docs/google/ads/datamanager/v1/encryption_info.rb +6 -3
  80. data/proto_docs/google/ads/datamanager/v1/error.rb +159 -1
  81. data/proto_docs/google/ads/datamanager/v1/gender.rb +41 -0
  82. data/proto_docs/google/ads/datamanager/v1/insights_service.rb +133 -0
  83. data/proto_docs/google/ads/datamanager/v1/partner_link_service.rb +141 -0
  84. data/proto_docs/google/ads/datamanager/v1/request_status_per_destination.rb +92 -6
  85. data/proto_docs/google/ads/datamanager/v1/user_list.rb +397 -0
  86. data/proto_docs/google/ads/datamanager/v1/user_list_direct_license.rb +75 -0
  87. data/proto_docs/google/ads/datamanager/v1/user_list_direct_license_service.rb +134 -0
  88. data/proto_docs/google/ads/datamanager/v1/user_list_global_license.rb +114 -0
  89. data/proto_docs/google/ads/datamanager/v1/user_list_global_license_service.rb +204 -0
  90. data/proto_docs/google/ads/datamanager/v1/user_list_global_license_type.rb +41 -0
  91. data/proto_docs/google/ads/datamanager/v1/user_list_license_client_account_type.rb +44 -0
  92. data/proto_docs/google/ads/datamanager/v1/user_list_license_metrics.rb +55 -0
  93. data/proto_docs/google/ads/datamanager/v1/user_list_license_pricing.rb +108 -0
  94. data/proto_docs/google/ads/datamanager/v1/user_list_license_status.rb +38 -0
  95. data/proto_docs/google/ads/datamanager/v1/user_list_service.rb +151 -0
  96. data/proto_docs/google/api/client.rb +149 -29
  97. data/proto_docs/google/protobuf/empty.rb +34 -0
  98. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  99. metadata +73 -2
@@ -0,0 +1,397 @@
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
+ # A user list resource.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Identifier. The resource name of the user list.
28
+ # Format:
29
+ # accountTypes/\\{account_type}/accounts/\\{account}/userLists/\\{user_list}
30
+ # @!attribute [r] id
31
+ # @return [::Integer]
32
+ # Output only. The unique ID of the user list.
33
+ # @!attribute [r] read_only
34
+ # @return [::Boolean]
35
+ # Output only. An option that indicates if a user may edit a list.
36
+ # @!attribute [rw] display_name
37
+ # @return [::String]
38
+ # Required. The display name of the user list.
39
+ # @!attribute [rw] description
40
+ # @return [::String]
41
+ # Optional. A description of the user list.
42
+ # @!attribute [rw] membership_status
43
+ # @return [::Google::Ads::DataManager::V1::UserList::MembershipStatus]
44
+ # Optional. Membership status of this user list.
45
+ # @!attribute [rw] integration_code
46
+ # @return [::String]
47
+ # Optional. An ID from external system. It is used by user list sellers to
48
+ # correlate IDs on their systems.
49
+ # @!attribute [rw] membership_duration
50
+ # @return [::Google::Protobuf::Duration]
51
+ # Optional. The duration a user remains in the user list.
52
+ # Valid durations are exact multiples of 24 hours (86400 seconds).
53
+ # Providing a value that is not an exact multiple of 24 hours will result in
54
+ # an INVALID_ARGUMENT error.
55
+ # @!attribute [r] closing_reason
56
+ # @return [::Google::Ads::DataManager::V1::UserList::ClosingReason]
57
+ # Output only. The reason why this user list membership status is closed.
58
+ # @!attribute [r] access_reason
59
+ # @return [::Google::Ads::DataManager::V1::UserList::AccessReason]
60
+ # Output only. The reason this account has been granted access to the list.
61
+ # @!attribute [rw] account_access_status
62
+ # @return [::Google::Ads::DataManager::V1::UserList::AccessStatus]
63
+ # Optional. Indicates if this share is still enabled. When a user list is
64
+ # shared with the account this field is set to `ENABLED`. Later the user list
65
+ # owner can decide to revoke the share and make it `DISABLED`.
66
+ # @!attribute [r] size_info
67
+ # @return [::Google::Ads::DataManager::V1::SizeInfo]
68
+ # Output only. Estimated number of members in this user list in different
69
+ # target networks.
70
+ # @!attribute [rw] target_network_info
71
+ # @return [::Google::Ads::DataManager::V1::TargetNetworkInfo]
72
+ # Optional. Eligibility information for different target networks.
73
+ # @!attribute [rw] ingested_user_list_info
74
+ # @return [::Google::Ads::DataManager::V1::IngestedUserListInfo]
75
+ # Optional. Represents a user list that is populated by user ingested data.
76
+ class UserList
77
+ include ::Google::Protobuf::MessageExts
78
+ extend ::Google::Protobuf::MessageExts::ClassMethods
79
+
80
+ # Status of the user list.
81
+ module MembershipStatus
82
+ # Not specified.
83
+ MEMBERSHIP_STATUS_UNSPECIFIED = 0
84
+
85
+ # Open status - User list is accruing members and can be targeted to.
86
+ OPEN = 1
87
+
88
+ # Closed status - No new members being added.
89
+ CLOSED = 2
90
+ end
91
+
92
+ # Indicates the reason why the user list was closed.
93
+ # This enum is only used when a list is auto-closed by the system.
94
+ module ClosingReason
95
+ # Not specified.
96
+ CLOSING_REASON_UNSPECIFIED = 0
97
+
98
+ # The user list was closed because it has not been used in targeting
99
+ # recently. See https://support.google.com/google-ads/answer/2472738
100
+ # for details.
101
+ UNUSED = 1
102
+ end
103
+
104
+ # Enum describing possible access reasons.
105
+ module AccessReason
106
+ # Not specified.
107
+ ACCESS_REASON_UNSPECIFIED = 0
108
+
109
+ # The resource is owned by the user.
110
+ OWNED = 1
111
+
112
+ # The resource is shared to the user.
113
+ SHARED = 2
114
+
115
+ # The resource is licensed to the user.
116
+ LICENSED = 3
117
+
118
+ # The user subscribed to the resource.
119
+ SUBSCRIBED = 4
120
+
121
+ # The resource is accessible to the user.
122
+ AFFILIATED = 5
123
+ end
124
+
125
+ # Indicates if this client still has access to the list.
126
+ module AccessStatus
127
+ # Not specified.
128
+ ACCESS_STATUS_UNSPECIFIED = 0
129
+
130
+ # The access is enabled.
131
+ ENABLED = 1
132
+
133
+ # The access is disabled.
134
+ DISABLED = 2
135
+ end
136
+ end
137
+
138
+ # Estimated number of members in this user list in different target networks.
139
+ # @!attribute [r] display_network_members_count
140
+ # @return [::Integer]
141
+ # Output only. Estimated number of members in this user list, on the Google
142
+ # Display Network.
143
+ # @!attribute [r] search_network_members_count
144
+ # @return [::Integer]
145
+ # Output only. Estimated number of members in this user list in the
146
+ # google.com domain. These are the members available for targeting in Search
147
+ # campaigns.
148
+ class SizeInfo
149
+ include ::Google::Protobuf::MessageExts
150
+ extend ::Google::Protobuf::MessageExts::ClassMethods
151
+ end
152
+
153
+ # Eligibility information for different target networks.
154
+ # @!attribute [r] eligible_for_display
155
+ # @return [::Boolean]
156
+ # Output only. Indicates this user list is eligible for Google Display
157
+ # Network.
158
+ # @!attribute [rw] eligible_for_search
159
+ # @return [::Boolean]
160
+ # Optional. Indicates if this user list is eligible for Google Search
161
+ # Network.
162
+ class TargetNetworkInfo
163
+ include ::Google::Protobuf::MessageExts
164
+ extend ::Google::Protobuf::MessageExts::ClassMethods
165
+ end
166
+
167
+ # Represents a user list that is populated by user provided data.
168
+ # @!attribute [rw] upload_key_types
169
+ # @return [::Array<::Google::Ads::DataManager::V1::IngestedUserListInfo::UploadKeyType>]
170
+ # Required. Immutable. Upload key types of this user list.
171
+ # @!attribute [rw] contact_id_info
172
+ # @return [::Google::Ads::DataManager::V1::ContactIdInfo]
173
+ # Optional. Additional information when `CONTACT_ID` is one of the
174
+ # `upload_key_types`.
175
+ # @!attribute [rw] mobile_id_info
176
+ # @return [::Google::Ads::DataManager::V1::MobileIdInfo]
177
+ # Optional. Additional information when `MOBILE_ID` is one of the
178
+ # `upload_key_types`.
179
+ # @!attribute [rw] user_id_info
180
+ # @return [::Google::Ads::DataManager::V1::UserIdInfo]
181
+ # Optional. Additional information when `USER_ID` is one of the
182
+ # `upload_key_types`.
183
+ # @!attribute [rw] pair_id_info
184
+ # @return [::Google::Ads::DataManager::V1::PairIdInfo]
185
+ # Optional. Additional information when `PAIR_ID` is one of the
186
+ # `upload_key_types`.
187
+ #
188
+ # This feature is only available to data partners.
189
+ # @!attribute [rw] pseudonymous_id_info
190
+ # @return [::Google::Ads::DataManager::V1::PseudonymousIdInfo]
191
+ # Optional. Additional information for `PSEUDONYMOUS_ID` is one of the
192
+ # `upload_key_types`.
193
+ # @!attribute [rw] partner_audience_info
194
+ # @return [::Google::Ads::DataManager::V1::PartnerAudienceInfo]
195
+ # Optional. Additional information for partner audiences.
196
+ #
197
+ # This feature is only available to data partners.
198
+ class IngestedUserListInfo
199
+ include ::Google::Protobuf::MessageExts
200
+ extend ::Google::Protobuf::MessageExts::ClassMethods
201
+
202
+ # Enum containing the possible upload key types of a user list.
203
+ module UploadKeyType
204
+ # Not specified.
205
+ UPLOAD_KEY_TYPE_UNSPECIFIED = 0
206
+
207
+ # Customer info such as email address, phone number or physical address.
208
+ CONTACT_ID = 1
209
+
210
+ # Mobile advertising ids.
211
+ MOBILE_ID = 2
212
+
213
+ # Third party provided user ids.
214
+ USER_ID = 3
215
+
216
+ # Publisher advertiser identity reconciliation ids.
217
+ PAIR_ID = 4
218
+
219
+ # Data Management Platform IDs:
220
+ # - Google User ID
221
+ # - Partner Provided ID
222
+ # - Publisher Provided ID
223
+ # - iOS IDFA
224
+ # - Android advertising ID
225
+ # - Roku ID
226
+ # - Amazon Fire TV ID
227
+ # - Xbox or Microsoft ID
228
+ PSEUDONYMOUS_ID = 5
229
+ end
230
+ end
231
+
232
+ # Additional information when `CONTACT_ID` is one of the `upload_key_types`.
233
+ # @!attribute [rw] data_source_type
234
+ # @return [::Google::Ads::DataManager::V1::DataSourceType]
235
+ # Optional. Immutable. Source of the upload data
236
+ # @!attribute [r] match_rate_percentage
237
+ # @return [::Integer]
238
+ # Output only. Match rate for customer match user lists.
239
+ class ContactIdInfo
240
+ include ::Google::Protobuf::MessageExts
241
+ extend ::Google::Protobuf::MessageExts::ClassMethods
242
+ end
243
+
244
+ # Additional information when `MOBILE_ID` is one of the `upload_key_types`.
245
+ # @!attribute [rw] data_source_type
246
+ # @return [::Google::Ads::DataManager::V1::DataSourceType]
247
+ # Optional. Immutable. Source of the upload data.
248
+ # @!attribute [rw] key_space
249
+ # @return [::Google::Ads::DataManager::V1::MobileIdInfo::KeySpace]
250
+ # Required. Immutable. The key space of mobile IDs.
251
+ # @!attribute [rw] app_id
252
+ # @return [::String]
253
+ # Required. Immutable. A string that uniquely identifies a mobile application
254
+ # from which the data was collected.
255
+ class MobileIdInfo
256
+ include ::Google::Protobuf::MessageExts
257
+ extend ::Google::Protobuf::MessageExts::ClassMethods
258
+
259
+ # Key space for mobile ID.
260
+ module KeySpace
261
+ # Not specified.
262
+ KEY_SPACE_UNSPECIFIED = 0
263
+
264
+ # The iOS keyspace.
265
+ IOS = 1
266
+
267
+ # The Android keyspace.
268
+ ANDROID = 2
269
+ end
270
+ end
271
+
272
+ # Additional information when `USER_ID` is one of the `upload_key_types`.
273
+ # @!attribute [rw] data_source_type
274
+ # @return [::Google::Ads::DataManager::V1::DataSourceType]
275
+ # Optional. Immutable. Source of the upload data.
276
+ class UserIdInfo
277
+ include ::Google::Protobuf::MessageExts
278
+ extend ::Google::Protobuf::MessageExts::ClassMethods
279
+ end
280
+
281
+ # Additional information when `PAIR_ID` is one of the `upload_key_types`.
282
+ #
283
+ # This feature is only available to data partners.
284
+ # @!attribute [rw] publisher_id
285
+ # @return [::Integer]
286
+ # Required. Immutable. Identifies the publisher that the Publisher Advertiser
287
+ # Identity Reconciliation user list is reconciled with. This field is
288
+ # provided by the cleanroom provider and is only unique in the scope of that
289
+ # cleanroom. This cannot be used as a global identifier across multiple
290
+ # cleanrooms.
291
+ # @!attribute [rw] publisher_name
292
+ # @return [::String]
293
+ # Required. Descriptive name of the publisher to be displayed in the UI for a
294
+ # better targeting experience.
295
+ # @!attribute [rw] match_rate_percentage
296
+ # @return [::Integer]
297
+ # Required. This field denotes the percentage of membership match of this
298
+ # user list with the corresponding publisher's first party data. Must be
299
+ # between 0 and 100 inclusive.
300
+ # @!attribute [rw] advertiser_identifier_count
301
+ # @return [::Integer]
302
+ # Optional. The count of the advertiser's first party data records that have
303
+ # been uploaded to a clean room provider. This does not signify the size of a
304
+ # PAIR user list.
305
+ # @!attribute [rw] clean_room_identifier
306
+ # @return [::String]
307
+ # Required. Immutable. Identifies a unique advertiser to publisher
308
+ # relationship with one clean room provider or across multiple clean room
309
+ # providers.
310
+ class PairIdInfo
311
+ include ::Google::Protobuf::MessageExts
312
+ extend ::Google::Protobuf::MessageExts::ClassMethods
313
+ end
314
+
315
+ # Additional information for partner audiences.
316
+ #
317
+ # This feature is only available to data partners.
318
+ # @!attribute [rw] partner_audience_source
319
+ # @return [::Google::Ads::DataManager::V1::PartnerAudienceInfo::PartnerAudienceSource]
320
+ # Required. Immutable. The source of the partner audience.
321
+ # @!attribute [rw] commerce_partner
322
+ # @return [::String]
323
+ # Optional. The commerce partner name.
324
+ # Only allowed if `partner_audience_source` is `COMMERCE_AUDIENCE`.
325
+ class PartnerAudienceInfo
326
+ include ::Google::Protobuf::MessageExts
327
+ extend ::Google::Protobuf::MessageExts::ClassMethods
328
+
329
+ # Partner audience source.
330
+ module PartnerAudienceSource
331
+ # Not specified.
332
+ PARTNER_AUDIENCE_SOURCE_UNSPECIFIED = 0
333
+
334
+ # Partner Audience source is commerce audience.
335
+ COMMERCE_AUDIENCE = 1
336
+
337
+ # Partner Audience source is linear TV audience.
338
+ LINEAR_TV_AUDIENCE = 2
339
+
340
+ # Partner Audience source is agency/provider audience.
341
+ AGENCY_PROVIDER_AUDIENCE = 3
342
+ end
343
+ end
344
+
345
+ # Additional information when `PSEUDONYMOUS_ID` is one of the
346
+ # `upload_key_types`.
347
+ # @!attribute [r] sync_status
348
+ # @return [::Google::Ads::DataManager::V1::PseudonymousIdInfo::SyncStatus]
349
+ # Output only. Sync status of the user list.
350
+ # @!attribute [rw] billable_record_count
351
+ # @return [::Integer]
352
+ # Optional. Immutable. The number of billable records (e.g. uploaded or
353
+ # matched).
354
+ class PseudonymousIdInfo
355
+ include ::Google::Protobuf::MessageExts
356
+ extend ::Google::Protobuf::MessageExts::ClassMethods
357
+
358
+ # Sync status of the user list.
359
+ module SyncStatus
360
+ # Not specified.
361
+ SYNC_STATUS_UNSPECIFIED = 0
362
+
363
+ # The user list has been created as a placeholder. List contents and/or
364
+ # metadata are still being synced. The user list is not ready for use.
365
+ CREATED = 1
366
+
367
+ # The user list is ready for use. Contents and cookies have been synced
368
+ # correctly.
369
+ READY_FOR_USE = 2
370
+
371
+ # An error has occurred syncing user list contents and/or metadata. The
372
+ # user list cannot be used.
373
+ FAILED = 3
374
+ end
375
+ end
376
+
377
+ # Indicates source of upload data.
378
+ module DataSourceType
379
+ # Not specified.
380
+ DATA_SOURCE_TYPE_UNSPECIFIED = 0
381
+
382
+ # The uploaded data is first-party data.
383
+ DATA_SOURCE_TYPE_FIRST_PARTY = 1
384
+
385
+ # The uploaded data is from a third-party credit bureau.
386
+ DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU = 2
387
+
388
+ # The uploaded data is from a third-party voter file.
389
+ DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE = 3
390
+
391
+ # The uploaded data is third party partner data.
392
+ DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA = 4
393
+ end
394
+ end
395
+ end
396
+ end
397
+ end
@@ -0,0 +1,75 @@
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
+ # A user list direct license.
25
+ #
26
+ # This feature is only available to data partners.
27
+ # @!attribute [rw] name
28
+ # @return [::String]
29
+ # Identifier. The resource name of the user list direct license.
30
+ # @!attribute [rw] user_list_id
31
+ # @return [::Integer]
32
+ # Immutable. ID of the user list being licensed.
33
+ # @!attribute [r] user_list_display_name
34
+ # @return [::String]
35
+ # Output only. Name of the user list being licensed.
36
+ #
37
+ # This field is read-only.
38
+ # @!attribute [rw] client_account_type
39
+ # @return [::Google::Ads::DataManager::V1::UserListLicenseClientAccountType]
40
+ # Immutable. Account type of client customer which the user list is being
41
+ # licensed to.
42
+ # @!attribute [rw] client_account_id
43
+ # @return [::Integer]
44
+ # Immutable. ID of client customer which the user list is being licensed to.
45
+ # @!attribute [r] client_account_display_name
46
+ # @return [::String]
47
+ # Output only. Name of client customer which the user list is being licensed
48
+ # to.
49
+ #
50
+ # This field is read-only.
51
+ # @!attribute [rw] status
52
+ # @return [::Google::Ads::DataManager::V1::UserListLicenseStatus]
53
+ # Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
54
+ # @!attribute [rw] pricing
55
+ # @return [::Google::Ads::DataManager::V1::UserListLicensePricing]
56
+ # Optional. UserListDirectLicense pricing.
57
+ # @!attribute [r] historical_pricings
58
+ # @return [::Array<::Google::Ads::DataManager::V1::UserListLicensePricing>]
59
+ # Output only. Pricing history of this user list license.
60
+ #
61
+ # This field is read-only.
62
+ # @!attribute [r] metrics
63
+ # @return [::Google::Ads::DataManager::V1::UserListLicenseMetrics]
64
+ # Output only. Metrics related to this license
65
+ #
66
+ # This field is read-only and only populated if the start and end dates are
67
+ # set in the ListUserListDirectLicenses call
68
+ class UserListDirectLicense
69
+ include ::Google::Protobuf::MessageExts
70
+ extend ::Google::Protobuf::MessageExts::ClassMethods
71
+ end
72
+ end
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,134 @@
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
+ # Request to create a
25
+ # {::Google::Ads::DataManager::V1::UserListDirectLicense UserListDirectLicense}
26
+ # resource.
27
+ # @!attribute [rw] parent
28
+ # @return [::String]
29
+ # Required. The account that owns the user list being licensed. Should be in
30
+ # the format accountTypes/\\{ACCOUNT_TYPE}/accounts/\\{ACCOUNT_ID}
31
+ # @!attribute [rw] user_list_direct_license
32
+ # @return [::Google::Ads::DataManager::V1::UserListDirectLicense]
33
+ # Required. The user list direct license to create.
34
+ class CreateUserListDirectLicenseRequest
35
+ include ::Google::Protobuf::MessageExts
36
+ extend ::Google::Protobuf::MessageExts::ClassMethods
37
+ end
38
+
39
+ # Request to get a
40
+ # {::Google::Ads::DataManager::V1::UserListDirectLicense UserListDirectLicense}
41
+ # resource.
42
+ # @!attribute [rw] name
43
+ # @return [::String]
44
+ # Required. The resource name of the user list direct license.
45
+ class GetUserListDirectLicenseRequest
46
+ include ::Google::Protobuf::MessageExts
47
+ extend ::Google::Protobuf::MessageExts::ClassMethods
48
+ end
49
+
50
+ # Request to update a
51
+ # {::Google::Ads::DataManager::V1::UserListDirectLicense UserListDirectLicense}
52
+ # resource.
53
+ # @!attribute [rw] user_list_direct_license
54
+ # @return [::Google::Ads::DataManager::V1::UserListDirectLicense]
55
+ # Required. The licenses' `name` field is used to identify the license to
56
+ # update.
57
+ # @!attribute [rw] update_mask
58
+ # @return [::Google::Protobuf::FieldMask]
59
+ # Optional. The list of fields to update. The special character `*` is not
60
+ # supported and an `INVALID_UPDATE_MASK` error will be thrown if used.
61
+ class UpdateUserListDirectLicenseRequest
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+ end
65
+
66
+ # Request to list all
67
+ # {::Google::Ads::DataManager::V1::UserListDirectLicense UserListDirectLicense}
68
+ # resources for a given account.
69
+ # @!attribute [rw] parent
70
+ # @return [::String]
71
+ # Required. The account whose licenses are being queried. Should be in the
72
+ # format accountTypes/\\{ACCOUNT_TYPE}/accounts/\\{ACCOUNT_ID}
73
+ # @!attribute [rw] filter
74
+ # @return [::String]
75
+ # Optional. A [filter string](https://google.aip.dev/160) to apply to the
76
+ # list request. All fields need to be on the left hand side of each condition
77
+ # (for example: `user_list_id = 123`). Fields must be specified using either
78
+ # all [camel case](https://en.wikipedia.org/wiki/Camel_case) or all [snake
79
+ # case](https://en.wikipedia.org/wiki/Snake_case). Don't use a combination of
80
+ # camel case and snake case.
81
+ #
82
+ # **Supported Operations:**
83
+ #
84
+ # - `AND`
85
+ # - `=`
86
+ # - `!=`
87
+ # - `>`
88
+ # - `>=`
89
+ # - `<`
90
+ # - `<=`
91
+ #
92
+ # **Unsupported Fields:**
93
+ #
94
+ # - `name` (use get method instead)
95
+ # - `historical_pricings` and all its subfields
96
+ # - `pricing.start_time`
97
+ # - `pricing.end_time`
98
+ # @!attribute [rw] page_size
99
+ # @return [::Integer]
100
+ # Optional. The maximum number of licenses to return per page. The service
101
+ # may return fewer than this value. If unspecified, at most 50 licenses will
102
+ # be returned. The maximum value is 1000; values above 1000 will be coerced
103
+ # to 1000.
104
+ # @!attribute [rw] page_token
105
+ # @return [::String]
106
+ # Optional. A page token, received from a previous
107
+ # `ListUserListDirectLicense` call. Provide this to retrieve the subsequent
108
+ # page.
109
+ #
110
+ # When paginating, all other parameters provided to
111
+ # `ListUserListDirectLicense` must match the call that provided the page
112
+ # token.
113
+ class ListUserListDirectLicensesRequest
114
+ include ::Google::Protobuf::MessageExts
115
+ extend ::Google::Protobuf::MessageExts::ClassMethods
116
+ end
117
+
118
+ # Response from the
119
+ # {::Google::Ads::DataManager::V1::ListUserListDirectLicensesRequest ListUserListDirectLicensesRequest}.
120
+ # @!attribute [rw] user_list_direct_licenses
121
+ # @return [::Array<::Google::Ads::DataManager::V1::UserListDirectLicense>]
122
+ # The licenses for the given user list in the request.
123
+ # @!attribute [rw] next_page_token
124
+ # @return [::String]
125
+ # A token, which can be sent as `page_token` to retrieve the next page.
126
+ # If this field is omitted, there are no subsequent pages.
127
+ class ListUserListDirectLicensesResponse
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
+ end
131
+ end
132
+ end
133
+ end
134
+ end