google-ads-data_manager-v1 0.a → 0.1.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/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/ads/data_manager/v1/ingestion_service/client.rb +787 -0
- data/lib/google/ads/data_manager/v1/ingestion_service/credentials.rb +47 -0
- data/lib/google/ads/data_manager/v1/ingestion_service/rest/client.rb +748 -0
- data/lib/google/ads/data_manager/v1/ingestion_service/rest/service_stub.rb +320 -0
- data/lib/google/ads/data_manager/v1/ingestion_service/rest.rb +51 -0
- data/lib/google/ads/data_manager/v1/ingestion_service.rb +54 -0
- data/lib/google/ads/data_manager/v1/rest.rb +37 -0
- data/lib/google/ads/data_manager/v1/version.rb +7 -2
- data/lib/google/ads/data_manager/v1.rb +45 -0
- data/lib/google/ads/datamanager/v1/audience_pb.rb +50 -0
- data/lib/google/ads/datamanager/v1/cart_data_pb.rb +45 -0
- data/lib/google/ads/datamanager/v1/consent_pb.rb +45 -0
- data/lib/google/ads/datamanager/v1/destination_pb.rb +47 -0
- data/lib/google/ads/datamanager/v1/device_info_pb.rb +44 -0
- data/lib/google/ads/datamanager/v1/encryption_info_pb.rb +46 -0
- data/lib/google/ads/datamanager/v1/error_pb.rb +42 -0
- data/lib/google/ads/datamanager/v1/event_pb.rb +61 -0
- data/lib/google/ads/datamanager/v1/experimental_field_pb.rb +44 -0
- data/lib/google/ads/datamanager/v1/ingestion_service_pb.rb +68 -0
- data/lib/google/ads/datamanager/v1/ingestion_service_services_pb.rb +57 -0
- data/lib/google/ads/datamanager/v1/match_rate_pb.rb +42 -0
- data/lib/google/ads/datamanager/v1/processing_errors_pb.rb +47 -0
- data/lib/google/ads/datamanager/v1/request_status_per_destination_pb.rb +58 -0
- data/lib/google/ads/datamanager/v1/terms_of_service_pb.rb +45 -0
- data/lib/google/ads/datamanager/v1/user_data_pb.rb +46 -0
- data/lib/google/ads/datamanager/v1/user_properties_pb.rb +46 -0
- data/lib/google-ads-data_manager-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/ads/datamanager/v1/audience.rb +81 -0
- data/proto_docs/google/ads/datamanager/v1/cart_data.rb +65 -0
- data/proto_docs/google/ads/datamanager/v1/consent.rb +52 -0
- data/proto_docs/google/ads/datamanager/v1/destination.rb +124 -0
- data/proto_docs/google/ads/datamanager/v1/device_info.rb +48 -0
- data/proto_docs/google/ads/datamanager/v1/encryption_info.rb +68 -0
- data/proto_docs/google/ads/datamanager/v1/error.rb +151 -0
- data/proto_docs/google/ads/datamanager/v1/event.rb +157 -0
- data/proto_docs/google/ads/datamanager/v1/experimental_field.rb +38 -0
- data/proto_docs/google/ads/datamanager/v1/ingestion_service.rb +201 -0
- data/proto_docs/google/ads/datamanager/v1/match_rate.rb +63 -0
- data/proto_docs/google/ads/datamanager/v1/processing_errors.rb +196 -0
- data/proto_docs/google/ads/datamanager/v1/request_status_per_destination.rb +234 -0
- data/proto_docs/google/ads/datamanager/v1/terms_of_service.rb +52 -0
- data/proto_docs/google/ads/datamanager/v1/user_data.rb +84 -0
- data/proto_docs/google/ads/datamanager/v1/user_properties.rb +70 -0
- data/proto_docs/google/api/client.rb +473 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- metadata +88 -9
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/consent.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n\'google/ads/datamanager/v1/consent.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\"\x99\x01\n\x07\x43onsent\x12\x43\n\x0c\x61\x64_user_data\x18\x01 \x01(\x0e\x32(.google.ads.datamanager.v1.ConsentStatusB\x03\xe0\x41\x01\x12I\n\x12\x61\x64_personalization\x18\x02 \x01(\x0e\x32(.google.ads.datamanager.v1.ConsentStatusB\x03\xe0\x41\x01*X\n\rConsentStatus\x12\x1e\n\x1a\x43ONSENT_STATUS_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43ONSENT_GRANTED\x10\x01\x12\x12\n\x0e\x43ONSENT_DENIED\x10\x02\x42\xcc\x01\n\x1d\x63om.google.ads.datamanager.v1B\x0c\x43onsentProtoP\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"
|
|
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
|
|
35
|
+
|
|
36
|
+
module Google
|
|
37
|
+
module Ads
|
|
38
|
+
module DataManager
|
|
39
|
+
module V1
|
|
40
|
+
Consent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.Consent").msgclass
|
|
41
|
+
ConsentStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.ConsentStatus").enummodule
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/destination.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n+google/ads/datamanager/v1/destination.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xa4\x02\n\x0b\x44\x65stination\x12\x16\n\treference\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\rlogin_account\x18\x02 \x01(\x0b\x32).google.ads.datamanager.v1.ProductAccountB\x03\xe0\x41\x01\x12\x46\n\x0elinked_account\x18\x03 \x01(\x0b\x32).google.ads.datamanager.v1.ProductAccountB\x03\xe0\x41\x01\x12I\n\x11operating_account\x18\x04 \x01(\x0b\x32).google.ads.datamanager.v1.ProductAccountB\x03\xe0\x41\x02\x12#\n\x16product_destination_id\x18\x05 \x01(\tB\x03\xe0\x41\x02\"\xbd\x02\n\x0eProductAccount\x12\x37\n\x07product\x18\x01 \x01(\x0e\x32\".google.ads.datamanager.v1.ProductB\x02\x18\x01\x12\x17\n\naccount_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12P\n\x0c\x61\x63\x63ount_type\x18\x03 \x01(\x0e\x32\x35.google.ads.datamanager.v1.ProductAccount.AccountTypeB\x03\xe0\x41\x01\"\x86\x01\n\x0b\x41\x63\x63ountType\x12\x1c\n\x18\x41\x43\x43OUNT_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nGOOGLE_ADS\x10\x01\x12\x19\n\x15\x44ISPLAY_VIDEO_PARTNER\x10\x02\x12\x1c\n\x18\x44ISPLAY_VIDEO_ADVERTISER\x10\x03\x12\x10\n\x0c\x44\x41TA_PARTNER\x10\x04*\x81\x01\n\x07Product\x12\x17\n\x13PRODUCT_UNSPECIFIED\x10\x00\x12\x0e\n\nGOOGLE_ADS\x10\x01\x12\x19\n\x15\x44ISPLAY_VIDEO_PARTNER\x10\x02\x12\x1c\n\x18\x44ISPLAY_VIDEO_ADVERTISER\x10\x03\x12\x10\n\x0c\x44\x41TA_PARTNER\x10\x04\x1a\x02\x18\x01\x42\xd0\x01\n\x1d\x63om.google.ads.datamanager.v1B\x10\x44\x65stinationProtoP\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"
|
|
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
|
|
35
|
+
|
|
36
|
+
module Google
|
|
37
|
+
module Ads
|
|
38
|
+
module DataManager
|
|
39
|
+
module V1
|
|
40
|
+
Destination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.Destination").msgclass
|
|
41
|
+
ProductAccount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.ProductAccount").msgclass
|
|
42
|
+
ProductAccount::AccountType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.ProductAccount.AccountType").enummodule
|
|
43
|
+
Product = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.Product").enummodule
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/device_info.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n+google/ads/datamanager/v1/device_info.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\">\n\nDeviceInfo\x12\x17\n\nuser_agent\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nip_address\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\xcf\x01\n\x1d\x63om.google.ads.datamanager.v1B\x0f\x44\x65viceInfoProtoP\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"
|
|
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
|
|
35
|
+
|
|
36
|
+
module Google
|
|
37
|
+
module Ads
|
|
38
|
+
module DataManager
|
|
39
|
+
module V1
|
|
40
|
+
DeviceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.DeviceInfo").msgclass
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/encryption_info.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n/google/ads/datamanager/v1/encryption_info.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\"m\n\x0e\x45ncryptionInfo\x12L\n\x14gcp_wrapped_key_info\x18\x01 \x01(\x0b\x32,.google.ads.datamanager.v1.GcpWrappedKeyInfoH\x00\x42\r\n\x0bwrapped_key\"\xea\x01\n\x11GcpWrappedKeyInfo\x12K\n\x08key_type\x18\x01 \x01(\x0e\x32\x34.google.ads.datamanager.v1.GcpWrappedKeyInfo.KeyTypeB\x03\xe0\x41\x02\x12\x19\n\x0cwip_provider\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07kek_uri\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rencrypted_dek\x18\x04 \x01(\tB\x03\xe0\x41\x02\";\n\x07KeyType\x12\x18\n\x14KEY_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12XCHACHA20_POLY1305\x10\x01\x42\xd3\x01\n\x1d\x63om.google.ads.datamanager.v1B\x13\x45ncryptionInfoProtoP\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"
|
|
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
|
|
35
|
+
|
|
36
|
+
module Google
|
|
37
|
+
module Ads
|
|
38
|
+
module DataManager
|
|
39
|
+
module V1
|
|
40
|
+
EncryptionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.EncryptionInfo").msgclass
|
|
41
|
+
GcpWrappedKeyInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.GcpWrappedKeyInfo").msgclass
|
|
42
|
+
GcpWrappedKeyInfo::KeyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.GcpWrappedKeyInfo.KeyType").enummodule
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/error.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
descriptor_data = "\n%google/ads/datamanager/v1/error.proto\x12\x19google.ads.datamanager.v1*\xd3\t\n\x0b\x45rrorReason\x12\x1c\n\x18\x45RROR_REASON_UNSPECIFIED\x10\x00\x12\x12\n\x0eINTERNAL_ERROR\x10\x01\x12\x15\n\x11\x44\x45\x41\x44LINE_EXCEEDED\x10\x02\x12\x16\n\x12RESOURCE_EXHAUSTED\x10\x03\x12\r\n\tNOT_FOUND\x10\x04\x12\x15\n\x11PERMISSION_DENIED\x10\x05\x12\x14\n\x10INVALID_ARGUMENT\x10\x06\x12\x1a\n\x16REQUIRED_FIELD_MISSING\x10\x07\x12\x12\n\x0eINVALID_FORMAT\x10\x08\x12\x18\n\x14INVALID_HEX_ENCODING\x10\t\x12\x1b\n\x17INVALID_BASE64_ENCODING\x10\n\x12\x19\n\x15INVALID_SHA256_FORMAT\x10\x0b\x12\x17\n\x13INVALID_POSTAL_CODE\x10\x0c\x12\x18\n\x14INVALID_COUNTRY_CODE\x10\r\x12\x16\n\x12INVALID_ENUM_VALUE\x10\x0e\x12\x1a\n\x16INVALID_USER_LIST_TYPE\x10\x0f\x12\x1b\n\x17INVALID_AUDIENCE_MEMBER\x10\x10\x12\x1d\n\x19TOO_MANY_AUDIENCE_MEMBERS\x10\x11\x12\x1d\n\x19TOO_MANY_USER_IDENTIFIERS\x10\x12\x12\x19\n\x15TOO_MANY_DESTINATIONS\x10\x13\x12\x17\n\x13INVALID_DESTINATION\x10\x14\x12-\n)DATA_PARTNER_USER_LIST_MUTATE_NOT_ALLOWED\x10\x15\x12\x1c\n\x18INVALID_MOBILE_ID_FORMAT\x10\x16\x12\x18\n\x14INVALID_USER_LIST_ID\x10\x17\x12#\n\x1fMULTIPLE_DATA_TYPES_NOT_ALLOWED\x10\x18\x12\x39\n5DIFFERENT_LOGIN_ACCOUNTS_NOT_ALLOWED_FOR_DATA_PARTNER\x10\x19\x12#\n\x1fTERMS_AND_CONDITIONS_NOT_SIGNED\x10\x1a\x12\x19\n\x15INVALID_NUMBER_FORMAT\x10\x1b\x12 \n\x1cINVALID_CONVERSION_ACTION_ID\x10\x1c\x12\"\n\x1eINVALID_CONVERSION_ACTION_TYPE\x10\x1d\x12\x19\n\x15INVALID_CURRENCY_CODE\x10\x1e\x12\x11\n\rINVALID_EVENT\x10\x1f\x12\x13\n\x0fTOO_MANY_EVENTS\x10 \x12\x42\n>DESTINATION_ACCOUNT_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS\x10!\x12\x42\n>DESTINATION_ACCOUNT_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS\x10\"\x12=\n9DESTINATION_ACCOUNT_ENHANCED_CONVERSIONS_TERMS_NOT_SIGNED\x10#\x12#\n\x1f\x44UPLICATE_DESTINATION_REFERENCE\x10$\x12\x1b\n\x17NO_IDENTIFIERS_PROVIDED\x10\'\x12\x16\n\x12INVALID_REQUEST_ID\x10\x30\x42\xca\x01\n\x1d\x63om.google.ads.datamanager.v1B\nErrorProtoP\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"
|
|
9
|
+
|
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
|
+
|
|
12
|
+
begin
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
rescue TypeError
|
|
15
|
+
# Compatibility code: will be removed in the next major version.
|
|
16
|
+
require 'google/protobuf/descriptor_pb'
|
|
17
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
18
|
+
parsed.clear_dependency
|
|
19
|
+
serialized = parsed.class.encode(parsed)
|
|
20
|
+
file = pool.add_serialized_file(serialized)
|
|
21
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
22
|
+
imports = [
|
|
23
|
+
]
|
|
24
|
+
imports.each do |type_name, expected_filename|
|
|
25
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
26
|
+
if import_file.name != expected_filename
|
|
27
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
31
|
+
warn "This will become an error in the next major version."
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
module Google
|
|
35
|
+
module Ads
|
|
36
|
+
module DataManager
|
|
37
|
+
module V1
|
|
38
|
+
ErrorReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.ErrorReason").enummodule
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/event.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/ads/datamanager/v1/cart_data_pb'
|
|
8
|
+
require 'google/ads/datamanager/v1/consent_pb'
|
|
9
|
+
require 'google/ads/datamanager/v1/device_info_pb'
|
|
10
|
+
require 'google/ads/datamanager/v1/experimental_field_pb'
|
|
11
|
+
require 'google/ads/datamanager/v1/user_data_pb'
|
|
12
|
+
require 'google/ads/datamanager/v1/user_properties_pb'
|
|
13
|
+
require 'google/api/field_behavior_pb'
|
|
14
|
+
require 'google/protobuf/timestamp_pb'
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
descriptor_data = "\n%google/ads/datamanager/v1/event.proto\x12\x19google.ads.datamanager.v1\x1a)google/ads/datamanager/v1/cart_data.proto\x1a\'google/ads/datamanager/v1/consent.proto\x1a+google/ads/datamanager/v1/device_info.proto\x1a\x32google/ads/datamanager/v1/experimental_field.proto\x1a)google/ads/datamanager/v1/user_data.proto\x1a/google/ads/datamanager/v1/user_properties.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe2\x06\n\x05\x45vent\x12#\n\x16\x64\x65stination_references\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1b\n\x0etransaction_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x38\n\x0f\x65vent_timestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12?\n\x16last_updated_timestamp\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12;\n\tuser_data\x18\x05 \x01(\x0b\x32#.google.ads.datamanager.v1.UserDataB\x03\xe0\x41\x01\x12\x38\n\x07\x63onsent\x18\x06 \x01(\x0b\x32\".google.ads.datamanager.v1.ConsentB\x03\xe0\x41\x01\x12\x45\n\x0e\x61\x64_identifiers\x18\x07 \x01(\x0b\x32(.google.ads.datamanager.v1.AdIdentifiersB\x03\xe0\x41\x01\x12\x15\n\x08\x63urrency\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x63onversion_value\x18\t \x01(\x01\x42\x03\xe0\x41\x01\x12\x41\n\x0c\x65vent_source\x18\n \x01(\x0e\x32&.google.ads.datamanager.v1.EventSourceB\x03\xe0\x41\x01\x12\x45\n\x11\x65vent_device_info\x18\x0b \x01(\x0b\x32%.google.ads.datamanager.v1.DeviceInfoB\x03\xe0\x41\x01\x12;\n\tcart_data\x18\x0c \x01(\x0b\x32#.google.ads.datamanager.v1.CartDataB\x03\xe0\x41\x01\x12H\n\x10\x63ustom_variables\x18\r \x03(\x0b\x32).google.ads.datamanager.v1.CustomVariableB\x03\xe0\x41\x01\x12N\n\x13\x65xperimental_fields\x18\x0e \x03(\x0b\x32,.google.ads.datamanager.v1.ExperimentalFieldB\x03\xe0\x41\x01\x12G\n\x0fuser_properties\x18\x0f \x01(\x0b\x32).google.ads.datamanager.v1.UserPropertiesB\x03\xe0\x41\x01\"\xbc\x01\n\rAdIdentifiers\x12\x1f\n\x12session_attributes\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05gclid\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06gbraid\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06wbraid\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12L\n\x18landing_page_device_info\x18\x05 \x01(\x0b\x32%.google.ads.datamanager.v1.DeviceInfoB\x03\xe0\x41\x01\"`\n\x0e\x43ustomVariable\x12\x15\n\x08variable\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12#\n\x16\x64\x65stination_references\x18\x03 \x03(\tB\x03\xe0\x41\x01*a\n\x0b\x45ventSource\x12\x1c\n\x18\x45VENT_SOURCE_UNSPECIFIED\x10\x00\x12\x07\n\x03WEB\x10\x01\x12\x07\n\x03\x41PP\x10\x02\x12\x0c\n\x08IN_STORE\x10\x03\x12\t\n\x05PHONE\x10\x04\x12\t\n\x05OTHER\x10\x05\x42\xca\x01\n\x1d\x63om.google.ads.datamanager.v1B\nEventProtoP\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"
|
|
18
|
+
|
|
19
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
20
|
+
|
|
21
|
+
begin
|
|
22
|
+
pool.add_serialized_file(descriptor_data)
|
|
23
|
+
rescue TypeError
|
|
24
|
+
# Compatibility code: will be removed in the next major version.
|
|
25
|
+
require 'google/protobuf/descriptor_pb'
|
|
26
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
27
|
+
parsed.clear_dependency
|
|
28
|
+
serialized = parsed.class.encode(parsed)
|
|
29
|
+
file = pool.add_serialized_file(serialized)
|
|
30
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
31
|
+
imports = [
|
|
32
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
33
|
+
["google.ads.datamanager.v1.UserData", "google/ads/datamanager/v1/user_data.proto"],
|
|
34
|
+
["google.ads.datamanager.v1.Consent", "google/ads/datamanager/v1/consent.proto"],
|
|
35
|
+
["google.ads.datamanager.v1.DeviceInfo", "google/ads/datamanager/v1/device_info.proto"],
|
|
36
|
+
["google.ads.datamanager.v1.CartData", "google/ads/datamanager/v1/cart_data.proto"],
|
|
37
|
+
["google.ads.datamanager.v1.ExperimentalField", "google/ads/datamanager/v1/experimental_field.proto"],
|
|
38
|
+
["google.ads.datamanager.v1.UserProperties", "google/ads/datamanager/v1/user_properties.proto"],
|
|
39
|
+
]
|
|
40
|
+
imports.each do |type_name, expected_filename|
|
|
41
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
42
|
+
if import_file.name != expected_filename
|
|
43
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
47
|
+
warn "This will become an error in the next major version."
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
module Google
|
|
51
|
+
module Ads
|
|
52
|
+
module DataManager
|
|
53
|
+
module V1
|
|
54
|
+
Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.Event").msgclass
|
|
55
|
+
AdIdentifiers = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.AdIdentifiers").msgclass
|
|
56
|
+
CustomVariable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.CustomVariable").msgclass
|
|
57
|
+
EventSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.EventSource").enummodule
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/experimental_field.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n2google/ads/datamanager/v1/experimental_field.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\";\n\x11\x45xperimentalField\x12\x12\n\x05\x66ield\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\xd6\x01\n\x1d\x63om.google.ads.datamanager.v1B\x16\x45xperimentalFieldProtoP\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"
|
|
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
|
|
35
|
+
|
|
36
|
+
module Google
|
|
37
|
+
module Ads
|
|
38
|
+
module DataManager
|
|
39
|
+
module V1
|
|
40
|
+
ExperimentalField = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.ExperimentalField").msgclass
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/ingestion_service.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/ads/datamanager/v1/audience_pb'
|
|
8
|
+
require 'google/ads/datamanager/v1/consent_pb'
|
|
9
|
+
require 'google/ads/datamanager/v1/destination_pb'
|
|
10
|
+
require 'google/ads/datamanager/v1/encryption_info_pb'
|
|
11
|
+
require 'google/ads/datamanager/v1/event_pb'
|
|
12
|
+
require 'google/ads/datamanager/v1/request_status_per_destination_pb'
|
|
13
|
+
require 'google/ads/datamanager/v1/terms_of_service_pb'
|
|
14
|
+
require 'google/api/annotations_pb'
|
|
15
|
+
require 'google/api/client_pb'
|
|
16
|
+
require 'google/api/field_behavior_pb'
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
descriptor_data = "\n1google/ads/datamanager/v1/ingestion_service.proto\x12\x19google.ads.datamanager.v1\x1a(google/ads/datamanager/v1/audience.proto\x1a\'google/ads/datamanager/v1/consent.proto\x1a+google/ads/datamanager/v1/destination.proto\x1a/google/ads/datamanager/v1/encryption_info.proto\x1a%google/ads/datamanager/v1/event.proto\x1a>google/ads/datamanager/v1/request_status_per_destination.proto\x1a\x30google/ads/datamanager/v1/terms_of_service.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\"\xd0\x03\n\x1cIngestAudienceMembersRequest\x12\x41\n\x0c\x64\x65stinations\x18\x01 \x03(\x0b\x32&.google.ads.datamanager.v1.DestinationB\x03\xe0\x41\x02\x12H\n\x10\x61udience_members\x18\x02 \x03(\x0b\x32).google.ads.datamanager.v1.AudienceMemberB\x03\xe0\x41\x02\x12\x38\n\x07\x63onsent\x18\x03 \x01(\x0b\x32\".google.ads.datamanager.v1.ConsentB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12:\n\x08\x65ncoding\x18\x05 \x01(\x0e\x32#.google.ads.datamanager.v1.EncodingB\x03\xe0\x41\x01\x12G\n\x0f\x65ncryption_info\x18\x06 \x01(\x0b\x32).google.ads.datamanager.v1.EncryptionInfoB\x03\xe0\x41\x01\x12H\n\x10terms_of_service\x18\x07 \x01(\x0b\x32).google.ads.datamanager.v1.TermsOfServiceB\x03\xe0\x41\x01\"3\n\x1dIngestAudienceMembersResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\"\xcc\x02\n\x1cRemoveAudienceMembersRequest\x12\x41\n\x0c\x64\x65stinations\x18\x01 \x03(\x0b\x32&.google.ads.datamanager.v1.DestinationB\x03\xe0\x41\x02\x12H\n\x10\x61udience_members\x18\x02 \x03(\x0b\x32).google.ads.datamanager.v1.AudienceMemberB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12:\n\x08\x65ncoding\x18\x04 \x01(\x0e\x32#.google.ads.datamanager.v1.EncodingB\x03\xe0\x41\x01\x12G\n\x0f\x65ncryption_info\x18\x05 \x01(\x0b\x32).google.ads.datamanager.v1.EncryptionInfoB\x03\xe0\x41\x01\"3\n\x1dRemoveAudienceMembersResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\"\xea\x02\n\x13IngestEventsRequest\x12\x41\n\x0c\x64\x65stinations\x18\x01 \x03(\x0b\x32&.google.ads.datamanager.v1.DestinationB\x03\xe0\x41\x02\x12\x35\n\x06\x65vents\x18\x02 \x03(\x0b\x32 .google.ads.datamanager.v1.EventB\x03\xe0\x41\x02\x12\x38\n\x07\x63onsent\x18\x03 \x01(\x0b\x32\".google.ads.datamanager.v1.ConsentB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12:\n\x08\x65ncoding\x18\x05 \x01(\x0e\x32#.google.ads.datamanager.v1.EncodingB\x03\xe0\x41\x01\x12G\n\x0f\x65ncryption_info\x18\x06 \x01(\x0b\x32).google.ads.datamanager.v1.EncryptionInfoB\x03\xe0\x41\x01\"*\n\x14IngestEventsResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\"7\n\x1cRetrieveRequestStatusRequest\x12\x17\n\nrequest_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x7f\n\x1dRetrieveRequestStatusResponse\x12^\n\x1erequest_status_per_destination\x18\x01 \x03(\x0b\x32\x36.google.ads.datamanager.v1.RequestStatusPerDestination*9\n\x08\x45ncoding\x12\x18\n\x14\x45NCODING_UNSPECIFIED\x10\x00\x12\x07\n\x03HEX\x10\x01\x12\n\n\x06\x42\x41SE64\x10\x02\x32\x88\x06\n\x10IngestionService\x12\xb1\x01\n\x15IngestAudienceMembers\x12\x37.google.ads.datamanager.v1.IngestAudienceMembersRequest\x1a\x38.google.ads.datamanager.v1.IngestAudienceMembersResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/v1/audienceMembers:ingest:\x01*\x12\xb1\x01\n\x15RemoveAudienceMembers\x12\x37.google.ads.datamanager.v1.RemoveAudienceMembersRequest\x1a\x38.google.ads.datamanager.v1.RemoveAudienceMembersResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/v1/audienceMembers:remove:\x01*\x12\x8d\x01\n\x0cIngestEvents\x12..google.ads.datamanager.v1.IngestEventsRequest\x1a/.google.ads.datamanager.v1.IngestEventsResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/v1/events:ingest:\x01*\x12\xae\x01\n\x15RetrieveRequestStatus\x12\x37.google.ads.datamanager.v1.RetrieveRequestStatusRequest\x1a\x38.google.ads.datamanager.v1.RetrieveRequestStatusResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1/requestStatus:retrieve\x1aK\xca\x41\x1a\x64\x61tamanager.googleapis.com\xd2\x41+https://www.googleapis.com/auth/datamanagerB\xd5\x01\n\x1d\x63om.google.ads.datamanager.v1B\x15IngestionServiceProtoP\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"
|
|
20
|
+
|
|
21
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
22
|
+
|
|
23
|
+
begin
|
|
24
|
+
pool.add_serialized_file(descriptor_data)
|
|
25
|
+
rescue TypeError
|
|
26
|
+
# Compatibility code: will be removed in the next major version.
|
|
27
|
+
require 'google/protobuf/descriptor_pb'
|
|
28
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
29
|
+
parsed.clear_dependency
|
|
30
|
+
serialized = parsed.class.encode(parsed)
|
|
31
|
+
file = pool.add_serialized_file(serialized)
|
|
32
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
33
|
+
imports = [
|
|
34
|
+
["google.ads.datamanager.v1.Destination", "google/ads/datamanager/v1/destination.proto"],
|
|
35
|
+
["google.ads.datamanager.v1.AudienceMember", "google/ads/datamanager/v1/audience.proto"],
|
|
36
|
+
["google.ads.datamanager.v1.Consent", "google/ads/datamanager/v1/consent.proto"],
|
|
37
|
+
["google.ads.datamanager.v1.EncryptionInfo", "google/ads/datamanager/v1/encryption_info.proto"],
|
|
38
|
+
["google.ads.datamanager.v1.TermsOfService", "google/ads/datamanager/v1/terms_of_service.proto"],
|
|
39
|
+
["google.ads.datamanager.v1.Event", "google/ads/datamanager/v1/event.proto"],
|
|
40
|
+
["google.ads.datamanager.v1.RequestStatusPerDestination", "google/ads/datamanager/v1/request_status_per_destination.proto"],
|
|
41
|
+
]
|
|
42
|
+
imports.each do |type_name, expected_filename|
|
|
43
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
44
|
+
if import_file.name != expected_filename
|
|
45
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
49
|
+
warn "This will become an error in the next major version."
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
module Google
|
|
53
|
+
module Ads
|
|
54
|
+
module DataManager
|
|
55
|
+
module V1
|
|
56
|
+
IngestAudienceMembersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestAudienceMembersRequest").msgclass
|
|
57
|
+
IngestAudienceMembersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestAudienceMembersResponse").msgclass
|
|
58
|
+
RemoveAudienceMembersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RemoveAudienceMembersRequest").msgclass
|
|
59
|
+
RemoveAudienceMembersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RemoveAudienceMembersResponse").msgclass
|
|
60
|
+
IngestEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestEventsRequest").msgclass
|
|
61
|
+
IngestEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestEventsResponse").msgclass
|
|
62
|
+
RetrieveRequestStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RetrieveRequestStatusRequest").msgclass
|
|
63
|
+
RetrieveRequestStatusResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RetrieveRequestStatusResponse").msgclass
|
|
64
|
+
Encoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.Encoding").enummodule
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: google/ads/datamanager/v1/ingestion_service.proto for package 'Google.Ads.DataManager.V1'
|
|
3
|
+
# Original file comments:
|
|
4
|
+
# Copyright 2025 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/ingestion_service_pb'
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Ads
|
|
24
|
+
module DataManager
|
|
25
|
+
module V1
|
|
26
|
+
module IngestionService
|
|
27
|
+
# Service for sending audience data to supported destinations.
|
|
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.IngestionService'
|
|
35
|
+
|
|
36
|
+
# Uploads a list of
|
|
37
|
+
# [AudienceMember][google.ads.datamanager.v1.AudienceMember] resources to the
|
|
38
|
+
# provided [Destination][google.ads.datamanager.v1.Destination].
|
|
39
|
+
rpc :IngestAudienceMembers, ::Google::Ads::DataManager::V1::IngestAudienceMembersRequest, ::Google::Ads::DataManager::V1::IngestAudienceMembersResponse
|
|
40
|
+
# Removes a list of
|
|
41
|
+
# [AudienceMember][google.ads.datamanager.v1.AudienceMember] resources from
|
|
42
|
+
# the provided [Destination][google.ads.datamanager.v1.Destination].
|
|
43
|
+
rpc :RemoveAudienceMembers, ::Google::Ads::DataManager::V1::RemoveAudienceMembersRequest, ::Google::Ads::DataManager::V1::RemoveAudienceMembersResponse
|
|
44
|
+
# Uploads a list of
|
|
45
|
+
# [Event][google.ads.datamanager.v1.Event] resources from
|
|
46
|
+
# the provided [Destination][google.ads.datamanager.v1.Destination].
|
|
47
|
+
rpc :IngestEvents, ::Google::Ads::DataManager::V1::IngestEventsRequest, ::Google::Ads::DataManager::V1::IngestEventsResponse
|
|
48
|
+
# Gets the status of a request given request id.
|
|
49
|
+
rpc :RetrieveRequestStatus, ::Google::Ads::DataManager::V1::RetrieveRequestStatusRequest, ::Google::Ads::DataManager::V1::RetrieveRequestStatusResponse
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
Stub = Service.rpc_stub_class
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/match_rate.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
descriptor_data = "\n*google/ads/datamanager/v1/match_rate.proto\x12\x19google.ads.datamanager.v1*\xed\x02\n\x0eMatchRateRange\x12\x1c\n\x18MATCH_RATE_RANGE_UNKNOWN\x10\x00\x12!\n\x1dMATCH_RATE_RANGE_NOT_ELIGIBLE\x10\x01\x12!\n\x1dMATCH_RATE_RANGE_LESS_THAN_20\x10\x02\x12\x1d\n\x19MATCH_RATE_RANGE_20_TO_30\x10\x03\x12\x1d\n\x19MATCH_RATE_RANGE_31_TO_40\x10\x04\x12\x1d\n\x19MATCH_RATE_RANGE_41_TO_50\x10\x05\x12\x1d\n\x19MATCH_RATE_RANGE_51_TO_60\x10\x06\x12\x1d\n\x19MATCH_RATE_RANGE_61_TO_70\x10\x07\x12\x1d\n\x19MATCH_RATE_RANGE_71_TO_80\x10\x08\x12\x1d\n\x19MATCH_RATE_RANGE_81_TO_90\x10\t\x12\x1e\n\x1aMATCH_RATE_RANGE_91_TO_100\x10\nB\xce\x01\n\x1d\x63om.google.ads.datamanager.v1B\x0eMatchRateProtoP\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"
|
|
9
|
+
|
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
|
+
|
|
12
|
+
begin
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
rescue TypeError
|
|
15
|
+
# Compatibility code: will be removed in the next major version.
|
|
16
|
+
require 'google/protobuf/descriptor_pb'
|
|
17
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
18
|
+
parsed.clear_dependency
|
|
19
|
+
serialized = parsed.class.encode(parsed)
|
|
20
|
+
file = pool.add_serialized_file(serialized)
|
|
21
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
22
|
+
imports = [
|
|
23
|
+
]
|
|
24
|
+
imports.each do |type_name, expected_filename|
|
|
25
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
26
|
+
if import_file.name != expected_filename
|
|
27
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
31
|
+
warn "This will become an error in the next major version."
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
module Google
|
|
35
|
+
module Ads
|
|
36
|
+
module DataManager
|
|
37
|
+
module V1
|
|
38
|
+
MatchRateRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.MatchRateRange").enummodule
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/processing_errors.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
descriptor_data = "\n1google/ads/datamanager/v1/processing_errors.proto\x12\x19google.ads.datamanager.v1\"H\n\tErrorInfo\x12;\n\x0c\x65rror_counts\x18\x01 \x03(\x0b\x32%.google.ads.datamanager.v1.ErrorCount\"d\n\nErrorCount\x12\x14\n\x0crecord_count\x18\x01 \x01(\x03\x12@\n\x06reason\x18\x02 \x01(\x0e\x32\x30.google.ads.datamanager.v1.ProcessingErrorReason\"N\n\x0bWarningInfo\x12?\n\x0ewarning_counts\x18\x01 \x03(\x0b\x32\'.google.ads.datamanager.v1.WarningCount\"h\n\x0cWarningCount\x12\x14\n\x0crecord_count\x18\x01 \x01(\x03\x12\x42\n\x06reason\x18\x02 \x01(\x0e\x32\x32.google.ads.datamanager.v1.ProcessingWarningReason*\xd4\n\n\x15ProcessingErrorReason\x12\'\n#PROCESSING_ERROR_REASON_UNSPECIFIED\x10\x00\x12\x33\n/PROCESSING_ERROR_REASON_INVALID_CUSTOM_VARIABLE\x10\x01\x12\x37\n3PROCESSING_ERROR_REASON_CUSTOM_VARIABLE_NOT_ENABLED\x10\x02\x12)\n%PROCESSING_ERROR_REASON_EVENT_TOO_OLD\x10\x03\x12*\n&PROCESSING_ERROR_REASON_DENIED_CONSENT\x10\x04\x12&\n\"PROCESSING_ERROR_REASON_NO_CONSENT\x10\x05\x12+\n\'PROCESSING_ERROR_REASON_UNKNOWN_CONSENT\x10\x06\x12+\n\'PROCESSING_ERROR_REASON_DUPLICATE_GCLID\x10\x07\x12\x34\n0PROCESSING_ERROR_REASON_DUPLICATE_TRANSACTION_ID\x10\x08\x12*\n&PROCESSING_ERROR_REASON_INVALID_GBRAID\x10\t\x12)\n%PROCESSING_ERROR_REASON_INVALID_GCLID\x10\n\x12/\n+PROCESSING_ERROR_REASON_INVALID_MERCHANT_ID\x10\x0b\x12*\n&PROCESSING_ERROR_REASON_INVALID_WBRAID\x10\x0c\x12*\n&PROCESSING_ERROR_REASON_INTERNAL_ERROR\x10\r\x12U\nQPROCESSING_ERROR_REASON_DESTINATION_ACCOUNT_ENHANCED_CONVERSIONS_TERMS_NOT_SIGNED\x10\x0e\x12)\n%PROCESSING_ERROR_REASON_INVALID_EVENT\x10\x0f\x12=\n9PROCESSING_ERROR_REASON_INSUFFICIENT_MATCHED_TRANSACTIONS\x10\x10\x12\x35\n1PROCESSING_ERROR_REASON_INSUFFICIENT_TRANSACTIONS\x10\x11\x12*\n&PROCESSING_ERROR_REASON_INVALID_FORMAT\x10\x12\x12,\n(PROCESSING_ERROR_REASON_DECRYPTION_ERROR\x10\x13\x12\x30\n,PROCESSING_ERROR_REASON_DEK_DECRYPTION_ERROR\x10\x14\x12\'\n#PROCESSING_ERROR_REASON_INVALID_WIP\x10\x15\x12\'\n#PROCESSING_ERROR_REASON_INVALID_KEK\x10\x16\x12+\n\'PROCESSING_ERROR_REASON_WIP_AUTH_FAILED\x10\x17\x12\x31\n-PROCESSING_ERROR_REASON_KEK_PERMISSION_DENIED\x10\x18\x12<\n8PROCESSING_ERROR_REASON_USER_IDENTIFIER_DECRYPTION_ERROR\x10\x19\x12\x41\n=PROCESSING_ERROR_OPERATING_ACCOUNT_MISMATCH_FOR_AD_IDENTIFIER\x10\x1a*\xd0\x03\n\x17ProcessingWarningReason\x12)\n%PROCESSING_WARNING_REASON_UNSPECIFIED\x10\x00\x12\x33\n/PROCESSING_WARNING_REASON_KEK_PERMISSION_DENIED\x10\x01\x12\x32\n.PROCESSING_WARNING_REASON_DEK_DECRYPTION_ERROR\x10\x02\x12.\n*PROCESSING_WARNING_REASON_DECRYPTION_ERROR\x10\x03\x12-\n)PROCESSING_WARNING_REASON_WIP_AUTH_FAILED\x10\x04\x12)\n%PROCESSING_WARNING_REASON_INVALID_WIP\x10\x05\x12)\n%PROCESSING_WARNING_REASON_INVALID_KEK\x10\x06\x12>\n:PROCESSING_WARNING_REASON_USER_IDENTIFIER_DECRYPTION_ERROR\x10\x07\x12,\n(PROCESSING_WARNING_REASON_INTERNAL_ERROR\x10\x08\x42\xd5\x01\n\x1d\x63om.google.ads.datamanager.v1B\x15ProcessingErrorsProtoP\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"
|
|
9
|
+
|
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
|
+
|
|
12
|
+
begin
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
rescue TypeError
|
|
15
|
+
# Compatibility code: will be removed in the next major version.
|
|
16
|
+
require 'google/protobuf/descriptor_pb'
|
|
17
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
18
|
+
parsed.clear_dependency
|
|
19
|
+
serialized = parsed.class.encode(parsed)
|
|
20
|
+
file = pool.add_serialized_file(serialized)
|
|
21
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
22
|
+
imports = [
|
|
23
|
+
]
|
|
24
|
+
imports.each do |type_name, expected_filename|
|
|
25
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
26
|
+
if import_file.name != expected_filename
|
|
27
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
31
|
+
warn "This will become an error in the next major version."
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
module Google
|
|
35
|
+
module Ads
|
|
36
|
+
module DataManager
|
|
37
|
+
module V1
|
|
38
|
+
ErrorInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.ErrorInfo").msgclass
|
|
39
|
+
ErrorCount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.ErrorCount").msgclass
|
|
40
|
+
WarningInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.WarningInfo").msgclass
|
|
41
|
+
WarningCount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.WarningCount").msgclass
|
|
42
|
+
ProcessingErrorReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.ProcessingErrorReason").enummodule
|
|
43
|
+
ProcessingWarningReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.ProcessingWarningReason").enummodule
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/request_status_per_destination.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/ads/datamanager/v1/destination_pb'
|
|
8
|
+
require 'google/ads/datamanager/v1/match_rate_pb'
|
|
9
|
+
require 'google/ads/datamanager/v1/processing_errors_pb'
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
descriptor_data = "\n>google/ads/datamanager/v1/request_status_per_destination.proto\x12\x19google.ads.datamanager.v1\x1a+google/ads/datamanager/v1/destination.proto\x1a*google/ads/datamanager/v1/match_rate.proto\x1a\x31google/ads/datamanager/v1/processing_errors.proto\"\xca\x10\n\x1bRequestStatusPerDestination\x12;\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32&.google.ads.datamanager.v1.Destination\x12\\\n\x0erequest_status\x18\x02 \x01(\x0e\x32\x44.google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus\x12\x38\n\nerror_info\x18\x03 \x01(\x0b\x32$.google.ads.datamanager.v1.ErrorInfo\x12<\n\x0cwarning_info\x18\x07 \x01(\x0b\x32&.google.ads.datamanager.v1.WarningInfo\x12\x7f\n!audience_members_ingestion_status\x18\x04 \x01(\x0b\x32R.google.ads.datamanager.v1.RequestStatusPerDestination.IngestAudienceMembersStatusH\x00\x12l\n\x17\x65vents_ingestion_status\x18\x05 \x01(\x0b\x32I.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatusH\x00\x12}\n\x1f\x61udience_members_removal_status\x18\x06 \x01(\x0b\x32R.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAudienceMembersStatusH\x00\x1a\x84\x03\n\x1bIngestAudienceMembersStatus\x12q\n\x1auser_data_ingestion_status\x18\x01 \x01(\x0b\x32K.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatusH\x00\x12u\n\x1cmobile_data_ingestion_status\x18\x02 \x01(\x0b\x32M.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatusH\x00\x12q\n\x1apair_data_ingestion_status\x18\x03 \x01(\x0b\x32K.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatusH\x00\x42\x08\n\x06status\x1a\xfe\x02\n\x1bRemoveAudienceMembersStatus\x12o\n\x18user_data_removal_status\x18\x01 \x01(\x0b\x32K.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatusH\x00\x12s\n\x1amobile_data_removal_status\x18\x02 \x01(\x0b\x32M.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatusH\x00\x12o\n\x18pair_data_removal_status\x18\x03 \x01(\x0b\x32K.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatusH\x00\x42\x08\n\x06status\x1a*\n\x12IngestEventsStatus\x12\x14\n\x0crecord_count\x18\x01 \x01(\x03\x1a\x97\x01\n\x14IngestUserDataStatus\x12\x14\n\x0crecord_count\x18\x01 \x01(\x03\x12\x1d\n\x15user_identifier_count\x18\x02 \x01(\x03\x12J\n\x17upload_match_rate_range\x18\x03 \x01(\x0e\x32).google.ads.datamanager.v1.MatchRateRange\x1aK\n\x14RemoveUserDataStatus\x12\x14\n\x0crecord_count\x18\x01 \x01(\x03\x12\x1d\n\x15user_identifier_count\x18\x02 \x01(\x03\x1aG\n\x16IngestMobileDataStatus\x12\x14\n\x0crecord_count\x18\x01 \x01(\x03\x12\x17\n\x0fmobile_id_count\x18\x02 \x01(\x03\x1aG\n\x16RemoveMobileDataStatus\x12\x14\n\x0crecord_count\x18\x01 \x01(\x03\x12\x17\n\x0fmobile_id_count\x18\x02 \x01(\x03\x1a\x43\n\x14IngestPairDataStatus\x12\x14\n\x0crecord_count\x18\x01 \x01(\x03\x12\x15\n\rpair_id_count\x18\x02 \x01(\x03\x1a\x43\n\x14RemovePairDataStatus\x12\x14\n\x0crecord_count\x18\x01 \x01(\x03\x12\x15\n\rpair_id_count\x18\x02 \x01(\x03\"i\n\rRequestStatus\x12\x1a\n\x16REQUEST_STATUS_UNKNOWN\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x0e\n\nPROCESSING\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x13\n\x0fPARTIAL_SUCCESS\x10\x04\x42\x08\n\x06statusB\xe0\x01\n\x1d\x63om.google.ads.datamanager.v1B RequestStatusPerDestinationProtoP\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"
|
|
13
|
+
|
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
|
|
16
|
+
begin
|
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
|
18
|
+
rescue TypeError
|
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
22
|
+
parsed.clear_dependency
|
|
23
|
+
serialized = parsed.class.encode(parsed)
|
|
24
|
+
file = pool.add_serialized_file(serialized)
|
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
26
|
+
imports = [
|
|
27
|
+
["google.ads.datamanager.v1.Destination", "google/ads/datamanager/v1/destination.proto"],
|
|
28
|
+
["google.ads.datamanager.v1.ErrorInfo", "google/ads/datamanager/v1/processing_errors.proto"],
|
|
29
|
+
]
|
|
30
|
+
imports.each do |type_name, expected_filename|
|
|
31
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
32
|
+
if import_file.name != expected_filename
|
|
33
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
37
|
+
warn "This will become an error in the next major version."
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
module Google
|
|
41
|
+
module Ads
|
|
42
|
+
module DataManager
|
|
43
|
+
module V1
|
|
44
|
+
RequestStatusPerDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RequestStatusPerDestination").msgclass
|
|
45
|
+
RequestStatusPerDestination::IngestAudienceMembersStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RequestStatusPerDestination.IngestAudienceMembersStatus").msgclass
|
|
46
|
+
RequestStatusPerDestination::RemoveAudienceMembersStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAudienceMembersStatus").msgclass
|
|
47
|
+
RequestStatusPerDestination::IngestEventsStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus").msgclass
|
|
48
|
+
RequestStatusPerDestination::IngestUserDataStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus").msgclass
|
|
49
|
+
RequestStatusPerDestination::RemoveUserDataStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus").msgclass
|
|
50
|
+
RequestStatusPerDestination::IngestMobileDataStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus").msgclass
|
|
51
|
+
RequestStatusPerDestination::RemoveMobileDataStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus").msgclass
|
|
52
|
+
RequestStatusPerDestination::IngestPairDataStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus").msgclass
|
|
53
|
+
RequestStatusPerDestination::RemovePairDataStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus").msgclass
|
|
54
|
+
RequestStatusPerDestination::RequestStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus").enummodule
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|