google-ads-data_manager-v1 0.2.0 → 0.4.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 (103) 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 +48 -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 +4 -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 +4 -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/cart_data.rb +52 -0
  79. data/proto_docs/google/ads/datamanager/v1/destination.rb +3 -0
  80. data/proto_docs/google/ads/datamanager/v1/device_info.rb +31 -0
  81. data/proto_docs/google/ads/datamanager/v1/encryption_info.rb +6 -3
  82. data/proto_docs/google/ads/datamanager/v1/error.rb +212 -1
  83. data/proto_docs/google/ads/datamanager/v1/event.rb +47 -2
  84. data/proto_docs/google/ads/datamanager/v1/gender.rb +41 -0
  85. data/proto_docs/google/ads/datamanager/v1/insights_service.rb +133 -0
  86. data/proto_docs/google/ads/datamanager/v1/partner_link_service.rb +141 -0
  87. data/proto_docs/google/ads/datamanager/v1/processing_errors.rb +4 -1
  88. data/proto_docs/google/ads/datamanager/v1/request_status_per_destination.rb +121 -11
  89. data/proto_docs/google/ads/datamanager/v1/user_list.rb +403 -0
  90. data/proto_docs/google/ads/datamanager/v1/user_list_direct_license.rb +75 -0
  91. data/proto_docs/google/ads/datamanager/v1/user_list_direct_license_service.rb +134 -0
  92. data/proto_docs/google/ads/datamanager/v1/user_list_global_license.rb +114 -0
  93. data/proto_docs/google/ads/datamanager/v1/user_list_global_license_service.rb +204 -0
  94. data/proto_docs/google/ads/datamanager/v1/user_list_global_license_type.rb +41 -0
  95. data/proto_docs/google/ads/datamanager/v1/user_list_license_client_account_type.rb +44 -0
  96. data/proto_docs/google/ads/datamanager/v1/user_list_license_metrics.rb +55 -0
  97. data/proto_docs/google/ads/datamanager/v1/user_list_license_pricing.rb +108 -0
  98. data/proto_docs/google/ads/datamanager/v1/user_list_license_status.rb +38 -0
  99. data/proto_docs/google/ads/datamanager/v1/user_list_service.rb +151 -0
  100. data/proto_docs/google/api/client.rb +149 -29
  101. data/proto_docs/google/protobuf/empty.rb +34 -0
  102. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  103. metadata +73 -2
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/datamanager/v1/user_list_license_pricing.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/protobuf/timestamp_pb'
9
+
10
+
11
+ descriptor_data = "\n9google/ads/datamanager/v1/user_list_license_pricing.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaf\x06\n\x16UserListLicensePricing\x12\x17\n\npricing_id\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1d\n\x0b\x63ost_micros\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1f\n\rcurrency_code\x18\t \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x33\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x1b\n\x0epricing_active\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12v\n\x14\x62uyer_approval_state\x18\x06 \x01(\x0e\x32S.google.ads.datamanager.v1.UserListLicensePricing.UserListPricingBuyerApprovalStateB\x03\xe0\x41\x03\x12\x66\n\tcost_type\x18\x07 \x01(\x0e\x32I.google.ads.datamanager.v1.UserListLicensePricing.UserListPricingCostTypeB\x03\xe0\x41\x05H\x02\x88\x01\x01\x12!\n\x0fmax_cost_micros\x18\x08 \x01(\x03\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\"\x84\x01\n!UserListPricingBuyerApprovalState\x12\x36\n2USER_LIST_PRICING_BUYER_APPROVAL_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0c\n\x08\x41PPROVED\x10\x02\x12\x0c\n\x08REJECTED\x10\x03\"i\n\x17UserListPricingCostType\x12+\n\'USER_LIST_PRICING_COST_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x43PC\x10\x01\x12\x07\n\x03\x43PM\x10\x02\x12\x0f\n\x0bMEDIA_SHARE\x10\x03\x42\x0e\n\x0c_cost_microsB\x10\n\x0e_currency_codeB\x0c\n\n_cost_typeB\x12\n\x10_max_cost_microsB\xd8\x01\n\x1d\x63om.google.ads.datamanager.v1B\x1bUserListLicensePricingProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
12
+
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Google
17
+ module Ads
18
+ module DataManager
19
+ module V1
20
+ UserListLicensePricing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserListLicensePricing").msgclass
21
+ UserListLicensePricing::UserListPricingBuyerApprovalState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserListLicensePricing.UserListPricingBuyerApprovalState").enummodule
22
+ UserListLicensePricing::UserListPricingCostType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserListLicensePricing.UserListPricingCostType").enummodule
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/datamanager/v1/user_list_license_status.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+
8
+ descriptor_data = "\n8google/ads/datamanager/v1/user_list_license_status.proto\x12\x19google.ads.datamanager.v1*\x8e\x01\n\x15UserListLicenseStatus\x12(\n$USER_LIST_LICENSE_STATUS_UNSPECIFIED\x10\x00\x12$\n USER_LIST_LICENSE_STATUS_ENABLED\x10\x01\x12%\n!USER_LIST_LICENSE_STATUS_DISABLED\x10\x02\x42\xd7\x01\n\x1d\x63om.google.ads.datamanager.v1B\x1aUserListLicenseStatusProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
9
+
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
12
+
13
+ module Google
14
+ module Ads
15
+ module DataManager
16
+ module V1
17
+ UserListLicenseStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserListLicenseStatus").enummodule
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/datamanager/v1/user_list.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/protobuf/duration_pb'
10
+
11
+
12
+ descriptor_data = "\n)google/ads/datamanager/v1/user_list.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\"\xff\n\n\x08UserList\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x0f\n\x02id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x16\n\tread_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1e\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x02H\x01\x88\x01\x01\x12\x1d\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x02\x88\x01\x01\x12Y\n\x11membership_status\x18\x06 \x01(\x0e\x32\x34.google.ads.datamanager.v1.UserList.MembershipStatusB\x03\xe0\x41\x01H\x03\x88\x01\x01\x12\"\n\x10integration_code\x18\x07 \x01(\tB\x03\xe0\x41\x01H\x04\x88\x01\x01\x12;\n\x13membership_duration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12S\n\x0e\x63losing_reason\x18\t \x01(\x0e\x32\x31.google.ads.datamanager.v1.UserList.ClosingReasonB\x03\xe0\x41\x03H\x05\x88\x01\x01\x12L\n\raccess_reason\x18\n \x01(\x0e\x32\x30.google.ads.datamanager.v1.UserList.AccessReasonB\x03\xe0\x41\x03\x12Y\n\x15\x61\x63\x63ount_access_status\x18\x0b \x01(\x0e\x32\x30.google.ads.datamanager.v1.UserList.AccessStatusB\x03\xe0\x41\x01H\x06\x88\x01\x01\x12;\n\tsize_info\x18\x0c \x01(\x0b\x32#.google.ads.datamanager.v1.SizeInfoB\x03\xe0\x41\x03\x12N\n\x13target_network_info\x18\r \x01(\x0b\x32,.google.ads.datamanager.v1.TargetNetworkInfoB\x03\xe0\x41\x01\x12W\n\x17ingested_user_list_info\x18\x0e \x01(\x0b\x32/.google.ads.datamanager.v1.IngestedUserListInfoB\x03\xe0\x41\x01H\x00\"K\n\x10MembershipStatus\x12!\n\x1dMEMBERSHIP_STATUS_UNSPECIFIED\x10\x00\x12\x08\n\x04OPEN\x10\x01\x12\n\n\x06\x43LOSED\x10\x02\";\n\rClosingReason\x12\x1e\n\x1a\x43LOSING_REASON_UNSPECIFIED\x10\x00\x12\n\n\x06UNUSED\x10\x01\"r\n\x0c\x41\x63\x63\x65ssReason\x12\x1d\n\x19\x41\x43\x43\x45SS_REASON_UNSPECIFIED\x10\x00\x12\t\n\x05OWNED\x10\x01\x12\n\n\x06SHARED\x10\x02\x12\x0c\n\x08LICENSED\x10\x03\x12\x0e\n\nSUBSCRIBED\x10\x04\x12\x0e\n\nAFFILIATED\x10\x05\"H\n\x0c\x41\x63\x63\x65ssStatus\x12\x1d\n\x19\x41\x43\x43\x45SS_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02:\x84\x01\xea\x41\x80\x01\n#datamanager.googleapis.com/UserList\x12\x44\x61\x63\x63ountTypes/{account_type}/accounts/{account}/userLists/{user_list}*\tuserLists2\x08userListB\x10\n\x0euser_list_infoB\x0f\n\r_display_nameB\x0e\n\x0c_descriptionB\x14\n\x12_membership_statusB\x13\n\x11_integration_codeB\x11\n\x0f_closing_reasonB\x18\n\x16_account_access_status\"\xa7\x01\n\x08SizeInfo\x12*\n\x1d\x64isplay_network_members_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12)\n\x1csearch_network_members_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\"\n\x15youtube_members_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12 \n\x13gmail_members_count\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\"u\n\x11TargetNetworkInfo\x12!\n\x14\x65ligible_for_display\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03\x12%\n\x13\x65ligible_for_search\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x16\n\x14_eligible_for_search\"\xaf\x05\n\x14IngestedUserListInfo\x12_\n\x10upload_key_types\x18\x01 \x03(\x0e\x32=.google.ads.datamanager.v1.IngestedUserListInfo.UploadKeyTypeB\x06\xe0\x41\x02\xe0\x41\x05\x12\x46\n\x0f\x63ontact_id_info\x18\x02 \x01(\x0b\x32(.google.ads.datamanager.v1.ContactIdInfoB\x03\xe0\x41\x01\x12\x44\n\x0emobile_id_info\x18\x03 \x01(\x0b\x32\'.google.ads.datamanager.v1.MobileIdInfoB\x03\xe0\x41\x01\x12@\n\x0cuser_id_info\x18\x04 \x01(\x0b\x32%.google.ads.datamanager.v1.UserIdInfoB\x03\xe0\x41\x01\x12@\n\x0cpair_id_info\x18\x05 \x01(\x0b\x32%.google.ads.datamanager.v1.PairIdInfoB\x03\xe0\x41\x01\x12P\n\x14pseudonymous_id_info\x18\x06 \x01(\x0b\x32-.google.ads.datamanager.v1.PseudonymousIdInfoB\x03\xe0\x41\x01\x12R\n\x15partner_audience_info\x18\x07 \x01(\x0b\x32..google.ads.datamanager.v1.PartnerAudienceInfoB\x03\xe0\x41\x01\"~\n\rUploadKeyType\x12\x1f\n\x1bUPLOAD_KEY_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nCONTACT_ID\x10\x01\x12\r\n\tMOBILE_ID\x10\x02\x12\x0b\n\x07USER_ID\x10\x03\x12\x0b\n\x07PAIR_ID\x10\x04\x12\x13\n\x0fPSEUDONYMOUS_ID\x10\x05\"\x9a\x01\n\rContactIdInfo\x12P\n\x10\x64\x61ta_source_type\x18\x01 \x01(\x0e\x32).google.ads.datamanager.v1.DataSourceTypeB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x88\x01\x01\x12\"\n\x15match_rate_percentage\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x42\x13\n\x11_data_source_type\"\xba\x02\n\x0cMobileIdInfo\x12P\n\x10\x64\x61ta_source_type\x18\x01 \x01(\x0e\x32).google.ads.datamanager.v1.DataSourceTypeB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x88\x01\x01\x12P\n\tkey_space\x18\x02 \x01(\x0e\x32\x30.google.ads.datamanager.v1.MobileIdInfo.KeySpaceB\x06\xe0\x41\x02\xe0\x41\x05H\x01\x88\x01\x01\x12\x1b\n\x06\x61pp_id\x18\x03 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05H\x02\x88\x01\x01\";\n\x08KeySpace\x12\x19\n\x15KEY_SPACE_UNSPECIFIED\x10\x00\x12\x07\n\x03IOS\x10\x01\x12\x0b\n\x07\x41NDROID\x10\x02\x42\x13\n\x11_data_source_typeB\x0c\n\n_key_spaceB\t\n\x07_app_id\"s\n\nUserIdInfo\x12P\n\x10\x64\x61ta_source_type\x18\x01 \x01(\x0e\x32).google.ads.datamanager.v1.DataSourceTypeB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x88\x01\x01\x42\x13\n\x11_data_source_type\"\xcd\x02\n\nPairIdInfo\x12!\n\x0cpublisher_id\x18\x01 \x01(\x03\x42\x06\xe0\x41\x02\xe0\x41\x05H\x00\x88\x01\x01\x12 \n\x0epublisher_name\x18\x02 \x01(\tB\x03\xe0\x41\x02H\x01\x88\x01\x01\x12\'\n\x15match_rate_percentage\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02H\x02\x88\x01\x01\x12-\n\x1b\x61\x64vertiser_identifier_count\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x12*\n\x15\x63lean_room_identifier\x18\x05 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05H\x04\x88\x01\x01\x42\x0f\n\r_publisher_idB\x11\n\x0f_publisher_nameB\x18\n\x16_match_rate_percentageB\x1e\n\x1c_advertiser_identifier_countB\x18\n\x16_clean_room_identifier\"\xee\x02\n\x13PartnerAudienceInfo\x12r\n\x17partner_audience_source\x18\x01 \x01(\x0e\x32\x44.google.ads.datamanager.v1.PartnerAudienceInfo.PartnerAudienceSourceB\x06\xe0\x41\x02\xe0\x41\x05H\x00\x88\x01\x01\x12\"\n\x10\x63ommerce_partner\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\"\x8d\x01\n\x15PartnerAudienceSource\x12\'\n#PARTNER_AUDIENCE_SOURCE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43OMMERCE_AUDIENCE\x10\x01\x12\x16\n\x12LINEAR_TV_AUDIENCE\x10\x02\x12\x1c\n\x18\x41GENCY_PROVIDER_AUDIENCE\x10\x03\x42\x1a\n\x18_partner_audience_sourceB\x13\n\x11_commerce_partner\"\x9a\x02\n\x12PseudonymousIdInfo\x12W\n\x0bsync_status\x18\x01 \x01(\x0e\x32\x38.google.ads.datamanager.v1.PseudonymousIdInfo.SyncStatusB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12*\n\x15\x62illable_record_count\x18\x02 \x01(\x03\x42\x06\xe0\x41\x01\xe0\x41\x05H\x01\x88\x01\x01\"U\n\nSyncStatus\x12\x1b\n\x17SYNC_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x11\n\rREADY_FOR_USE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x42\x0e\n\x0c_sync_statusB\x18\n\x16_billable_record_count*\xe0\x01\n\x0e\x44\x61taSourceType\x12 \n\x1c\x44\x41TA_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12 \n\x1c\x44\x41TA_SOURCE_TYPE_FIRST_PARTY\x10\x01\x12.\n*DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU\x10\x02\x12+\n\'DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE\x10\x03\x12-\n)DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA\x10\x04\x42\xca\x01\n\x1d\x63om.google.ads.datamanager.v1B\rUserListProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
13
+
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
16
+
17
+ module Google
18
+ module Ads
19
+ module DataManager
20
+ module V1
21
+ UserList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserList").msgclass
22
+ UserList::MembershipStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserList.MembershipStatus").enummodule
23
+ UserList::ClosingReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserList.ClosingReason").enummodule
24
+ UserList::AccessReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserList.AccessReason").enummodule
25
+ UserList::AccessStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserList.AccessStatus").enummodule
26
+ SizeInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.SizeInfo").msgclass
27
+ TargetNetworkInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.TargetNetworkInfo").msgclass
28
+ IngestedUserListInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestedUserListInfo").msgclass
29
+ IngestedUserListInfo::UploadKeyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestedUserListInfo.UploadKeyType").enummodule
30
+ ContactIdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.ContactIdInfo").msgclass
31
+ MobileIdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.MobileIdInfo").msgclass
32
+ MobileIdInfo::KeySpace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.MobileIdInfo.KeySpace").enummodule
33
+ UserIdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserIdInfo").msgclass
34
+ PairIdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PairIdInfo").msgclass
35
+ PartnerAudienceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PartnerAudienceInfo").msgclass
36
+ PartnerAudienceInfo::PartnerAudienceSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PartnerAudienceInfo.PartnerAudienceSource").enummodule
37
+ PseudonymousIdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PseudonymousIdInfo").msgclass
38
+ PseudonymousIdInfo::SyncStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PseudonymousIdInfo.SyncStatus").enummodule
39
+ DataSourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.DataSourceType").enummodule
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/datamanager/v1/user_list_service.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/ads/datamanager/v1/user_list_pb'
8
+ require 'google/api/annotations_pb'
9
+ require 'google/api/client_pb'
10
+ require 'google/api/field_behavior_pb'
11
+ require 'google/api/resource_pb'
12
+ require 'google/protobuf/empty_pb'
13
+ require 'google/protobuf/field_mask_pb'
14
+
15
+
16
+ descriptor_data = "\n1google/ads/datamanager/v1/user_list_service.proto\x12\x19google.ads.datamanager.v1\x1a)google/ads/datamanager/v1/user_list.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"O\n\x12GetUserListRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datamanager.googleapis.com/UserList\"\x99\x01\n\x14ListUserListsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#datamanager.googleapis.com/UserList\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"i\n\x15ListUserListsResponse\x12\x37\n\nuser_lists\x18\x01 \x03(\x0b\x32#.google.ads.datamanager.v1.UserList\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xad\x01\n\x15\x43reateUserListRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#datamanager.googleapis.com/UserList\x12;\n\tuser_list\x18\x02 \x01(\x0b\x32#.google.ads.datamanager.v1.UserListB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xa6\x01\n\x15UpdateUserListRequest\x12;\n\tuser_list\x18\x01 \x01(\x0b\x32#.google.ads.datamanager.v1.UserListB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"n\n\x15\x44\x65leteUserListRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datamanager.googleapis.com/UserList\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x32\xec\x07\n\x0fUserListService\x12\xa2\x01\n\x0bGetUserList\x12-.google.ads.datamanager.v1.GetUserListRequest\x1a#.google.ads.datamanager.v1.UserList\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=accountTypes/*/accounts/*/userLists/*}\x12\xb5\x01\n\rListUserLists\x12/.google.ads.datamanager.v1.ListUserListsRequest\x1a\x30.google.ads.datamanager.v1.ListUserListsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=accountTypes/*/accounts/*}/userLists\x12\xbf\x01\n\x0e\x43reateUserList\x12\x30.google.ads.datamanager.v1.CreateUserListRequest\x1a#.google.ads.datamanager.v1.UserList\"V\xda\x41\x10parent,user_list\x82\xd3\xe4\x93\x02=\"0/v1/{parent=accountTypes/*/accounts/*}/userLists:\tuser_list\x12\xce\x01\n\x0eUpdateUserList\x12\x30.google.ads.datamanager.v1.UpdateUserListRequest\x1a#.google.ads.datamanager.v1.UserList\"e\xda\x41\x15user_list,update_mask\x82\xd3\xe4\x93\x02G2:/v1/{user_list.name=accountTypes/*/accounts/*/userLists/*}:\tuser_list\x12\x9b\x01\n\x0e\x44\x65leteUserList\x12\x30.google.ads.datamanager.v1.DeleteUserListRequest\x1a\x16.google.protobuf.Empty\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=accountTypes/*/accounts/*/userLists/*}\x1aK\xca\x41\x1a\x64\x61tamanager.googleapis.com\xd2\x41+https://www.googleapis.com/auth/datamanagerB\xd1\x01\n\x1d\x63om.google.ads.datamanager.v1B\x14UserListServiceProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
17
+
18
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
19
+ pool.add_serialized_file(descriptor_data)
20
+
21
+ module Google
22
+ module Ads
23
+ module DataManager
24
+ module V1
25
+ GetUserListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.GetUserListRequest").msgclass
26
+ ListUserListsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.ListUserListsRequest").msgclass
27
+ ListUserListsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.ListUserListsResponse").msgclass
28
+ CreateUserListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.CreateUserListRequest").msgclass
29
+ UpdateUserListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UpdateUserListRequest").msgclass
30
+ DeleteUserListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.DeleteUserListRequest").msgclass
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,118 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/ads/datamanager/v1/user_list_service.proto for package 'Google.Ads.DataManager.V1'
3
+ # Original file comments:
4
+ # Copyright 2026 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/ads/datamanager/v1/user_list_service_pb'
21
+
22
+ module Google
23
+ module Ads
24
+ module DataManager
25
+ module V1
26
+ module UserListService
27
+ # Service for managing UserList resources.
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.ads.datamanager.v1.UserListService'
35
+
36
+ # Gets a UserList.
37
+ #
38
+ # Authorization Headers:
39
+ #
40
+ # This method supports the following optional headers to define how the API
41
+ # authorizes access for the request:
42
+ #
43
+ # * `login-account`: (Optional) The resource name of the account where the
44
+ # Google Account of the credentials is a user. If not set, defaults to the
45
+ # account of the request. Format:
46
+ # `accountTypes/{loginAccountType}/accounts/{loginAccountId}`
47
+ # * `linked-account`: (Optional) The resource name of the account with an
48
+ # established product link to the `login-account`. Format:
49
+ # `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`
50
+ rpc :GetUserList, ::Google::Ads::DataManager::V1::GetUserListRequest, ::Google::Ads::DataManager::V1::UserList
51
+ # Lists UserLists.
52
+ #
53
+ # Authorization Headers:
54
+ #
55
+ # This method supports the following optional headers to define how the API
56
+ # authorizes access for the request:
57
+ #
58
+ # * `login-account`: (Optional) The resource name of the account where the
59
+ # Google Account of the credentials is a user. If not set, defaults to the
60
+ # account of the request. Format:
61
+ # `accountTypes/{loginAccountType}/accounts/{loginAccountId}`
62
+ # * `linked-account`: (Optional) The resource name of the account with an
63
+ # established product link to the `login-account`. Format:
64
+ # `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`
65
+ rpc :ListUserLists, ::Google::Ads::DataManager::V1::ListUserListsRequest, ::Google::Ads::DataManager::V1::ListUserListsResponse
66
+ # Creates a UserList.
67
+ #
68
+ # Authorization Headers:
69
+ #
70
+ # This method supports the following optional headers to define how the API
71
+ # authorizes access for the request:
72
+ #
73
+ # * `login-account`: (Optional) The resource name of the account where the
74
+ # Google Account of the credentials is a user. If not set, defaults to the
75
+ # account of the request. Format:
76
+ # `accountTypes/{loginAccountType}/accounts/{loginAccountId}`
77
+ # * `linked-account`: (Optional) The resource name of the account with an
78
+ # established product link to the `login-account`. Format:
79
+ # `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`
80
+ rpc :CreateUserList, ::Google::Ads::DataManager::V1::CreateUserListRequest, ::Google::Ads::DataManager::V1::UserList
81
+ # Updates a UserList.
82
+ #
83
+ # Authorization Headers:
84
+ #
85
+ # This method supports the following optional headers to define how the API
86
+ # authorizes access for the request:
87
+ #
88
+ # * `login-account`: (Optional) The resource name of the account where the
89
+ # Google Account of the credentials is a user. If not set, defaults to the
90
+ # account of the request. Format:
91
+ # `accountTypes/{loginAccountType}/accounts/{loginAccountId}`
92
+ # * `linked-account`: (Optional) The resource name of the account with an
93
+ # established product link to the `login-account`. Format:
94
+ # `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`
95
+ rpc :UpdateUserList, ::Google::Ads::DataManager::V1::UpdateUserListRequest, ::Google::Ads::DataManager::V1::UserList
96
+ # Deletes a UserList.
97
+ #
98
+ # Authorization Headers:
99
+ #
100
+ # This method supports the following optional headers to define how the API
101
+ # authorizes access for the request:
102
+ #
103
+ # * `login-account`: (Optional) The resource name of the account where the
104
+ # Google Account of the credentials is a user. If not set, defaults to the
105
+ # account of the request. Format:
106
+ # `accountTypes/{loginAccountType}/accounts/{loginAccountId}`
107
+ # * `linked-account`: (Optional) The resource name of the account with an
108
+ # established product link to the `login-account`. Format:
109
+ # `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`
110
+ rpc :DeleteUserList, ::Google::Ads::DataManager::V1::DeleteUserListRequest, ::Google::Protobuf::Empty
111
+ end
112
+
113
+ Stub = Service.rpc_stub_class
114
+ end
115
+ end
116
+ end
117
+ end
118
+ end
@@ -7,31 +7,10 @@ require 'google/protobuf'
7
7
  require 'google/api/field_behavior_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n/google/ads/datamanager/v1/user_properties.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xfb\x01\n\x0eUserProperties\x12\x43\n\rcustomer_type\x18\x01 \x01(\x0e\x32\'.google.ads.datamanager.v1.CustomerTypeB\x03\xe0\x41\x01\x12R\n\x15\x63ustomer_value_bucket\x18\x02 \x01(\x0e\x32..google.ads.datamanager.v1.CustomerValueBucketB\x03\xe0\x41\x01\x12P\n\x1a\x61\x64\x64itional_user_properties\x18\x03 \x03(\x0b\x32\'.google.ads.datamanager.v1.UserPropertyB\x03\xe0\x41\x01\">\n\x0cUserProperty\x12\x1a\n\rproperty_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02*T\n\x0c\x43ustomerType\x12\x1d\n\x19\x43USTOMER_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\r\n\tRETURNING\x10\x02\x12\r\n\tREENGAGED\x10\x03*[\n\x13\x43ustomerValueBucket\x12%\n!CUSTOMER_VALUE_BUCKET_UNSPECIFIED\x10\x00\x12\x07\n\x03LOW\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x12\x08\n\x04HIGH\x10\x03\x42\xd3\x01\n\x1d\x63om.google.ads.datamanager.v1B\x13UserPropertiesProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/datamanager/v1;datamanager\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
10
+ descriptor_data = "\n/google/ads/datamanager/v1/user_properties.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xfb\x01\n\x0eUserProperties\x12\x43\n\rcustomer_type\x18\x01 \x01(\x0e\x32\'.google.ads.datamanager.v1.CustomerTypeB\x03\xe0\x41\x01\x12R\n\x15\x63ustomer_value_bucket\x18\x02 \x01(\x0e\x32..google.ads.datamanager.v1.CustomerValueBucketB\x03\xe0\x41\x01\x12P\n\x1a\x61\x64\x64itional_user_properties\x18\x03 \x03(\x0b\x32\'.google.ads.datamanager.v1.UserPropertyB\x03\xe0\x41\x01\">\n\x0cUserProperty\x12\x1a\n\rproperty_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02*T\n\x0c\x43ustomerType\x12\x1d\n\x19\x43USTOMER_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\r\n\tRETURNING\x10\x02\x12\r\n\tREENGAGED\x10\x03*[\n\x13\x43ustomerValueBucket\x12%\n!CUSTOMER_VALUE_BUCKET_UNSPECIFIED\x10\x00\x12\x07\n\x03LOW\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x12\x08\n\x04HIGH\x10\x03\x42\xd0\x01\n\x1d\x63om.google.ads.datamanager.v1B\x13UserPropertiesProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
11
11
 
12
- pool = Google::Protobuf::DescriptorPool.generated_pool
13
-
14
- begin
15
- pool.add_serialized_file(descriptor_data)
16
- rescue TypeError
17
- # Compatibility code: will be removed in the next major version.
18
- require 'google/protobuf/descriptor_pb'
19
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
- parsed.clear_dependency
21
- serialized = parsed.class.encode(parsed)
22
- file = pool.add_serialized_file(serialized)
23
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
- imports = [
25
- ]
26
- imports.each do |type_name, expected_filename|
27
- import_file = pool.lookup(type_name).file_descriptor
28
- if import_file.name != expected_filename
29
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
- end
31
- end
32
- warn "Each proto file must use a consistent fully-qualified name."
33
- warn "This will become an error in the next major version."
34
- end
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
35
14
 
36
15
  module Google
37
16
  module Ads
@@ -0,0 +1,53 @@
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
+ # The demographic age ranges
25
+ module AgeRange
26
+ # Not specified.
27
+ AGE_RANGE_UNSPECIFIED = 0
28
+
29
+ # Unknown.
30
+ AGE_RANGE_UNKNOWN = 1
31
+
32
+ # Between 18 and 24 years old.
33
+ AGE_RANGE_18_24 = 2
34
+
35
+ # Between 25 and 34 years old.
36
+ AGE_RANGE_25_34 = 3
37
+
38
+ # Between 35 and 44 years old.
39
+ AGE_RANGE_35_44 = 4
40
+
41
+ # Between 45 and 54 years old.
42
+ AGE_RANGE_45_54 = 5
43
+
44
+ # Between 55 and 64 years old.
45
+ AGE_RANGE_55_64 = 6
46
+
47
+ # 65 years old and beyond.
48
+ AGE_RANGE_65_UP = 7
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
@@ -31,18 +31,33 @@ module Google
31
31
  # @return [::Google::Ads::DataManager::V1::UserData]
32
32
  # User-provided data that identifies the user.
33
33
  #
34
- # Note: The following fields are mutually exclusive: `user_data`, `pair_data`, `mobile_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
34
+ # Note: The following fields are mutually exclusive: `user_data`, `pair_data`, `mobile_data`, `user_id_data`, `ppid_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
35
35
  # @!attribute [rw] pair_data
36
36
  # @return [::Google::Ads::DataManager::V1::PairData]
37
37
  # [Publisher Advertiser Identity Reconciliation (PAIR)
38
38
  # IDs](//support.google.com/admanager/answer/15067908).
39
39
  #
40
- # Note: The following fields are mutually exclusive: `pair_data`, `user_data`, `mobile_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
40
+ # This feature is only available to data partners.
41
+ #
42
+ # Note: The following fields are mutually exclusive: `pair_data`, `user_data`, `mobile_data`, `user_id_data`, `ppid_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
41
43
  # @!attribute [rw] mobile_data
42
44
  # @return [::Google::Ads::DataManager::V1::MobileData]
43
45
  # Data identifying the user's mobile devices.
44
46
  #
45
- # Note: The following fields are mutually exclusive: `mobile_data`, `user_data`, `pair_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
47
+ # Note: The following fields are mutually exclusive: `mobile_data`, `user_data`, `pair_data`, `user_id_data`, `ppid_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
48
+ # @!attribute [rw] user_id_data
49
+ # @return [::Google::Ads::DataManager::V1::UserIdData]
50
+ # Data related to unique identifiers for a user, as defined by the
51
+ # advertiser.
52
+ #
53
+ # Note: The following fields are mutually exclusive: `user_id_data`, `user_data`, `pair_data`, `mobile_data`, `ppid_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
54
+ # @!attribute [rw] ppid_data
55
+ # @return [::Google::Ads::DataManager::V1::PpidData]
56
+ # Data related to publisher provided identifiers.
57
+ #
58
+ # This feature is only available to data partners.
59
+ #
60
+ # Note: The following fields are mutually exclusive: `ppid_data`, `user_data`, `pair_data`, `mobile_data`, `user_id_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
46
61
  # @!attribute [rw] consent
47
62
  # @return [::Google::Ads::DataManager::V1::Consent]
48
63
  # Optional. The consent setting for the user.
@@ -53,6 +68,8 @@ module Google
53
68
 
54
69
  # [PAIR](//support.google.com/admanager/answer/15067908) IDs for the audience.
55
70
  # At least one PAIR ID is required.
71
+ #
72
+ # This feature is only available to data partners.
56
73
  # @!attribute [rw] pair_ids
57
74
  # @return [::Array<::String>]
58
75
  # Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted
@@ -75,6 +92,28 @@ module Google
75
92
  include ::Google::Protobuf::MessageExts
76
93
  extend ::Google::Protobuf::MessageExts::ClassMethods
77
94
  end
95
+
96
+ # User id data holding the user id.
97
+ # @!attribute [rw] user_id
98
+ # @return [::String]
99
+ # Required. A unique identifier for a user, as defined by the
100
+ # advertiser.
101
+ class UserIdData
102
+ include ::Google::Protobuf::MessageExts
103
+ extend ::Google::Protobuf::MessageExts::ClassMethods
104
+ end
105
+
106
+ # Publisher provided identifiers data holding the ppids. At least one ppid is
107
+ # required.
108
+ #
109
+ # This feature is only available to data partners.
110
+ # @!attribute [rw] ppids
111
+ # @return [::Array<::String>]
112
+ # Required. The list of publisher provided identifiers for a user.
113
+ class PpidData
114
+ include ::Google::Protobuf::MessageExts
115
+ extend ::Google::Protobuf::MessageExts::ClassMethods
116
+ end
78
117
  end
79
118
  end
80
119
  end
@@ -39,6 +39,13 @@ module Google
39
39
  # @!attribute [rw] items
40
40
  # @return [::Array<::Google::Ads::DataManager::V1::Item>]
41
41
  # Optional. The list of items associated with the event.
42
+ # @!attribute [rw] coupon_codes
43
+ # @return [::Array<::String>]
44
+ # Optional. The list of coupon codes that were applied to the cart.
45
+ # Cart-level and item-level coupon codes are independent.
46
+ #
47
+ # If the event is for a Google Analytics destination, only provide a single
48
+ # coupon code. Google Analytics ignores additional coupon codes.
42
49
  class CartData
43
50
  include ::Google::Protobuf::MessageExts
44
51
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -64,10 +71,55 @@ module Google
64
71
  # item](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events)
65
72
  # to be included within the event that were not already specified using other
66
73
  # structured fields.
74
+ # @!attribute [rw] merchant_id
75
+ # @return [::String]
76
+ # Optional. The Merchant Center ID associated with the item. For Store Sales
77
+ # events this will override the value set at the cart level. This field is
78
+ # ignored for other events.
79
+ # @!attribute [rw] merchant_feed_label
80
+ # @return [::String]
81
+ # Optional. The feed label of the Merchant Center feed. If countries are
82
+ # still being used, the 2-letter country code in ISO-3166-1 alpha-2 can be
83
+ # used instead. For Store Sales events this will override the value set at
84
+ # the cart level. This field is ignored for other events.
85
+ # @!attribute [rw] merchant_feed_language_code
86
+ # @return [::String]
87
+ # Optional. The language code in ISO 639-1 associated with the Merchant
88
+ # Center feed where your items are uploaded.
89
+ # @!attribute [rw] conversion_value
90
+ # @return [::Float]
91
+ # Optional. The conversion value associated with this item within the event,
92
+ # for cases where the conversion value is different for each item.
93
+ # @!attribute [rw] custom_variables
94
+ # @return [::Array<::Google::Ads::DataManager::V1::ItemCustomVariable>]
95
+ # Optional. Additional key/value pair information to send to the conversion
96
+ # containers (conversion action or Floodlight activity), when tracking
97
+ # per-item
98
+ # conversions.
67
99
  class Item
68
100
  include ::Google::Protobuf::MessageExts
69
101
  extend ::Google::Protobuf::MessageExts::ClassMethods
70
102
  end
103
+
104
+ # Item-level custom variable for ads conversions.
105
+ # @!attribute [rw] variable
106
+ # @return [::String]
107
+ # Optional. The name of the custom variable to set. If the variable is not
108
+ # found for the given destination, it will be ignored.
109
+ # @!attribute [rw] value
110
+ # @return [::String]
111
+ # Optional. The value to store for the custom variable.
112
+ # @!attribute [rw] destination_references
113
+ # @return [::Array<::String>]
114
+ # Optional. Reference string used to determine which of the
115
+ # {::Google::Ads::DataManager::V1::Event#destination_references Event.destination_references}
116
+ # the custom variable should be sent to. If empty, the
117
+ # {::Google::Ads::DataManager::V1::Event#destination_references Event.destination_references}
118
+ # will be used.
119
+ class ItemCustomVariable
120
+ include ::Google::Protobuf::MessageExts
121
+ extend ::Google::Protobuf::MessageExts::ClassMethods
122
+ end
71
123
  end
72
124
  end
73
125
  end
@@ -98,6 +98,9 @@ module Google
98
98
 
99
99
  # Google Analytics.
100
100
  GOOGLE_ANALYTICS_PROPERTY = 5
101
+
102
+ # Google Ad Manager audience link.
103
+ GOOGLE_AD_MANAGER_AUDIENCE_LINK = 6
101
104
  end
102
105
  end
103
106
 
@@ -38,6 +38,37 @@ module Google
38
38
  # applicable Google policies. See the [About offline conversion
39
39
  # imports](https://support.google.com/google-ads/answer/2998031) page for
40
40
  # more details.
41
+ # @!attribute [rw] category
42
+ # @return [::String]
43
+ # Optional. The category of device. For example, “desktop”, “tablet”,
44
+ # “mobile”, “smart TV”.
45
+ # @!attribute [rw] language_code
46
+ # @return [::String]
47
+ # Optional. The language the device uses in ISO 639-1 format.
48
+ # @!attribute [rw] screen_height
49
+ # @return [::Integer]
50
+ # Optional. The height of the screen in pixels.
51
+ # @!attribute [rw] screen_width
52
+ # @return [::Integer]
53
+ # Optional. The width of the screen in pixels.
54
+ # @!attribute [rw] operating_system
55
+ # @return [::String]
56
+ # Optional. The operating system or platform of the device.
57
+ # @!attribute [rw] operating_system_version
58
+ # @return [::String]
59
+ # Optional. The version of the operating system or platform.
60
+ # @!attribute [rw] model
61
+ # @return [::String]
62
+ # Optional. The model of the device.
63
+ # @!attribute [rw] brand
64
+ # @return [::String]
65
+ # Optional. The brand of the device.
66
+ # @!attribute [rw] browser
67
+ # @return [::String]
68
+ # Optional. The brand or type of the browser.
69
+ # @!attribute [rw] browser_version
70
+ # @return [::String]
71
+ # Optional. The version of the browser.
41
72
  class DeviceInfo
42
73
  include ::Google::Protobuf::MessageExts
43
74
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -52,7 +52,9 @@ module Google
52
52
  # Required. Google Cloud Platform [Cloud Key Management Service resource
53
53
  # ID](//cloud.google.com/kms/docs/getting-resource-ids). Should be in the
54
54
  # format of
55
- # "projects/\\{project}/locations/\\{location}/keyRings/\\{key_ring}/cryptoKeys/\\{key}".
55
+ # `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}`
56
+ # or
57
+ # `gcp-kms://projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}`
56
58
  # @!attribute [rw] encrypted_dek
57
59
  # @return [::String]
58
60
  # Required. The base64 encoded encrypted data encryption key.
@@ -78,11 +80,12 @@ module Google
78
80
  # @return [::String]
79
81
  # Required. The Amazon Resource Name of the IAM Role to assume for KMS
80
82
  # decryption access. Should be in the format of
81
- # "arn:\\{partition}:iam::\\{account_id}:role/\\{role_name}"
83
+ # `arn:{partition}:iam::{account_id}:role/{role_name}`
82
84
  # @!attribute [rw] kek_uri
83
85
  # @return [::String]
84
86
  # Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in
85
- # the format of "arn:\\{partition}:kms:\\{region}:\\{account_id}:key/\\{key_id}"
87
+ # the format of `arn:{partition}:kms:{region}:{account_id}:key/{key_id}` or
88
+ # `aws-kms://arn:{partition}:kms:{region}:{account_id}:key/{key_id}`
86
89
  # @!attribute [rw] encrypted_dek
87
90
  # @return [::String]
88
91
  # Required. The base64 encoded encrypted data encryption key.