google-ads-data_manager-v1 0.8.1 → 0.10.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/ingestion_service/client.rb +251 -20
- data/lib/google/ads/data_manager/v1/ingestion_service/rest/client.rb +253 -20
- data/lib/google/ads/data_manager/v1/ingestion_service/rest/service_stub.rb +120 -0
- data/lib/google/ads/data_manager/v1/partner_link_service/client.rb +1 -0
- data/lib/google/ads/data_manager/v1/partner_link_service/rest/client.rb +1 -0
- data/lib/google/ads/data_manager/v1/version.rb +1 -1
- data/lib/google/ads/datamanager/v1/ad_event_pb.rb +2 -1
- data/lib/google/ads/datamanager/v1/destination_pb.rb +1 -1
- data/lib/google/ads/datamanager/v1/error_pb.rb +1 -1
- data/lib/google/ads/datamanager/v1/event_pb.rb +1 -1
- data/lib/google/ads/datamanager/v1/ingestion_service_pb.rb +7 -1
- data/lib/google/ads/datamanager/v1/ingestion_service_services_pb.rb +13 -0
- data/lib/google/ads/datamanager/v1/user_pb.rb +25 -0
- data/proto_docs/google/ads/datamanager/v1/ad_event.rb +5 -0
- data/proto_docs/google/ads/datamanager/v1/destination.rb +7 -1
- data/proto_docs/google/ads/datamanager/v1/device_info.rb +1 -11
- data/proto_docs/google/ads/datamanager/v1/error.rb +20 -0
- data/proto_docs/google/ads/datamanager/v1/event.rb +8 -0
- data/proto_docs/google/ads/datamanager/v1/ingestion_service.rb +88 -20
- data/proto_docs/google/ads/datamanager/v1/partner_link_service.rb +1 -0
- data/proto_docs/google/ads/datamanager/v1/user.rb +40 -0
- metadata +3 -1
|
@@ -70,6 +70,36 @@ module Google
|
|
|
70
70
|
end
|
|
71
71
|
default_config = Client::Configuration.new parent_config
|
|
72
72
|
|
|
73
|
+
default_config.rpcs.ingest_audience_members.timeout = 120.0
|
|
74
|
+
default_config.rpcs.ingest_audience_members.retry_policy = {
|
|
75
|
+
initial_delay: 5.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
default_config.rpcs.remove_audience_members.timeout = 120.0
|
|
79
|
+
default_config.rpcs.remove_audience_members.retry_policy = {
|
|
80
|
+
initial_delay: 5.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
default_config.rpcs.ingest_events.timeout = 120.0
|
|
84
|
+
default_config.rpcs.ingest_events.retry_policy = {
|
|
85
|
+
initial_delay: 5.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
default_config.rpcs.ingest_users.timeout = 120.0
|
|
89
|
+
default_config.rpcs.ingest_users.retry_policy = {
|
|
90
|
+
initial_delay: 5.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
default_config.rpcs.remove_users.timeout = 120.0
|
|
94
|
+
default_config.rpcs.remove_users.retry_policy = {
|
|
95
|
+
initial_delay: 5.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
default_config.rpcs.retrieve_request_status.timeout = 60.0
|
|
99
|
+
default_config.rpcs.retrieve_request_status.retry_policy = {
|
|
100
|
+
initial_delay: 5.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
|
101
|
+
}
|
|
102
|
+
|
|
73
103
|
default_config
|
|
74
104
|
end
|
|
75
105
|
yield @configure if block_given?
|
|
@@ -208,13 +238,14 @@ module Google
|
|
|
208
238
|
# Optional. For testing purposes. If `true`, the request is validated but not
|
|
209
239
|
# executed. Only errors are returned, not results.
|
|
210
240
|
# @param encoding [::Google::Ads::DataManager::V1::Encoding]
|
|
211
|
-
# Optional.
|
|
212
|
-
# uploads. The encoding type
|
|
213
|
-
#
|
|
214
|
-
#
|
|
215
|
-
#
|
|
216
|
-
# hashed string could be encoded in a
|
|
217
|
-
# string. For non `UserData` uploads,
|
|
241
|
+
# Optional. Must be provided for
|
|
242
|
+
# {::Google::Ads::DataManager::V1::UserData UserData} uploads. The encoding type
|
|
243
|
+
# of the user identifiers. For hashed user identifiers, this is the encoding
|
|
244
|
+
# type of the hashed string. For encrypted hashed user identifiers, this is
|
|
245
|
+
# the encoding type of the outer encrypted string, but not necessarily the
|
|
246
|
+
# inner hashed string, meaning the inner hashed string could be encoded in a
|
|
247
|
+
# different way than the outer encrypted string. For non `UserData` uploads,
|
|
248
|
+
# this field is ignored.
|
|
218
249
|
# @param encryption_info [::Google::Ads::DataManager::V1::EncryptionInfo, ::Hash]
|
|
219
250
|
# Optional. Encryption information for
|
|
220
251
|
# {::Google::Ads::DataManager::V1::UserData UserData} uploads. If not set, it's
|
|
@@ -308,10 +339,10 @@ module Google
|
|
|
308
339
|
# Optional. For testing purposes. If `true`, the request is validated but not
|
|
309
340
|
# executed. Only errors are returned, not results.
|
|
310
341
|
# @param encoding [::Google::Ads::DataManager::V1::Encoding]
|
|
311
|
-
# Optional.
|
|
312
|
-
# uploads. The encoding type
|
|
313
|
-
#
|
|
314
|
-
# this field is ignored.
|
|
342
|
+
# Optional. Must be provided for
|
|
343
|
+
# {::Google::Ads::DataManager::V1::UserData UserData} uploads. The encoding type
|
|
344
|
+
# of the user identifiers. Applies to only the outer encoding for encrypted
|
|
345
|
+
# user identifiers. For non `UserData` uploads, this field is ignored.
|
|
315
346
|
# @param encryption_info [::Google::Ads::DataManager::V1::EncryptionInfo, ::Hash]
|
|
316
347
|
# Optional. Encryption information for
|
|
317
348
|
# {::Google::Ads::DataManager::V1::UserData UserData} uploads. If not set, it's
|
|
@@ -494,13 +525,14 @@ module Google
|
|
|
494
525
|
# Optional. For testing purposes. If `true`, the request is validated but not
|
|
495
526
|
# executed. Only errors are returned, not results.
|
|
496
527
|
# @param encoding [::Google::Ads::DataManager::V1::Encoding]
|
|
497
|
-
# Optional.
|
|
498
|
-
# uploads. The encoding type
|
|
499
|
-
#
|
|
500
|
-
#
|
|
501
|
-
#
|
|
502
|
-
# hashed string could be encoded in a
|
|
503
|
-
# string. For non `UserData` uploads,
|
|
528
|
+
# Optional. Must be provided for
|
|
529
|
+
# {::Google::Ads::DataManager::V1::UserData UserData} uploads. The encoding type
|
|
530
|
+
# of the user identifiers. For hashed user identifiers, this is the encoding
|
|
531
|
+
# type of the hashed string. For encrypted hashed user identifiers, this is
|
|
532
|
+
# the encoding type of the outer encrypted string, but not necessarily the
|
|
533
|
+
# inner hashed string, meaning the inner hashed string could be encoded in a
|
|
534
|
+
# different way than the outer encrypted string. For non `UserData` uploads,
|
|
535
|
+
# this field is ignored.
|
|
504
536
|
# @param encryption_info [::Google::Ads::DataManager::V1::EncryptionInfo, ::Hash]
|
|
505
537
|
# Optional. Encryption information for
|
|
506
538
|
# {::Google::Ads::DataManager::V1::UserData UserData} uploads. If not set, it's
|
|
@@ -564,6 +596,192 @@ module Google
|
|
|
564
596
|
raise ::Google::Cloud::Error.from_error(e)
|
|
565
597
|
end
|
|
566
598
|
|
|
599
|
+
##
|
|
600
|
+
# Uploads a list of users to the provided destinations. Unlike
|
|
601
|
+
# {::Google::Ads::DataManager::V1::IngestionService::Rest::Client#ingest_audience_members IngestAudienceMembers}
|
|
602
|
+
# (which adds users to specific advertiser audience lists for targeting),
|
|
603
|
+
# `IngestUsers` ingests account level identity linkage data (for example,
|
|
604
|
+
# user identifiers linked to mobile IDs) independent of specific audience
|
|
605
|
+
# segments.
|
|
606
|
+
#
|
|
607
|
+
# This feature is only available to accounts on an allowlist.
|
|
608
|
+
#
|
|
609
|
+
# @overload ingest_users(request, options = nil)
|
|
610
|
+
# Pass arguments to `ingest_users` via a request object, either of type
|
|
611
|
+
# {::Google::Ads::DataManager::V1::IngestUsersRequest} or an equivalent Hash.
|
|
612
|
+
#
|
|
613
|
+
# @param request [::Google::Ads::DataManager::V1::IngestUsersRequest, ::Hash]
|
|
614
|
+
# A request object representing the call parameters. Required. To specify no
|
|
615
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
616
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
617
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
618
|
+
#
|
|
619
|
+
# @overload ingest_users(destinations: nil, users: nil, encryption_info: nil, validate_only: nil, encoding: nil)
|
|
620
|
+
# Pass arguments to `ingest_users` via keyword arguments. Note that at
|
|
621
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
622
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
623
|
+
#
|
|
624
|
+
# @param destinations [::Array<::Google::Ads::DataManager::V1::Destination, ::Hash>]
|
|
625
|
+
# Required. The list of possible ingestion destinations.
|
|
626
|
+
# @param users [::Array<::Google::Ads::DataManager::V1::User, ::Hash>]
|
|
627
|
+
# Required. The list of users to ingest.
|
|
628
|
+
# @param encryption_info [::Google::Ads::DataManager::V1::EncryptionInfo, ::Hash]
|
|
629
|
+
# Optional. Encryption information about encryption keys which are used to
|
|
630
|
+
# encrypt the data.
|
|
631
|
+
# @param validate_only [::Boolean]
|
|
632
|
+
# Optional. If `true`, the request is validated but not executed.
|
|
633
|
+
# @param encoding [::Google::Ads::DataManager::V1::Encoding]
|
|
634
|
+
# Required. The encoding type of the user identifiers. For encrypted user
|
|
635
|
+
# identifiers, this only applies to the outer encoding.
|
|
636
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
637
|
+
# @yieldparam result [::Google::Ads::DataManager::V1::IngestUsersResponse]
|
|
638
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
639
|
+
#
|
|
640
|
+
# @return [::Google::Ads::DataManager::V1::IngestUsersResponse]
|
|
641
|
+
#
|
|
642
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
643
|
+
#
|
|
644
|
+
# @example Basic example
|
|
645
|
+
# require "google/ads/data_manager/v1"
|
|
646
|
+
#
|
|
647
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
648
|
+
# client = Google::Ads::DataManager::V1::IngestionService::Rest::Client.new
|
|
649
|
+
#
|
|
650
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
651
|
+
# request = Google::Ads::DataManager::V1::IngestUsersRequest.new
|
|
652
|
+
#
|
|
653
|
+
# # Call the ingest_users method.
|
|
654
|
+
# result = client.ingest_users request
|
|
655
|
+
#
|
|
656
|
+
# # The returned object is of type Google::Ads::DataManager::V1::IngestUsersResponse.
|
|
657
|
+
# p result
|
|
658
|
+
#
|
|
659
|
+
def ingest_users request, options = nil
|
|
660
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
661
|
+
|
|
662
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Ads::DataManager::V1::IngestUsersRequest
|
|
663
|
+
|
|
664
|
+
# Converts hash and nil to an options object
|
|
665
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
666
|
+
|
|
667
|
+
# Customize the options with defaults
|
|
668
|
+
call_metadata = @config.rpcs.ingest_users.metadata.to_h
|
|
669
|
+
|
|
670
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
671
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
672
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
673
|
+
gapic_version: ::Google::Ads::DataManager::V1::VERSION,
|
|
674
|
+
transports_version_send: [:rest]
|
|
675
|
+
|
|
676
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
677
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
678
|
+
|
|
679
|
+
options.apply_defaults timeout: @config.rpcs.ingest_users.timeout,
|
|
680
|
+
metadata: call_metadata,
|
|
681
|
+
retry_policy: @config.rpcs.ingest_users.retry_policy
|
|
682
|
+
|
|
683
|
+
options.apply_defaults timeout: @config.timeout,
|
|
684
|
+
metadata: @config.metadata,
|
|
685
|
+
retry_policy: @config.retry_policy
|
|
686
|
+
|
|
687
|
+
@ingestion_service_stub.ingest_users request, options do |result, operation|
|
|
688
|
+
yield result, operation if block_given?
|
|
689
|
+
end
|
|
690
|
+
rescue ::Gapic::Rest::Error => e
|
|
691
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
692
|
+
end
|
|
693
|
+
|
|
694
|
+
##
|
|
695
|
+
# Removes a list of users from the provided destinations.
|
|
696
|
+
#
|
|
697
|
+
# This feature is only available to accounts on an allowlist.
|
|
698
|
+
#
|
|
699
|
+
# @overload remove_users(request, options = nil)
|
|
700
|
+
# Pass arguments to `remove_users` via a request object, either of type
|
|
701
|
+
# {::Google::Ads::DataManager::V1::RemoveUsersRequest} or an equivalent Hash.
|
|
702
|
+
#
|
|
703
|
+
# @param request [::Google::Ads::DataManager::V1::RemoveUsersRequest, ::Hash]
|
|
704
|
+
# A request object representing the call parameters. Required. To specify no
|
|
705
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
706
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
707
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
708
|
+
#
|
|
709
|
+
# @overload remove_users(destinations: nil, user_data: nil, encryption_info: nil, validate_only: nil, encoding: nil)
|
|
710
|
+
# Pass arguments to `remove_users` via keyword arguments. Note that at
|
|
711
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
712
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
713
|
+
#
|
|
714
|
+
# @param destinations [::Array<::Google::Ads::DataManager::V1::Destination, ::Hash>]
|
|
715
|
+
# Required. The list of possible ingestion destinations.
|
|
716
|
+
# @param user_data [::Array<::Google::Ads::DataManager::V1::UserData, ::Hash>]
|
|
717
|
+
# Required. The individual bits of UserData that act as keys for the users to
|
|
718
|
+
# remove.
|
|
719
|
+
# @param encryption_info [::Google::Ads::DataManager::V1::EncryptionInfo, ::Hash]
|
|
720
|
+
# Optional. Encryption information about encryption keys which are used to
|
|
721
|
+
# encrypt the data.
|
|
722
|
+
# @param validate_only [::Boolean]
|
|
723
|
+
# Optional. If `true`, the request is validated but not executed.
|
|
724
|
+
# @param encoding [::Google::Ads::DataManager::V1::Encoding]
|
|
725
|
+
# Required. The encoding type of the user identifiers. For encrypted user
|
|
726
|
+
# identifiers, this only applies to the outer encoding.
|
|
727
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
728
|
+
# @yieldparam result [::Google::Ads::DataManager::V1::RemoveUsersResponse]
|
|
729
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
730
|
+
#
|
|
731
|
+
# @return [::Google::Ads::DataManager::V1::RemoveUsersResponse]
|
|
732
|
+
#
|
|
733
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
734
|
+
#
|
|
735
|
+
# @example Basic example
|
|
736
|
+
# require "google/ads/data_manager/v1"
|
|
737
|
+
#
|
|
738
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
739
|
+
# client = Google::Ads::DataManager::V1::IngestionService::Rest::Client.new
|
|
740
|
+
#
|
|
741
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
742
|
+
# request = Google::Ads::DataManager::V1::RemoveUsersRequest.new
|
|
743
|
+
#
|
|
744
|
+
# # Call the remove_users method.
|
|
745
|
+
# result = client.remove_users request
|
|
746
|
+
#
|
|
747
|
+
# # The returned object is of type Google::Ads::DataManager::V1::RemoveUsersResponse.
|
|
748
|
+
# p result
|
|
749
|
+
#
|
|
750
|
+
def remove_users request, options = nil
|
|
751
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
752
|
+
|
|
753
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Ads::DataManager::V1::RemoveUsersRequest
|
|
754
|
+
|
|
755
|
+
# Converts hash and nil to an options object
|
|
756
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
757
|
+
|
|
758
|
+
# Customize the options with defaults
|
|
759
|
+
call_metadata = @config.rpcs.remove_users.metadata.to_h
|
|
760
|
+
|
|
761
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
762
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
763
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
764
|
+
gapic_version: ::Google::Ads::DataManager::V1::VERSION,
|
|
765
|
+
transports_version_send: [:rest]
|
|
766
|
+
|
|
767
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
768
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
769
|
+
|
|
770
|
+
options.apply_defaults timeout: @config.rpcs.remove_users.timeout,
|
|
771
|
+
metadata: call_metadata,
|
|
772
|
+
retry_policy: @config.rpcs.remove_users.retry_policy
|
|
773
|
+
|
|
774
|
+
options.apply_defaults timeout: @config.timeout,
|
|
775
|
+
metadata: @config.metadata,
|
|
776
|
+
retry_policy: @config.retry_policy
|
|
777
|
+
|
|
778
|
+
@ingestion_service_stub.remove_users request, options do |result, operation|
|
|
779
|
+
yield result, operation if block_given?
|
|
780
|
+
end
|
|
781
|
+
rescue ::Gapic::Rest::Error => e
|
|
782
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
783
|
+
end
|
|
784
|
+
|
|
567
785
|
##
|
|
568
786
|
# Uploads a list of
|
|
569
787
|
# {::Google::Ads::DataManager::V1::AdEvent AdEvent} resources to Google
|
|
@@ -589,8 +807,9 @@ module Google
|
|
|
589
807
|
# @param ad_events [::Array<::Google::Ads::DataManager::V1::AdEvent, ::Hash>]
|
|
590
808
|
# Required. Required (at least 1). A list of ad events.
|
|
591
809
|
# @param encryption_info [::Google::Ads::DataManager::V1::EncryptionInfo, ::Hash]
|
|
592
|
-
#
|
|
593
|
-
# data.
|
|
810
|
+
# Optional. Information about encryption keys which are used to encrypt the
|
|
811
|
+
# data. This field must be provided when ad events contain
|
|
812
|
+
# {::Google::Ads::DataManager::V1::UserData UserData}.
|
|
594
813
|
# @param validate_only [::Boolean]
|
|
595
814
|
# Optional. If true, the request is validated, but not executed.
|
|
596
815
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -898,6 +1117,16 @@ module Google
|
|
|
898
1117
|
#
|
|
899
1118
|
attr_reader :ingest_events
|
|
900
1119
|
##
|
|
1120
|
+
# RPC-specific configuration for `ingest_users`
|
|
1121
|
+
# @return [::Gapic::Config::Method]
|
|
1122
|
+
#
|
|
1123
|
+
attr_reader :ingest_users
|
|
1124
|
+
##
|
|
1125
|
+
# RPC-specific configuration for `remove_users`
|
|
1126
|
+
# @return [::Gapic::Config::Method]
|
|
1127
|
+
#
|
|
1128
|
+
attr_reader :remove_users
|
|
1129
|
+
##
|
|
901
1130
|
# RPC-specific configuration for `ingest_ad_events`
|
|
902
1131
|
# @return [::Gapic::Config::Method]
|
|
903
1132
|
#
|
|
@@ -918,6 +1147,10 @@ module Google
|
|
|
918
1147
|
@remove_all_audience_members = ::Gapic::Config::Method.new remove_all_audience_members_config
|
|
919
1148
|
ingest_events_config = parent_rpcs.ingest_events if parent_rpcs.respond_to? :ingest_events
|
|
920
1149
|
@ingest_events = ::Gapic::Config::Method.new ingest_events_config
|
|
1150
|
+
ingest_users_config = parent_rpcs.ingest_users if parent_rpcs.respond_to? :ingest_users
|
|
1151
|
+
@ingest_users = ::Gapic::Config::Method.new ingest_users_config
|
|
1152
|
+
remove_users_config = parent_rpcs.remove_users if parent_rpcs.respond_to? :remove_users
|
|
1153
|
+
@remove_users = ::Gapic::Config::Method.new remove_users_config
|
|
921
1154
|
ingest_ad_events_config = parent_rpcs.ingest_ad_events if parent_rpcs.respond_to? :ingest_ad_events
|
|
922
1155
|
@ingest_ad_events = ::Gapic::Config::Method.new ingest_ad_events_config
|
|
923
1156
|
retrieve_request_status_config = parent_rpcs.retrieve_request_status if parent_rpcs.respond_to? :retrieve_request_status
|
|
@@ -233,6 +233,86 @@ module Google
|
|
|
233
233
|
end
|
|
234
234
|
end
|
|
235
235
|
|
|
236
|
+
##
|
|
237
|
+
# Baseline implementation for the ingest_users REST call
|
|
238
|
+
#
|
|
239
|
+
# @param request_pb [::Google::Ads::DataManager::V1::IngestUsersRequest]
|
|
240
|
+
# A request object representing the call parameters. Required.
|
|
241
|
+
# @param options [::Gapic::CallOptions]
|
|
242
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
243
|
+
#
|
|
244
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
245
|
+
# @yieldparam result [::Google::Ads::DataManager::V1::IngestUsersResponse]
|
|
246
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
247
|
+
#
|
|
248
|
+
# @return [::Google::Ads::DataManager::V1::IngestUsersResponse]
|
|
249
|
+
# A result object deserialized from the server's reply
|
|
250
|
+
def ingest_users request_pb, options = nil
|
|
251
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
252
|
+
|
|
253
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_ingest_users_request request_pb
|
|
254
|
+
query_string_params = if query_string_params.any?
|
|
255
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
256
|
+
else
|
|
257
|
+
{}
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
response = @client_stub.make_http_request(
|
|
261
|
+
verb,
|
|
262
|
+
uri: uri,
|
|
263
|
+
body: body || "",
|
|
264
|
+
params: query_string_params,
|
|
265
|
+
method_name: "ingest_users",
|
|
266
|
+
options: options
|
|
267
|
+
)
|
|
268
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
269
|
+
result = ::Google::Ads::DataManager::V1::IngestUsersResponse.decode_json response.body, ignore_unknown_fields: true
|
|
270
|
+
catch :response do
|
|
271
|
+
yield result, operation if block_given?
|
|
272
|
+
result
|
|
273
|
+
end
|
|
274
|
+
end
|
|
275
|
+
|
|
276
|
+
##
|
|
277
|
+
# Baseline implementation for the remove_users REST call
|
|
278
|
+
#
|
|
279
|
+
# @param request_pb [::Google::Ads::DataManager::V1::RemoveUsersRequest]
|
|
280
|
+
# A request object representing the call parameters. Required.
|
|
281
|
+
# @param options [::Gapic::CallOptions]
|
|
282
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
283
|
+
#
|
|
284
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
285
|
+
# @yieldparam result [::Google::Ads::DataManager::V1::RemoveUsersResponse]
|
|
286
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
287
|
+
#
|
|
288
|
+
# @return [::Google::Ads::DataManager::V1::RemoveUsersResponse]
|
|
289
|
+
# A result object deserialized from the server's reply
|
|
290
|
+
def remove_users request_pb, options = nil
|
|
291
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
292
|
+
|
|
293
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_remove_users_request request_pb
|
|
294
|
+
query_string_params = if query_string_params.any?
|
|
295
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
296
|
+
else
|
|
297
|
+
{}
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
response = @client_stub.make_http_request(
|
|
301
|
+
verb,
|
|
302
|
+
uri: uri,
|
|
303
|
+
body: body || "",
|
|
304
|
+
params: query_string_params,
|
|
305
|
+
method_name: "remove_users",
|
|
306
|
+
options: options
|
|
307
|
+
)
|
|
308
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
309
|
+
result = ::Google::Ads::DataManager::V1::RemoveUsersResponse.decode_json response.body, ignore_unknown_fields: true
|
|
310
|
+
catch :response do
|
|
311
|
+
yield result, operation if block_given?
|
|
312
|
+
result
|
|
313
|
+
end
|
|
314
|
+
end
|
|
315
|
+
|
|
236
316
|
##
|
|
237
317
|
# Baseline implementation for the ingest_ad_events REST call
|
|
238
318
|
#
|
|
@@ -393,6 +473,46 @@ module Google
|
|
|
393
473
|
transcoder.transcode request_pb
|
|
394
474
|
end
|
|
395
475
|
|
|
476
|
+
##
|
|
477
|
+
# @private
|
|
478
|
+
#
|
|
479
|
+
# GRPC transcoding helper method for the ingest_users REST call
|
|
480
|
+
#
|
|
481
|
+
# @param request_pb [::Google::Ads::DataManager::V1::IngestUsersRequest]
|
|
482
|
+
# A request object representing the call parameters. Required.
|
|
483
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
484
|
+
# Uri, Body, Query string parameters
|
|
485
|
+
def self.transcode_ingest_users_request request_pb
|
|
486
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
487
|
+
.with_bindings(
|
|
488
|
+
uri_method: :post,
|
|
489
|
+
uri_template: "/v1/users:ingest",
|
|
490
|
+
body: "*",
|
|
491
|
+
matches: []
|
|
492
|
+
)
|
|
493
|
+
transcoder.transcode request_pb
|
|
494
|
+
end
|
|
495
|
+
|
|
496
|
+
##
|
|
497
|
+
# @private
|
|
498
|
+
#
|
|
499
|
+
# GRPC transcoding helper method for the remove_users REST call
|
|
500
|
+
#
|
|
501
|
+
# @param request_pb [::Google::Ads::DataManager::V1::RemoveUsersRequest]
|
|
502
|
+
# A request object representing the call parameters. Required.
|
|
503
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
504
|
+
# Uri, Body, Query string parameters
|
|
505
|
+
def self.transcode_remove_users_request request_pb
|
|
506
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
507
|
+
.with_bindings(
|
|
508
|
+
uri_method: :post,
|
|
509
|
+
uri_template: "/v1/users:remove",
|
|
510
|
+
body: "*",
|
|
511
|
+
matches: []
|
|
512
|
+
)
|
|
513
|
+
transcoder.transcode request_pb
|
|
514
|
+
end
|
|
515
|
+
|
|
396
516
|
##
|
|
397
517
|
# @private
|
|
398
518
|
#
|
|
@@ -451,6 +451,7 @@ module Google
|
|
|
451
451
|
# feature set, the following fields are also supported:
|
|
452
452
|
#
|
|
453
453
|
# - `partner_customer_account.account_id`
|
|
454
|
+
# - `partner_link_metadata.implicit_accounts.account_id`
|
|
454
455
|
#
|
|
455
456
|
# Example:
|
|
456
457
|
# `owning_account.account_type = "GOOGLE_ADS" AND partner_account.account_id
|
|
@@ -430,6 +430,7 @@ module Google
|
|
|
430
430
|
# feature set, the following fields are also supported:
|
|
431
431
|
#
|
|
432
432
|
# - `partner_customer_account.account_id`
|
|
433
|
+
# - `partner_link_metadata.implicit_accounts.account_id`
|
|
433
434
|
#
|
|
434
435
|
# Example:
|
|
435
436
|
# `owning_account.account_type = "GOOGLE_ADS" AND partner_account.account_id
|
|
@@ -8,10 +8,11 @@ require 'google/ads/datamanager/v1/device_info_pb'
|
|
|
8
8
|
require 'google/ads/datamanager/v1/user_data_pb'
|
|
9
9
|
require 'google/ads/datamanager/v1/viewability_info_pb'
|
|
10
10
|
require 'google/api/field_behavior_pb'
|
|
11
|
+
require 'google/api/field_info_pb'
|
|
11
12
|
require 'google/protobuf/timestamp_pb'
|
|
12
13
|
|
|
13
14
|
|
|
14
|
-
descriptor_data = "\n(google/ads/datamanager/v1/ad_event.proto\x12\x19google.ads.datamanager.v1\x1a+google/ads/datamanager/v1/device_info.proto\x1a)google/ads/datamanager/v1/user_data.proto\x1a\x30google/ads/datamanager/v1/viewability_info.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
15
|
+
descriptor_data = "\n(google/ads/datamanager/v1/ad_event.proto\x12\x19google.ads.datamanager.v1\x1a+google/ads/datamanager/v1/device_info.proto\x1a)google/ads/datamanager/v1/user_data.proto\x1a\x30google/ads/datamanager/v1/viewability_info.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc1\x0e\n\x07\x41\x64\x45vent\x12\x1a\n\radvertiser_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x45\n\nevent_type\x18\x02 \x01(\x0e\x32,.google.ads.datamanager.v1.AdEvent.EventTypeB\x03\xe0\x41\x02\x12H\n\revent_subtype\x18\x03 \x01(\x0e\x32/.google.ads.datamanager.v1.AdEvent.EventSubtypeH\x00\x12\x1e\n\x14\x65vent_subtype_string\x18\x04 \x01(\tH\x00\x12\x32\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x15\n\x08\x65vent_id\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12;\n\tuser_data\x18\x07 \x01(\x0b\x32#.google.ads.datamanager.v1.UserDataB\x03\xe0\x41\x01\x12?\n\x0b\x64\x65vice_info\x18\x08 \x01(\x0b\x32%.google.ads.datamanager.v1.DeviceInfoB\x03\xe0\x41\x02\x12\x1f\n\nip_address\x18\" \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x04\x12\x1d\n\x10mobile_device_id\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x63\x61mpaign_id\x18\n \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rcampaign_name\x18\x0b \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x61\x64_group_id\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x61\x64_id\x18\r \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x07\x61\x64_type\x18\x0e \x01(\x0e\x32!.google.ads.datamanager.v1.AdTypeH\x01\x12\x18\n\x0e\x61\x64_type_string\x18\x0f \x01(\tH\x01\x12\x38\n\tad_format\x18\x10 \x01(\x0e\x32#.google.ads.datamanager.v1.AdFormatH\x02\x12\x1a\n\x10\x61\x64_format_string\x18\x11 \x01(\tH\x02\x12>\n\x0c\x61\x64_placement\x18\x12 \x01(\x0e\x32&.google.ads.datamanager.v1.AdPlacementH\x03\x12\x1d\n\x13\x61\x64_placement_string\x18\x13 \x01(\tH\x03\x12\x16\n\tad_height\x18\x14 \x01(\x05\x42\x03\xe0\x41\x01\x12\x15\n\x08\x61\x64_width\x18\x15 \x01(\x05\x42\x03\xe0\x41\x01\x12\x18\n\x0bregion_code\x18\x16 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06source\x18\x17 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06medium\x18\x18 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\x0etargeting_type\x18\x19 \x01(\x0e\x32(.google.ads.datamanager.v1.TargetingTypeH\x04\x12\x1f\n\x15targeting_type_string\x18\x1a \x01(\tH\x04\x12@\n\rplatform_type\x18\x1b \x01(\x0e\x32\'.google.ads.datamanager.v1.PlatformTypeH\x05\x12\x1e\n\x14platform_type_string\x18\x1c \x01(\tH\x05\x12\x37\n\x08platform\x18\x1d \x01(\x0e\x32#.google.ads.datamanager.v1.PlatformH\x06\x12\x19\n\x0fplatform_string\x18\x1e \x01(\tH\x06\x12I\n\x10\x61ttribution_hint\x18\x1f \x01(\x0e\x32*.google.ads.datamanager.v1.AttributionHintB\x03\xe0\x41\x01\x12I\n\x10viewability_info\x18 \x01(\x0b\x32*.google.ads.datamanager.v1.ViewabilityInfoB\x03\xe0\x41\x02\x12%\n\x13measurement_allowed\x18! \x01(\x08\x42\x03\xe0\x41\x01H\x07\x88\x01\x01\"R\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x45VENT_TYPE_VIEW\x10\x01\x12\x14\n\x10\x45VENT_TYPE_CLICK\x10\x02\"\xad\x01\n\x0c\x45ventSubtype\x12\x1d\n\x19\x45VENT_SUBTYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x45VENT_SUBTYPE_IMPRESSION\x10\x01\x12\x1e\n\x1a\x45VENT_SUBTYPE_ENGAGED_VIEW\x10\x02\x12\x1e\n\x1a\x45VENT_SUBTYPE_ONSITE_CLICK\x10\x03\x12 \n\x1c\x45VENT_SUBTYPE_OUTBOUND_CLICK\x10\x04\x42\x15\n\x13\x65vent_subtype_oneofB\x0f\n\rad_type_oneofB\x11\n\x0f\x61\x64_format_oneofB\x14\n\x12\x61\x64_placement_oneofB\x16\n\x14targeting_type_oneofB\x15\n\x13platform_type_oneofB\x10\n\x0eplatform_oneofB\x16\n\x14_measurement_allowed*\xab\x01\n\x06\x41\x64Type\x12\x17\n\x13\x41\x44_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x41\x44_TYPE_DISPLAY\x10\x01\x12\x10\n\x0c\x41\x44_TYPE_TEXT\x10\x02\x12\x11\n\rAD_TYPE_IMAGE\x10\x03\x12\x16\n\x12\x41\x44_TYPE_RICH_MEDIA\x10\x04\x12\x10\n\x0c\x41\x44_TYPE_HTML\x10\x05\x12\x11\n\rAD_TYPE_AUDIO\x10\x06\x12\x11\n\rAD_TYPE_VIDEO\x10\x07*\xdf\x03\n\x08\x41\x64\x46ormat\x12\x19\n\x15\x41\x44_FORMAT_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x41\x44_FORMAT_AR\x10\x01\x12\x13\n\x0f\x41\x44_FORMAT_AUDIO\x10\x02\x12\x14\n\x10\x41\x44_FORMAT_BANNER\x10\x03\x12\x14\n\x10\x41\x44_FORMAT_BUMPER\x10\x04\x12\x16\n\x12\x41\x44_FORMAT_CAROUSEL\x10\x05\x12\x18\n\x14\x41\x44_FORMAT_COLLECTION\x10\x06\x12\x13\n\x0f\x41\x44_FORMAT_IMAGE\x10\x07\x12\x19\n\x15\x41\x44_FORMAT_INTERACTIVE\x10\x08\x12\x1a\n\x16\x41\x44_FORMAT_INTERSTITIAL\x10\t\x12\x15\n\x11\x41\x44_FORMAT_IN_FEED\x10\n\x12\x17\n\x13\x41\x44_FORMAT_IN_STREAM\x10\x0b\x12!\n\x1d\x41\x44_FORMAT_IN_STREAM_SKIPPABLE\x10\x0c\x12%\n!AD_FORMAT_IN_STREAM_NON_SKIPPABLE\x10\r\x12\x14\n\x10\x41\x44_FORMAT_NATIVE\x10\x0e\x12\x14\n\x10\x41\x44_FORMAT_SHORTS\x10\x0f\x12\x13\n\x0f\x41\x44_FORMAT_STORY\x10\x10\x12\x17\n\x13\x41\x44_FORMAT_SPONSORED\x10\x11\x12\x13\n\x0f\x41\x44_FORMAT_VIDEO\x10\x12*\x8f\x02\n\x0b\x41\x64Placement\x12\x1c\n\x18\x41\x44_PLACEMENT_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41\x44_PLACEMENT_DISCOVER\x10\x01\x12\x15\n\x11\x41\x44_PLACEMENT_FEED\x10\x02\x12\x17\n\x13\x41\x44_PLACEMENT_FOOTER\x10\x03\x12\x17\n\x13\x41\x44_PLACEMENT_HEADER\x10\x04\x12\x15\n\x11\x41\x44_PLACEMENT_HOME\x10\x05\x12\x1b\n\x17\x41\x44_PLACEMENT_IN_CONTENT\x10\x06\x12\x19\n\x15\x41\x44_PLACEMENT_PROMOTED\x10\x07\x12\x17\n\x13\x41\x44_PLACEMENT_SEARCH\x10\x08\x12\x16\n\x12\x41\x44_PLACEMENT_STORY\x10\t*\x9f\x02\n\rTargetingType\x12\x1e\n\x1aTARGETING_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17TARGETING_TYPE_AUDIENCE\x10\x01\x12\x1d\n\x19TARGETING_TYPE_CONTEXTUAL\x10\x02\x12\x1e\n\x1aTARGETING_TYPE_DEMOGRAPHIC\x10\x03\x12\x19\n\x15TARGETING_TYPE_DEVICE\x10\x04\x12\x16\n\x12TARGETING_TYPE_GEO\x10\x05\x12\x1b\n\x17TARGETING_TYPE_INTEREST\x10\x06\x12\"\n\x1eTARGETING_TYPE_PURCHASE_INTENT\x10\x07\x12\x1e\n\x1aTARGETING_TYPE_REMARKETING\x10\x08*\xac\x01\n\x0cPlatformType\x12\x1d\n\x19PLATFORM_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14PLATFORM_TYPE_MOBILE\x10\x01\x12\x19\n\x15PLATFORM_TYPE_DESKTOP\x10\x02\x12\x15\n\x11PLATFORM_TYPE_CTV\x10\x03\x12\x17\n\x13PLATFORM_TYPE_PHONE\x10\x04\x12\x18\n\x14PLATFORM_TYPE_TABLET\x10\x05*^\n\x08Platform\x12\x18\n\x14PLATFORM_UNSPECIFIED\x10\x00\x12\x10\n\x0cPLATFORM_IOS\x10\x01\x12\x14\n\x10PLATFORM_ANDROID\x10\x02\x12\x10\n\x0cPLATFORM_WEB\x10\x03*w\n\x0f\x41ttributionHint\x12 \n\x1c\x41TTRIBUTION_HINT_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x41TTRIBUTION_HINT_CONVERTED\x10\x01\x12\"\n\x1e\x41TTRIBUTION_HINT_NOT_CONVERTED\x10\x02\x42\xc9\x01\n\x1d\x63om.google.ads.datamanager.v1B\x0c\x41\x64\x45ventProtoP\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"
|
|
15
16
|
|
|
16
17
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
17
18
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
|
8
8
|
require 'google/api/resource_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n+google/ads/datamanager/v1/destination.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.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\
|
|
11
|
+
descriptor_data = "\n+google/ads/datamanager/v1/destination.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.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\x01\"\xaf\x03\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\x02\"\xf8\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\x12\x1d\n\x19GOOGLE_ANALYTICS_PROPERTY\x10\x05\x12#\n\x1fGOOGLE_AD_MANAGER_AUDIENCE_LINK\x10\x06\x12\x15\n\x11\x46LOODLIGHT_CONFIG\x10\x07\x12\x15\n\x11GOOGLE_AD_MANAGER\x10\x08*\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\xa4\x02\n\x1d\x63om.google.ads.datamanager.v1B\x10\x44\x65stinationProtoP\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::V1\xea\x41T\n\"datamanager.googleapis.com/Account\x12.accountTypes/{account_type}/accounts/{account}b\x06proto3"
|
|
12
12
|
|
|
13
13
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
descriptor_data = "\n%google/ads/datamanager/v1/error.proto\x12\x19google.ads.datamanager.v1*\
|
|
8
|
+
descriptor_data = "\n%google/ads/datamanager/v1/error.proto\x12\x19google.ads.datamanager.v1*\xbf#\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\x1c\n\x14INVALID_COUNTRY_CODE\x10\r\x1a\x02\x08\x01\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\x32\n.UNSUPPORTED_OPERATING_ACCOUNT_FOR_DATA_PARTNER\x10%\x12/\n+UNSUPPORTED_LINKED_ACCOUNT_FOR_DATA_PARTNER\x10&\x12\x1b\n\x17NO_IDENTIFIERS_PROVIDED\x10\'\x12\x19\n\x15INVALID_PROPERTY_TYPE\x10(\x12\x17\n\x13INVALID_STREAM_TYPE\x10)\x12?\n;LINKED_ACCOUNT_ONLY_ALLOWED_WITH_DATA_PARTNER_LOGIN_ACCOUNT\x10*\x12,\n(OPERATING_ACCOUNT_LOGIN_ACCOUNT_MISMATCH\x10+\x12\x16\n\x12\x45VENT_TIME_INVALID\x10,\x12\x16\n\x12RESERVED_NAME_USED\x10-\x12\x16\n\x12INVALID_EVENT_NAME\x10.\x12\x13\n\x0fNOT_ALLOWLISTED\x10/\x12\x16\n\x12INVALID_REQUEST_ID\x10\x30\x12\x34\n0MULTIPLE_DESTINATIONS_FOR_GOOGLE_ANALYTICS_EVENT\x10\x31\x12\x18\n\x14\x46IELD_VALUE_TOO_LONG\x10\x32\x12\x19\n\x15\x46IELD_VALUE_TOO_SHORT\x10j\x12\x15\n\x11TOO_MANY_ELEMENTS\x10\x33\x12\x14\n\x10TOO_FEW_ELEMENTS\x10i\x12\x12\n\x0e\x41LREADY_EXISTS\x10\x34\x12\x1e\n\x1aIMMUTABLE_FIELD_FOR_UPDATE\x10\x35\x12\x19\n\x15INVALID_RESOURCE_NAME\x10\x36\x12\x12\n\x0eINVALID_FILTER\x10\x37\x12\x17\n\x13INVALID_UPDATE_MASK\x10\x38\x12\x16\n\x12INVALID_PAGE_TOKEN\x10\x39\x12\"\n\x1e\x43\x41NNOT_UPDATE_DISABLED_LICENSE\x10:\x12\x30\n,CANNOT_CREATE_LICENSE_FOR_SENSITIVE_USERLIST\x10;\x12\x15\n\x11INSUFFICIENT_COST\x10<\x12\x1a\n\x16\x43\x41NNOT_DISABLE_LICENSE\x10=\x12\x1d\n\x19INVALID_CLIENT_ACCOUNT_ID\x10>\x12\"\n\x1ePRICING_ONLY_ZERO_COST_ALLOWED\x10?\x12\x12\n\x0ePRICE_TOO_HIGH\x10@\x12*\n&CUSTOMER_NOT_ALLOWED_TO_CREATE_LICENSE\x10\x41\x12\x1c\n\x18INVALID_PRICING_END_DATE\x10\x42\x12?\n;CANNOT_LICENSE_LOGICAL_LIST_WITH_LICENSED_OR_SHARED_SEGMENT\x10\x43\x12\x1b\n\x17MISMATCHED_ACCOUNT_TYPE\x10\x44\x12\x31\n-MEDIA_SHARE_COST_NOT_ALLOWED_FOR_LICENSE_TYPE\x10\x45\x12\x34\n0MEDIA_SHARE_COST_NOT_ALLOWED_FOR_CLIENT_CUSTOMER\x10\x46\x12\x1c\n\x18INVALID_MEDIA_SHARE_COST\x10G\x12\x15\n\x11INVALID_COST_TYPE\x10H\x12;\n7MEDIA_SHARE_COST_NOT_ALLOWED_FOR_NON_COMMERCE_USER_LIST\x10I\x12\x18\n\x14MAX_COST_NOT_ALLOWED\x10J\x12\x33\n/COMMERCE_AUDIENCE_CAN_ONLY_BE_DIRECTLY_LICENSED\x10K\x12\x17\n\x13INVALID_DESCRIPTION\x10L\x12\x18\n\x14INVALID_DISPLAY_NAME\x10M\x12\x1d\n\x19\x44ISPLAY_NAME_ALREADY_USED\x10N\x12!\n\x1dOWNERSHIP_REQUIRED_FOR_UPDATE\x10O\x12$\n USER_LIST_MUTATION_NOT_SUPPORTED\x10P\x12!\n\x1dSENSITIVE_USER_LIST_IMMUTABLE\x10Q\x12#\n\x1f\x42ILLABLE_RECORD_COUNT_IMMUTABLE\x10R\x12\x1b\n\x17USER_LIST_NAME_RESERVED\x10S\x12\x30\n,ADVERTISER_NOT_ALLOWLISTED_FOR_UPLOADED_DATA\x10T\x12\'\n#UNSUPPORTED_PARTNER_AUDIENCE_SOURCE\x10U\x12 \n\x1c\x43OMMERCE_PARTNER_NOT_ALLOWED\x10V\x12%\n!UNSUPPORTED_PARTNER_AUDIENCE_INFO\x10W\x12\x30\n,PARTNER_MATCH_FOR_MANAGER_ACCOUNT_DISALLOWED\x10X\x12=\n9DATA_PARTNER_NOT_ALLOWLISTED_FOR_THIRD_PARTY_PARTNER_DATA\x10Y\x12\x1f\n\x1b\x41\x44VERTISER_TOS_NOT_ACCEPTED\x10Z\x12;\n7ADVERTISER_NOT_ALLOWLISTED_FOR_THIRD_PARTY_PARTNER_DATA\x10[\x12,\n(USER_LIST_TYPE_NOT_SUPPORTED_FOR_ACCOUNT\x10\\\x12\x1c\n\x18INVALID_COMMERCE_PARTNER\x10]\x12\x32\n.CUSTOMER_NOT_ALLOWLISTED_FOR_COMMERCE_AUDIENCE\x10^\x12*\n&UNSUPPORTED_USER_LIST_UPLOAD_KEY_TYPES\x10_\x12.\n*UNSUPPORTED_INGESTED_USER_LIST_INFO_CONFIG\x10`\x12\x30\n,UNSUPPORTED_ACCOUNT_TYPES_FOR_USER_LIST_TYPE\x10\x61\x12-\n)UNSUPPORTED_ACCOUNT_TYPE_FOR_PARTNER_LINK\x10\x62\x12 \n\x1cMEMBERSHIP_DURATION_TOO_LONG\x10\x63\x12\x17\n\x13INVALID_MERCHANT_ID\x10\x64\x12\x31\n-EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED\x10\x65\x12&\n\"ACCOUNT_INELIGIBLE_FOR_STORE_SALES\x10\x66\x12\'\n#INVALID_MERCHANT_FEED_LANGUAGE_CODE\x10g\x12\x17\n\x13INVALID_REGION_CODE\x10h\x12\x1c\n\x18INVALID_SUBDIVISION_CODE\x10k\x12\x1d\n\x19INVALID_SUBCONTINENT_CODE\x10l\x12\x1a\n\x16INVALID_CONTINENT_CODE\x10m\x12\x1b\n\x17INVALID_DEVICE_CATEGORY\x10n\x12\x32\n.BOTH_CLIENT_ID_AND_APP_INSTANCE_ID_NOT_ALLOWED\x10o\x12?\n;GOOGLE_ANALYTICS_SUBPROPERTY_OR_ROLLUP_PROPERTY_NOT_ALLOWED\x10p\x12%\n!THIRD_PARTY_USER_DATA_NOT_ALLOWED\x10q\x12\x17\n\x13INVALID_COUPON_CODE\x10r\x12)\n%EVENT_SOURCE_AND_DESTINATION_MISMATCH\x10s\x12%\n!DESTINATION_ACCOUNT_TYPE_MISMATCH\x10t\x12&\n\"CUSTOM_VARIABLE_VALUE_CONTAINS_PII\x10u\x12\x1f\n\x1b\x43USTOM_VARIABLE_NOT_ENABLED\x10v\x12!\n\x1dINVALID_CUSTOM_VARIABLE_VALUE\x10w\x12\x1d\n\x19\x43USTOM_VARIABLE_NOT_FOUND\x10x\x12\x12\n\x0eTOO_MANY_USERS\x10y\x12+\n\'BASELINE_LOCATION_AUTO_DETECTION_FAILED\x10z\x12\"\n\x1eINSIGHTS_MISSING_FOR_DIMENSION\x10{\x12&\n\"REQUIRED_PREREQUISITE_LINK_MISSING\x10|\x12\x1d\n\x19INVALID_REMOVE_AS_OF_TIME\x10}\x12\x13\n\x0fREQUEST_TOO_OLD\x10~\x12*\n&CONVERSION_ACTION_TOO_RECENTLY_CREATED\x10\x7f\x12&\n!INVALID_AD_IDENTIFIER_FOR_ACCOUNT\x10\x80\x01\x42\xc7\x01\n\x1d\x63om.google.ads.datamanager.v1B\nErrorProtoP\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
9
|
|
|
10
10
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
11
11
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -15,7 +15,7 @@ require 'google/api/field_behavior_pb'
|
|
|
15
15
|
require 'google/protobuf/timestamp_pb'
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
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\x31google/ads/datamanager/v1/encrypted_user_id.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\"\xff\t\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\"\n\x10\x63onversion_value\x18\t \x01(\x01\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\"\n\x10\x63onversion_count\x18\x17 \x01(\x01\x42\x03\xe0\x41\x01H\x01\x88\x01\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\x12\x17\n\nevent_name\x18\x10 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tclient_id\x18\x11 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07user_id\x18\x12 \x01(\tB\x03\xe0\x41\x01\x12S\n\x1b\x61\x64\x64itional_event_parameters\x18\x13 \x03(\x0b\x32).google.ads.datamanager.v1.EventParameterB\x03\xe0\x41\x01\x12G\n\x15third_party_user_data\x18\x14 \x01(\x0b\x32#.google.ads.datamanager.v1.UserDataB\x03\xe0\x41\x01\x12\x45\n\x0e\x65vent_location\x18\x15 \x01(\x0b\x32(.google.ads.datamanager.v1.EventLocationB\x03\xe0\x41\x01\x12\x1c\n\x0f\x61pp_instance_id\x18\x16 \x01(\tB\x03\xe0\x41\x01\x42\x13\n\x11_conversion_valueB\x13\n\x11_conversion_count\"\
|
|
18
|
+
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\x31google/ads/datamanager/v1/encrypted_user_id.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\"\xff\t\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\"\n\x10\x63onversion_value\x18\t \x01(\x01\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\"\n\x10\x63onversion_count\x18\x17 \x01(\x01\x42\x03\xe0\x41\x01H\x01\x88\x01\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\x12\x17\n\nevent_name\x18\x10 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tclient_id\x18\x11 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07user_id\x18\x12 \x01(\tB\x03\xe0\x41\x01\x12S\n\x1b\x61\x64\x64itional_event_parameters\x18\x13 \x03(\x0b\x32).google.ads.datamanager.v1.EventParameterB\x03\xe0\x41\x01\x12G\n\x15third_party_user_data\x18\x14 \x01(\x0b\x32#.google.ads.datamanager.v1.UserDataB\x03\xe0\x41\x01\x12\x45\n\x0e\x65vent_location\x18\x15 \x01(\x0b\x32(.google.ads.datamanager.v1.EventLocationB\x03\xe0\x41\x01\x12\x1c\n\x0f\x61pp_instance_id\x18\x16 \x01(\tB\x03\xe0\x41\x01\x42\x13\n\x11_conversion_valueB\x13\n\x11_conversion_count\"\x9d\x03\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\x12\x1d\n\x10mobile_device_id\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x64\x63lid\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rimpression_id\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08match_id\x18\t \x01(\tB\x03\xe0\x41\x01\x12K\n\x12\x65ncrypted_user_ids\x18\n \x03(\x0b\x32*.google.ads.datamanager.v1.EncryptedUserIdB\x03\xe0\x41\x01\x12\x11\n\x04ppid\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cvisitor_ppid\x18\x0c \x01(\tB\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\x0e\x45ventParameter\x12\x1b\n\x0eparameter_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xaf\x01\n\rEventLocation\x12\x15\n\x08store_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x63ity\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10subdivision_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bregion_code\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11subcontinent_code\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x63ontinent_code\x18\x06 \x01(\tB\x03\xe0\x41\x01*n\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\x0b\n\x07MESSAGE\x10\x06\x12\t\n\x05OTHER\x10\x05\x42\xc7\x01\n\x1d\x63om.google.ads.datamanager.v1B\nEventProtoP\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"
|
|
19
19
|
|
|
20
20
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
21
21
|
pool.add_serialized_file(descriptor_data)
|