google-ads-data_manager-v1 0.1.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.
- checksums.yaml +4 -4
- data/lib/google/ads/data_manager/v1/marketing_data_insights_service/client.rb +494 -0
- data/lib/google/ads/data_manager/v1/marketing_data_insights_service/credentials.rb +47 -0
- data/lib/google/ads/data_manager/v1/marketing_data_insights_service/rest/client.rb +444 -0
- data/lib/google/ads/data_manager/v1/marketing_data_insights_service/rest/service_stub.rb +143 -0
- data/lib/google/ads/data_manager/v1/marketing_data_insights_service/rest.rb +53 -0
- data/lib/google/ads/data_manager/v1/marketing_data_insights_service.rb +56 -0
- data/lib/google/ads/data_manager/v1/partner_link_service/client.rb +739 -0
- data/lib/google/ads/data_manager/v1/partner_link_service/credentials.rb +47 -0
- data/lib/google/ads/data_manager/v1/partner_link_service/paths.rb +69 -0
- data/lib/google/ads/data_manager/v1/partner_link_service/rest/client.rb +675 -0
- data/lib/google/ads/data_manager/v1/partner_link_service/rest/service_stub.rb +265 -0
- data/lib/google/ads/data_manager/v1/partner_link_service/rest.rb +52 -0
- data/lib/google/ads/data_manager/v1/partner_link_service.rb +55 -0
- data/lib/google/ads/data_manager/v1/rest.rb +5 -0
- data/lib/google/ads/data_manager/v1/user_list_direct_license_service/client.rb +813 -0
- data/lib/google/ads/data_manager/v1/user_list_direct_license_service/credentials.rb +47 -0
- data/lib/google/ads/data_manager/v1/user_list_direct_license_service/paths.rb +69 -0
- data/lib/google/ads/data_manager/v1/user_list_direct_license_service/rest/client.rb +742 -0
- data/lib/google/ads/data_manager/v1/user_list_direct_license_service/rest/service_stub.rb +327 -0
- data/lib/google/ads/data_manager/v1/user_list_direct_license_service/rest.rb +56 -0
- data/lib/google/ads/data_manager/v1/user_list_direct_license_service.rb +59 -0
- data/lib/google/ads/data_manager/v1/user_list_global_license_service/client.rb +955 -0
- data/lib/google/ads/data_manager/v1/user_list_global_license_service/credentials.rb +47 -0
- data/lib/google/ads/data_manager/v1/user_list_global_license_service/paths.rb +69 -0
- data/lib/google/ads/data_manager/v1/user_list_global_license_service/rest/client.rb +877 -0
- data/lib/google/ads/data_manager/v1/user_list_global_license_service/rest/service_stub.rb +388 -0
- data/lib/google/ads/data_manager/v1/user_list_global_license_service/rest.rb +56 -0
- data/lib/google/ads/data_manager/v1/user_list_global_license_service.rb +59 -0
- data/lib/google/ads/data_manager/v1/user_list_service/client.rb +972 -0
- data/lib/google/ads/data_manager/v1/user_list_service/credentials.rb +47 -0
- data/lib/google/ads/data_manager/v1/user_list_service/paths.rb +69 -0
- data/lib/google/ads/data_manager/v1/user_list_service/rest/client.rb +894 -0
- data/lib/google/ads/data_manager/v1/user_list_service/rest/service_stub.rb +388 -0
- data/lib/google/ads/data_manager/v1/user_list_service/rest.rb +52 -0
- data/lib/google/ads/data_manager/v1/user_list_service.rb +55 -0
- data/lib/google/ads/data_manager/v1/version.rb +1 -1
- data/lib/google/ads/data_manager/v1.rb +5 -0
- data/lib/google/ads/datamanager/v1/age_range_pb.rb +21 -0
- data/lib/google/ads/datamanager/v1/audience_pb.rb +5 -26
- data/lib/google/ads/datamanager/v1/cart_data_pb.rb +4 -24
- data/lib/google/ads/datamanager/v1/consent_pb.rb +3 -24
- data/lib/google/ads/datamanager/v1/destination_pb.rb +4 -24
- data/lib/google/ads/datamanager/v1/device_info_pb.rb +3 -24
- data/lib/google/ads/datamanager/v1/encryption_info_pb.rb +5 -24
- data/lib/google/ads/datamanager/v1/error_pb.rb +3 -24
- data/lib/google/ads/datamanager/v1/event_pb.rb +4 -31
- data/lib/google/ads/datamanager/v1/experimental_field_pb.rb +3 -24
- data/lib/google/ads/datamanager/v1/gender_pb.rb +21 -0
- data/lib/google/ads/datamanager/v1/ingestion_service_pb.rb +3 -31
- data/lib/google/ads/datamanager/v1/insights_service_pb.rb +33 -0
- data/lib/google/ads/datamanager/v1/insights_service_services_pb.rb +62 -0
- data/lib/google/ads/datamanager/v1/item_parameter_pb.rb +23 -0
- data/lib/google/ads/datamanager/v1/match_rate_pb.rb +3 -24
- data/lib/google/ads/datamanager/v1/partner_link_service_pb.rb +32 -0
- data/lib/google/ads/datamanager/v1/partner_link_service_services_pb.rb +79 -0
- data/lib/google/ads/datamanager/v1/processing_errors_pb.rb +3 -24
- data/lib/google/ads/datamanager/v1/request_status_per_destination_pb.rb +7 -26
- data/lib/google/ads/datamanager/v1/terms_of_service_pb.rb +3 -24
- data/lib/google/ads/datamanager/v1/user_data_pb.rb +3 -24
- data/lib/google/ads/datamanager/v1/user_list_direct_license_pb.rb +28 -0
- data/lib/google/ads/datamanager/v1/user_list_direct_license_service_pb.rb +32 -0
- data/lib/google/ads/datamanager/v1/user_list_direct_license_service_services_pb.rb +63 -0
- data/lib/google/ads/datamanager/v1/user_list_global_license_pb.rb +30 -0
- data/lib/google/ads/datamanager/v1/user_list_global_license_service_pb.rb +34 -0
- data/lib/google/ads/datamanager/v1/user_list_global_license_service_services_pb.rb +67 -0
- data/lib/google/ads/datamanager/v1/user_list_global_license_type_pb.rb +21 -0
- data/lib/google/ads/datamanager/v1/user_list_license_client_account_type_pb.rb +21 -0
- data/lib/google/ads/datamanager/v1/user_list_license_metrics_pb.rb +23 -0
- data/lib/google/ads/datamanager/v1/user_list_license_pricing_pb.rb +26 -0
- data/lib/google/ads/datamanager/v1/user_list_license_status_pb.rb +21 -0
- data/lib/google/ads/datamanager/v1/user_list_pb.rb +43 -0
- data/lib/google/ads/datamanager/v1/user_list_service_pb.rb +34 -0
- data/lib/google/ads/datamanager/v1/user_list_service_services_pb.rb +118 -0
- data/lib/google/ads/datamanager/v1/user_properties_pb.rb +4 -24
- data/proto_docs/google/ads/datamanager/v1/age_range.rb +53 -0
- data/proto_docs/google/ads/datamanager/v1/audience.rb +42 -3
- data/proto_docs/google/ads/datamanager/v1/cart_data.rb +9 -0
- data/proto_docs/google/ads/datamanager/v1/destination.rb +6 -0
- data/proto_docs/google/ads/datamanager/v1/encryption_info.rb +41 -1
- data/proto_docs/google/ads/datamanager/v1/error.rb +200 -1
- data/proto_docs/google/ads/datamanager/v1/event.rb +28 -0
- data/proto_docs/google/ads/datamanager/v1/gender.rb +41 -0
- data/proto_docs/google/ads/datamanager/v1/insights_service.rb +133 -0
- data/proto_docs/google/ads/datamanager/v1/item_parameter.rb +41 -0
- data/proto_docs/google/ads/datamanager/v1/partner_link_service.rb +141 -0
- data/proto_docs/google/ads/datamanager/v1/processing_errors.rb +6 -0
- data/proto_docs/google/ads/datamanager/v1/request_status_per_destination.rb +92 -6
- data/proto_docs/google/ads/datamanager/v1/user_list.rb +397 -0
- data/proto_docs/google/ads/datamanager/v1/user_list_direct_license.rb +75 -0
- data/proto_docs/google/ads/datamanager/v1/user_list_direct_license_service.rb +134 -0
- data/proto_docs/google/ads/datamanager/v1/user_list_global_license.rb +114 -0
- data/proto_docs/google/ads/datamanager/v1/user_list_global_license_service.rb +204 -0
- data/proto_docs/google/ads/datamanager/v1/user_list_global_license_type.rb +41 -0
- data/proto_docs/google/ads/datamanager/v1/user_list_license_client_account_type.rb +44 -0
- data/proto_docs/google/ads/datamanager/v1/user_list_license_metrics.rb +55 -0
- data/proto_docs/google/ads/datamanager/v1/user_list_license_pricing.rb +108 -0
- data/proto_docs/google/ads/datamanager/v1/user_list_license_status.rb +38 -0
- data/proto_docs/google/ads/datamanager/v1/user_list_service.rb +151 -0
- data/proto_docs/google/ads/datamanager/v1/user_properties.rb +20 -0
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- metadata +75 -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\"a\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\"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,37 +7,17 @@ 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\"\
|
|
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
|
|
38
17
|
module DataManager
|
|
39
18
|
module V1
|
|
40
19
|
UserProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserProperties").msgclass
|
|
20
|
+
UserProperty = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserProperty").msgclass
|
|
41
21
|
CustomerType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.CustomerType").enummodule
|
|
42
22
|
CustomerValueBucket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.CustomerValueBucket").enummodule
|
|
43
23
|
end
|
|
@@ -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
|
-
#
|
|
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
|
|
@@ -55,6 +55,15 @@ module Google
|
|
|
55
55
|
# @return [::Float]
|
|
56
56
|
# Optional. The unit price excluding tax, shipping, and any transaction level
|
|
57
57
|
# discounts.
|
|
58
|
+
# @!attribute [rw] item_id
|
|
59
|
+
# @return [::String]
|
|
60
|
+
# Optional. A unique identifier to reference the item.
|
|
61
|
+
# @!attribute [rw] additional_item_parameters
|
|
62
|
+
# @return [::Array<::Google::Ads::DataManager::V1::ItemParameter>]
|
|
63
|
+
# Optional. A bucket of any [event parameters related to an
|
|
64
|
+
# item](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events)
|
|
65
|
+
# to be included within the event that were not already specified using other
|
|
66
|
+
# structured fields.
|
|
58
67
|
class Item
|
|
59
68
|
include ::Google::Protobuf::MessageExts
|
|
60
69
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -25,6 +25,13 @@ module Google
|
|
|
25
25
|
# @!attribute [rw] gcp_wrapped_key_info
|
|
26
26
|
# @return [::Google::Ads::DataManager::V1::GcpWrappedKeyInfo]
|
|
27
27
|
# Google Cloud Platform wrapped key information.
|
|
28
|
+
#
|
|
29
|
+
# Note: The following fields are mutually exclusive: `gcp_wrapped_key_info`, `aws_wrapped_key_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
30
|
+
# @!attribute [rw] aws_wrapped_key_info
|
|
31
|
+
# @return [::Google::Ads::DataManager::V1::AwsWrappedKeyInfo]
|
|
32
|
+
# Amazon Web Services wrapped key information.
|
|
33
|
+
#
|
|
34
|
+
# Note: The following fields are mutually exclusive: `aws_wrapped_key_info`, `gcp_wrapped_key_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
28
35
|
class EncryptionInfo
|
|
29
36
|
include ::Google::Protobuf::MessageExts
|
|
30
37
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -45,7 +52,9 @@ module Google
|
|
|
45
52
|
# Required. Google Cloud Platform [Cloud Key Management Service resource
|
|
46
53
|
# ID](//cloud.google.com/kms/docs/getting-resource-ids). Should be in the
|
|
47
54
|
# format of
|
|
48
|
-
#
|
|
55
|
+
# `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}`
|
|
56
|
+
# or
|
|
57
|
+
# `gcp-kms://projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}`
|
|
49
58
|
# @!attribute [rw] encrypted_dek
|
|
50
59
|
# @return [::String]
|
|
51
60
|
# Required. The base64 encoded encrypted data encryption key.
|
|
@@ -62,6 +71,37 @@ module Google
|
|
|
62
71
|
XCHACHA20_POLY1305 = 1
|
|
63
72
|
end
|
|
64
73
|
end
|
|
74
|
+
|
|
75
|
+
# A data encryption key wrapped by an AWS KMS key.
|
|
76
|
+
# @!attribute [rw] key_type
|
|
77
|
+
# @return [::Google::Ads::DataManager::V1::AwsWrappedKeyInfo::KeyType]
|
|
78
|
+
# Required. The type of algorithm used to encrypt the data.
|
|
79
|
+
# @!attribute [rw] role_arn
|
|
80
|
+
# @return [::String]
|
|
81
|
+
# Required. The Amazon Resource Name of the IAM Role to assume for KMS
|
|
82
|
+
# decryption access. Should be in the format of
|
|
83
|
+
# `arn:{partition}:iam::{account_id}:role/{role_name}`
|
|
84
|
+
# @!attribute [rw] kek_uri
|
|
85
|
+
# @return [::String]
|
|
86
|
+
# Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in
|
|
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}`
|
|
89
|
+
# @!attribute [rw] encrypted_dek
|
|
90
|
+
# @return [::String]
|
|
91
|
+
# Required. The base64 encoded encrypted data encryption key.
|
|
92
|
+
class AwsWrappedKeyInfo
|
|
93
|
+
include ::Google::Protobuf::MessageExts
|
|
94
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
95
|
+
|
|
96
|
+
# The type of algorithm used to encrypt the data.
|
|
97
|
+
module KeyType
|
|
98
|
+
# Unspecified key type. Should never be used.
|
|
99
|
+
KEY_TYPE_UNSPECIFIED = 0
|
|
100
|
+
|
|
101
|
+
# Algorithm XChaCha20-Poly1305
|
|
102
|
+
XCHACHA20_POLY1305 = 1
|
|
103
|
+
end
|
|
104
|
+
end
|
|
65
105
|
end
|
|
66
106
|
end
|
|
67
107
|
end
|