google-ads-data_manager-v1 0.6.0 → 0.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84f1168536472299d08fb7dea078c6c604824e3d8b1e8e70aded2fcdafd85f1d
4
- data.tar.gz: 0e00e55cd43254ad4cea68a65e4ed8d6c25beb6b7bdad7fd187f3b248f69fd2b
3
+ metadata.gz: 1917d73d1f27158e244ef7b420959f33ff3eddc56693447480a1bdddb71b2128
4
+ data.tar.gz: ce9ff68f5942e02688dbeca34a8bcd456285d2dc64969974737e5318f1a76101
5
5
  SHA512:
6
- metadata.gz: bb3dad5bf908feb755fdb77c615454e23e040756e4b8a865018f6c4b4714429fb827d444d259f4418c10be87550f74498aee2b464aa251ac461d55e8588efa27
7
- data.tar.gz: 2bd4f4f513499bbc05818d8a154a419239470e9d081fae7192c3fb6d6b032dccc8e5b80df12b52865ec49aca08f22d057315d185f80e448a62f040c0923905f1
6
+ metadata.gz: 897587ce64d531710d66536c8d1f224f00e7dc22f969c8eb86e0effb9fcc1efc3840521582f09e7fcb0f4f4803f664e92a517b8c893544d81f396eb31687df4c
7
+ data.tar.gz: 8c6ab2d2da4bfa3a39855a01e9e020ec18aab7cb7172ce50ec4118c5725cf5bbe82ac46f03e9f1de05c4c5fffe54db9cb025d4366a14e33a23d973c53fe895e0
@@ -483,6 +483,92 @@ module Google
483
483
  raise ::Google::Cloud::Error.from_error(e)
484
484
  end
485
485
 
486
+ ##
487
+ # Uploads a list of
488
+ # {::Google::Ads::DataManager::V1::AdEvent AdEvent} resources to Google
489
+ # Analytics.
490
+ #
491
+ # This feature is only available to accounts on an allowlist.
492
+ #
493
+ # @overload ingest_ad_events(request, options = nil)
494
+ # Pass arguments to `ingest_ad_events` via a request object, either of type
495
+ # {::Google::Ads::DataManager::V1::IngestAdEventsRequest} or an equivalent Hash.
496
+ #
497
+ # @param request [::Google::Ads::DataManager::V1::IngestAdEventsRequest, ::Hash]
498
+ # A request object representing the call parameters. Required. To specify no
499
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
500
+ # @param options [::Gapic::CallOptions, ::Hash]
501
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
502
+ #
503
+ # @overload ingest_ad_events(ad_events: nil, encryption_info: nil, validate_only: nil)
504
+ # Pass arguments to `ingest_ad_events` via keyword arguments. Note that at
505
+ # least one keyword argument is required. To specify no parameters, or to keep all
506
+ # the default parameter values, pass an empty Hash as a request object (see above).
507
+ #
508
+ # @param ad_events [::Array<::Google::Ads::DataManager::V1::AdEvent, ::Hash>]
509
+ # Required. Required (at least 1). A list of ad events.
510
+ # @param encryption_info [::Google::Ads::DataManager::V1::EncryptionInfo, ::Hash]
511
+ # Optional. Information about encryption keys which are used to encrypt the
512
+ # data.
513
+ # @param validate_only [::Boolean]
514
+ # Optional. If true, the request is validated, but not executed.
515
+ #
516
+ # @yield [response, operation] Access the result along with the RPC operation
517
+ # @yieldparam response [::Google::Ads::DataManager::V1::IngestAdEventsResponse]
518
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
519
+ #
520
+ # @return [::Google::Ads::DataManager::V1::IngestAdEventsResponse]
521
+ #
522
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
523
+ #
524
+ # @example Basic example
525
+ # require "google/ads/data_manager/v1"
526
+ #
527
+ # # Create a client object. The client can be reused for multiple calls.
528
+ # client = Google::Ads::DataManager::V1::IngestionService::Client.new
529
+ #
530
+ # # Create a request. To set request fields, pass in keyword arguments.
531
+ # request = Google::Ads::DataManager::V1::IngestAdEventsRequest.new
532
+ #
533
+ # # Call the ingest_ad_events method.
534
+ # result = client.ingest_ad_events request
535
+ #
536
+ # # The returned object is of type Google::Ads::DataManager::V1::IngestAdEventsResponse.
537
+ # p result
538
+ #
539
+ def ingest_ad_events request, options = nil
540
+ raise ::ArgumentError, "request must be provided" if request.nil?
541
+
542
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Ads::DataManager::V1::IngestAdEventsRequest
543
+
544
+ # Converts hash and nil to an options object
545
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
546
+
547
+ # Customize the options with defaults
548
+ metadata = @config.rpcs.ingest_ad_events.metadata.to_h
549
+
550
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
551
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
552
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
553
+ gapic_version: ::Google::Ads::DataManager::V1::VERSION
554
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
555
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
556
+
557
+ options.apply_defaults timeout: @config.rpcs.ingest_ad_events.timeout,
558
+ metadata: metadata,
559
+ retry_policy: @config.rpcs.ingest_ad_events.retry_policy
560
+
561
+ options.apply_defaults timeout: @config.timeout,
562
+ metadata: @config.metadata,
563
+ retry_policy: @config.retry_policy
564
+
565
+ @ingestion_service_stub.call_rpc :ingest_ad_events, request, options: options do |response, operation|
566
+ yield response, operation if block_given?
567
+ end
568
+ rescue ::GRPC::BadStatus => e
569
+ raise ::Google::Cloud::Error.from_error(e)
570
+ end
571
+
486
572
  ##
487
573
  # Gets the status of a request given request id.
488
574
  #
@@ -761,6 +847,11 @@ module Google
761
847
  #
762
848
  attr_reader :ingest_events
763
849
  ##
850
+ # RPC-specific configuration for `ingest_ad_events`
851
+ # @return [::Gapic::Config::Method]
852
+ #
853
+ attr_reader :ingest_ad_events
854
+ ##
764
855
  # RPC-specific configuration for `retrieve_request_status`
765
856
  # @return [::Gapic::Config::Method]
766
857
  #
@@ -774,6 +865,8 @@ module Google
774
865
  @remove_audience_members = ::Gapic::Config::Method.new remove_audience_members_config
775
866
  ingest_events_config = parent_rpcs.ingest_events if parent_rpcs.respond_to? :ingest_events
776
867
  @ingest_events = ::Gapic::Config::Method.new ingest_events_config
868
+ ingest_ad_events_config = parent_rpcs.ingest_ad_events if parent_rpcs.respond_to? :ingest_ad_events
869
+ @ingest_ad_events = ::Gapic::Config::Method.new ingest_ad_events_config
777
870
  retrieve_request_status_config = parent_rpcs.retrieve_request_status if parent_rpcs.respond_to? :retrieve_request_status
778
871
  @retrieve_request_status = ::Gapic::Config::Method.new retrieve_request_status_config
779
872
 
@@ -479,6 +479,93 @@ module Google
479
479
  raise ::Google::Cloud::Error.from_error(e)
480
480
  end
481
481
 
482
+ ##
483
+ # Uploads a list of
484
+ # {::Google::Ads::DataManager::V1::AdEvent AdEvent} resources to Google
485
+ # Analytics.
486
+ #
487
+ # This feature is only available to accounts on an allowlist.
488
+ #
489
+ # @overload ingest_ad_events(request, options = nil)
490
+ # Pass arguments to `ingest_ad_events` via a request object, either of type
491
+ # {::Google::Ads::DataManager::V1::IngestAdEventsRequest} or an equivalent Hash.
492
+ #
493
+ # @param request [::Google::Ads::DataManager::V1::IngestAdEventsRequest, ::Hash]
494
+ # A request object representing the call parameters. Required. To specify no
495
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
496
+ # @param options [::Gapic::CallOptions, ::Hash]
497
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
498
+ #
499
+ # @overload ingest_ad_events(ad_events: nil, encryption_info: nil, validate_only: nil)
500
+ # Pass arguments to `ingest_ad_events` via keyword arguments. Note that at
501
+ # least one keyword argument is required. To specify no parameters, or to keep all
502
+ # the default parameter values, pass an empty Hash as a request object (see above).
503
+ #
504
+ # @param ad_events [::Array<::Google::Ads::DataManager::V1::AdEvent, ::Hash>]
505
+ # Required. Required (at least 1). A list of ad events.
506
+ # @param encryption_info [::Google::Ads::DataManager::V1::EncryptionInfo, ::Hash]
507
+ # Optional. Information about encryption keys which are used to encrypt the
508
+ # data.
509
+ # @param validate_only [::Boolean]
510
+ # Optional. If true, the request is validated, but not executed.
511
+ # @yield [result, operation] Access the result along with the TransportOperation object
512
+ # @yieldparam result [::Google::Ads::DataManager::V1::IngestAdEventsResponse]
513
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
514
+ #
515
+ # @return [::Google::Ads::DataManager::V1::IngestAdEventsResponse]
516
+ #
517
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
518
+ #
519
+ # @example Basic example
520
+ # require "google/ads/data_manager/v1"
521
+ #
522
+ # # Create a client object. The client can be reused for multiple calls.
523
+ # client = Google::Ads::DataManager::V1::IngestionService::Rest::Client.new
524
+ #
525
+ # # Create a request. To set request fields, pass in keyword arguments.
526
+ # request = Google::Ads::DataManager::V1::IngestAdEventsRequest.new
527
+ #
528
+ # # Call the ingest_ad_events method.
529
+ # result = client.ingest_ad_events request
530
+ #
531
+ # # The returned object is of type Google::Ads::DataManager::V1::IngestAdEventsResponse.
532
+ # p result
533
+ #
534
+ def ingest_ad_events request, options = nil
535
+ raise ::ArgumentError, "request must be provided" if request.nil?
536
+
537
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Ads::DataManager::V1::IngestAdEventsRequest
538
+
539
+ # Converts hash and nil to an options object
540
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
541
+
542
+ # Customize the options with defaults
543
+ call_metadata = @config.rpcs.ingest_ad_events.metadata.to_h
544
+
545
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
546
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
547
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
548
+ gapic_version: ::Google::Ads::DataManager::V1::VERSION,
549
+ transports_version_send: [:rest]
550
+
551
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
552
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
553
+
554
+ options.apply_defaults timeout: @config.rpcs.ingest_ad_events.timeout,
555
+ metadata: call_metadata,
556
+ retry_policy: @config.rpcs.ingest_ad_events.retry_policy
557
+
558
+ options.apply_defaults timeout: @config.timeout,
559
+ metadata: @config.metadata,
560
+ retry_policy: @config.retry_policy
561
+
562
+ @ingestion_service_stub.ingest_ad_events request, options do |result, operation|
563
+ yield result, operation if block_given?
564
+ end
565
+ rescue ::Gapic::Rest::Error => e
566
+ raise ::Google::Cloud::Error.from_error(e)
567
+ end
568
+
482
569
  ##
483
570
  # Gets the status of a request given request id.
484
571
  #
@@ -721,6 +808,11 @@ module Google
721
808
  #
722
809
  attr_reader :ingest_events
723
810
  ##
811
+ # RPC-specific configuration for `ingest_ad_events`
812
+ # @return [::Gapic::Config::Method]
813
+ #
814
+ attr_reader :ingest_ad_events
815
+ ##
724
816
  # RPC-specific configuration for `retrieve_request_status`
725
817
  # @return [::Gapic::Config::Method]
726
818
  #
@@ -734,6 +826,8 @@ module Google
734
826
  @remove_audience_members = ::Gapic::Config::Method.new remove_audience_members_config
735
827
  ingest_events_config = parent_rpcs.ingest_events if parent_rpcs.respond_to? :ingest_events
736
828
  @ingest_events = ::Gapic::Config::Method.new ingest_events_config
829
+ ingest_ad_events_config = parent_rpcs.ingest_ad_events if parent_rpcs.respond_to? :ingest_ad_events
830
+ @ingest_ad_events = ::Gapic::Config::Method.new ingest_ad_events_config
737
831
  retrieve_request_status_config = parent_rpcs.retrieve_request_status if parent_rpcs.respond_to? :retrieve_request_status
738
832
  @retrieve_request_status = ::Gapic::Config::Method.new retrieve_request_status_config
739
833
 
@@ -193,6 +193,46 @@ module Google
193
193
  end
194
194
  end
195
195
 
196
+ ##
197
+ # Baseline implementation for the ingest_ad_events REST call
198
+ #
199
+ # @param request_pb [::Google::Ads::DataManager::V1::IngestAdEventsRequest]
200
+ # A request object representing the call parameters. Required.
201
+ # @param options [::Gapic::CallOptions]
202
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
203
+ #
204
+ # @yield [result, operation] Access the result along with the TransportOperation object
205
+ # @yieldparam result [::Google::Ads::DataManager::V1::IngestAdEventsResponse]
206
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
207
+ #
208
+ # @return [::Google::Ads::DataManager::V1::IngestAdEventsResponse]
209
+ # A result object deserialized from the server's reply
210
+ def ingest_ad_events request_pb, options = nil
211
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
212
+
213
+ verb, uri, query_string_params, body = ServiceStub.transcode_ingest_ad_events_request request_pb
214
+ query_string_params = if query_string_params.any?
215
+ query_string_params.to_h { |p| p.split "=", 2 }
216
+ else
217
+ {}
218
+ end
219
+
220
+ response = @client_stub.make_http_request(
221
+ verb,
222
+ uri: uri,
223
+ body: body || "",
224
+ params: query_string_params,
225
+ method_name: "ingest_ad_events",
226
+ options: options
227
+ )
228
+ operation = ::Gapic::Rest::TransportOperation.new response
229
+ result = ::Google::Ads::DataManager::V1::IngestAdEventsResponse.decode_json response.body, ignore_unknown_fields: true
230
+ catch :response do
231
+ yield result, operation if block_given?
232
+ result
233
+ end
234
+ end
235
+
196
236
  ##
197
237
  # Baseline implementation for the retrieve_request_status REST call
198
238
  #
@@ -293,6 +333,26 @@ module Google
293
333
  transcoder.transcode request_pb
294
334
  end
295
335
 
336
+ ##
337
+ # @private
338
+ #
339
+ # GRPC transcoding helper method for the ingest_ad_events REST call
340
+ #
341
+ # @param request_pb [::Google::Ads::DataManager::V1::IngestAdEventsRequest]
342
+ # A request object representing the call parameters. Required.
343
+ # @return [Array(String, [String, nil], Hash{String => String})]
344
+ # Uri, Body, Query string parameters
345
+ def self.transcode_ingest_ad_events_request request_pb
346
+ transcoder = Gapic::Rest::GrpcTranscoder.new
347
+ .with_bindings(
348
+ uri_method: :post,
349
+ uri_template: "/v1/adEvents:ingest",
350
+ body: "*",
351
+ matches: []
352
+ )
353
+ transcoder.transcode request_pb
354
+ end
355
+
296
356
  ##
297
357
  # @private
298
358
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Ads
22
22
  module DataManager
23
23
  module V1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/datamanager/v1/ad_event.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/ads/datamanager/v1/device_info_pb'
8
+ require 'google/ads/datamanager/v1/user_data_pb'
9
+ require 'google/ads/datamanager/v1/viewability_info_pb'
10
+ require 'google/api/field_behavior_pb'
11
+ require 'google/protobuf/timestamp_pb'
12
+
13
+
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\"\xa0\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\x01\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\x02\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
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
17
+ pool.add_serialized_file(descriptor_data)
18
+
19
+ module Google
20
+ module Ads
21
+ module DataManager
22
+ module V1
23
+ AdEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.AdEvent").msgclass
24
+ AdEvent::EventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.AdEvent.EventType").enummodule
25
+ AdEvent::EventSubtype = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.AdEvent.EventSubtype").enummodule
26
+ AdType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.AdType").enummodule
27
+ AdFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.AdFormat").enummodule
28
+ AdPlacement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.AdPlacement").enummodule
29
+ TargetingType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.TargetingType").enummodule
30
+ PlatformType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PlatformType").enummodule
31
+ Platform = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.Platform").enummodule
32
+ AttributionHint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.AttributionHint").enummodule
33
+ end
34
+ end
35
+ end
36
+ end
@@ -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\x02\"\x98\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\x01\"\xe1\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*\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"
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\x02\"\x98\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\"\xe1\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*\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,9 +5,10 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/field_behavior_pb'
8
+ require 'google/api/field_info_pb'
8
9
 
9
10
 
10
- descriptor_data = "\n+google/ads/datamanager/v1/device_info.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xca\x02\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\x12\x15\n\x08\x63\x61tegory\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rscreen_height\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x19\n\x0cscreen_width\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1d\n\x10operating_system\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18operating_system_version\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05model\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x62rand\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07\x62rowser\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0f\x62rowser_version\x18\x0c \x01(\tB\x03\xe0\x41\x01\x42\xcc\x01\n\x1d\x63om.google.ads.datamanager.v1B\x0f\x44\x65viceInfoProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
11
+ descriptor_data = "\n+google/ads/datamanager/v1/device_info.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\"\xd2\x02\n\nDeviceInfo\x12\x17\n\nuser_agent\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\nip_address\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x04\x12\x15\n\x08\x63\x61tegory\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rscreen_height\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x19\n\x0cscreen_width\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1d\n\x10operating_system\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18operating_system_version\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05model\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x62rand\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07\x62rowser\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0f\x62rowser_version\x18\x0c \x01(\tB\x03\xe0\x41\x01\x42\xcc\x01\n\x1d\x63om.google.ads.datamanager.v1B\x0f\x44\x65viceInfoProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
11
12
 
12
13
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
14
  pool.add_serialized_file(descriptor_data)
@@ -7,7 +7,7 @@ require 'google/protobuf'
7
7
  require 'google/api/field_behavior_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n/google/ads/datamanager/v1/encryption_info.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xbb\x01\n\x0e\x45ncryptionInfo\x12L\n\x14gcp_wrapped_key_info\x18\x01 \x01(\x0b\x32,.google.ads.datamanager.v1.GcpWrappedKeyInfoH\x00\x12L\n\x14\x61ws_wrapped_key_info\x18\x02 \x01(\x0b\x32,.google.ads.datamanager.v1.AwsWrappedKeyInfoH\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\"\xe6\x01\n\x11\x41wsWrappedKeyInfo\x12K\n\x08key_type\x18\x01 \x01(\x0e\x32\x34.google.ads.datamanager.v1.AwsWrappedKeyInfo.KeyTypeB\x03\xe0\x41\x02\x12\x15\n\x08role_arn\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\xd0\x01\n\x1d\x63om.google.ads.datamanager.v1B\x13\x45ncryptionInfoProtoP\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"
10
+ descriptor_data = "\n/google/ads/datamanager/v1/encryption_info.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\"\x8a\x02\n\x0e\x45ncryptionInfo\x12L\n\x14gcp_wrapped_key_info\x18\x01 \x01(\x0b\x32,.google.ads.datamanager.v1.GcpWrappedKeyInfoH\x00\x12L\n\x14\x61ws_wrapped_key_info\x18\x02 \x01(\x0b\x32,.google.ads.datamanager.v1.AwsWrappedKeyInfoH\x00\x12M\n\x14\x63oordinator_key_info\x18\x03 \x01(\x0b\x32-.google.ads.datamanager.v1.CoordinatorKeyInfoH\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\"\xe6\x01\n\x11\x41wsWrappedKeyInfo\x12K\n\x08key_type\x18\x01 \x01(\x0e\x32\x34.google.ads.datamanager.v1.AwsWrappedKeyInfo.KeyTypeB\x03\xe0\x41\x02\x12\x15\n\x08role_arn\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\")\n\x12\x43oordinatorKeyInfo\x12\x13\n\x06key_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\xd0\x01\n\x1d\x63om.google.ads.datamanager.v1B\x13\x45ncryptionInfoProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
11
11
 
12
12
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
13
  pool.add_serialized_file(descriptor_data)
@@ -21,6 +21,7 @@ module Google
21
21
  GcpWrappedKeyInfo::KeyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.GcpWrappedKeyInfo.KeyType").enummodule
22
22
  AwsWrappedKeyInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.AwsWrappedKeyInfo").msgclass
23
23
  AwsWrappedKeyInfo::KeyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.AwsWrappedKeyInfo.KeyType").enummodule
24
+ CoordinatorKeyInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.CoordinatorKeyInfo").msgclass
24
25
  end
25
26
  end
26
27
  end
@@ -4,6 +4,7 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
+ require 'google/ads/datamanager/v1/ad_event_pb'
7
8
  require 'google/ads/datamanager/v1/audience_pb'
8
9
  require 'google/ads/datamanager/v1/consent_pb'
9
10
  require 'google/ads/datamanager/v1/destination_pb'
@@ -16,7 +17,7 @@ require 'google/api/client_pb'
16
17
  require 'google/api/field_behavior_pb'
17
18
 
18
19
 
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\xd2\x01\n\x1d\x63om.google.ads.datamanager.v1B\x15IngestionServiceProtoP\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"
20
+ descriptor_data = "\n1google/ads/datamanager/v1/ingestion_service.proto\x12\x19google.ads.datamanager.v1\x1a(google/ads/datamanager/v1/ad_event.proto\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\"\xb8\x01\n\x15IngestAdEventsRequest\x12:\n\tad_events\x18\x01 \x03(\x0b\x32\".google.ads.datamanager.v1.AdEventB\x03\xe0\x41\x02\x12G\n\x0f\x65ncryption_info\x18\x02 \x01(\x0b\x32).google.ads.datamanager.v1.EncryptionInfoB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x18\n\x16IngestAdEventsResponse\"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\xa0\x07\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\x95\x01\n\x0eIngestAdEvents\x12\x30.google.ads.datamanager.v1.IngestAdEventsRequest\x1a\x31.google.ads.datamanager.v1.IngestAdEventsResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\"\x13/v1/adEvents: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\xd2\x01\n\x1d\x63om.google.ads.datamanager.v1B\x15IngestionServiceProtoP\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"
20
21
 
21
22
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
22
23
  pool.add_serialized_file(descriptor_data)
@@ -31,6 +32,8 @@ module Google
31
32
  RemoveAudienceMembersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RemoveAudienceMembersResponse").msgclass
32
33
  IngestEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestEventsRequest").msgclass
33
34
  IngestEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestEventsResponse").msgclass
35
+ IngestAdEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestAdEventsRequest").msgclass
36
+ IngestAdEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestAdEventsResponse").msgclass
34
37
  RetrieveRequestStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RetrieveRequestStatusRequest").msgclass
35
38
  RetrieveRequestStatusResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RetrieveRequestStatusResponse").msgclass
36
39
  Encoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.Encoding").enummodule
@@ -45,6 +45,12 @@ module Google
45
45
  # [Event][google.ads.datamanager.v1.Event] resources from
46
46
  # the provided [Destination][google.ads.datamanager.v1.Destination].
47
47
  rpc :IngestEvents, ::Google::Ads::DataManager::V1::IngestEventsRequest, ::Google::Ads::DataManager::V1::IngestEventsResponse
48
+ # Uploads a list of
49
+ # [AdEvent][google.ads.datamanager.v1.AdEvent] resources to Google
50
+ # Analytics.
51
+ #
52
+ # This feature is only available to accounts on an allowlist.
53
+ rpc :IngestAdEvents, ::Google::Ads::DataManager::V1::IngestAdEventsRequest, ::Google::Ads::DataManager::V1::IngestAdEventsResponse
48
54
  # Gets the status of a request given request id.
49
55
  rpc :RetrieveRequestStatus, ::Google::Ads::DataManager::V1::RetrieveRequestStatusRequest, ::Google::Ads::DataManager::V1::RetrieveRequestStatusResponse
50
56
  end
@@ -12,7 +12,7 @@ require 'google/api/resource_pb'
12
12
  require 'google/protobuf/empty_pb'
13
13
 
14
14
 
15
- descriptor_data = "\n4google/ads/datamanager/v1/partner_link_service.proto\x12\x19google.ads.datamanager.v1\x1a+google/ads/datamanager/v1/destination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x9d\x01\n\x18\x43reatePartnerLinkRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&datamanager.googleapis.com/PartnerLink\x12\x41\n\x0cpartner_link\x18\x02 \x01(\x0b\x32&.google.ads.datamanager.v1.PartnerLinkB\x03\xe0\x41\x02\"X\n\x18\x44\x65letePartnerLinkRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&datamanager.googleapis.com/PartnerLink\"\x97\x01\n\x19SearchPartnerLinksRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&datamanager.googleapis.com/PartnerLink\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"t\n\x1aSearchPartnerLinksResponse\x12=\n\rpartner_links\x18\x01 \x03(\x0b\x32&.google.ads.datamanager.v1.PartnerLink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe5\x02\n\x0bPartnerLink\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1c\n\x0fpartner_link_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x0eowning_account\x18\x03 \x01(\x0b\x32).google.ads.datamanager.v1.ProductAccountB\x03\xe0\x41\x02\x12G\n\x0fpartner_account\x18\x04 \x01(\x0b\x32).google.ads.datamanager.v1.ProductAccountB\x03\xe0\x41\x02:\x93\x01\xea\x41\x8f\x01\n&datamanager.googleapis.com/PartnerLink\x12JaccountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}*\x0cpartnerLinks2\x0bpartnerLink2\xe6\x05\n\x12PartnerLinkService\x12\xd1\x01\n\x11\x43reatePartnerLink\x12\x33.google.ads.datamanager.v1.CreatePartnerLinkRequest\x1a&.google.ads.datamanager.v1.PartnerLink\"_\xda\x41\x13parent,partner_link\x82\xd3\xe4\x93\x02\x43\"3/v1/{parent=accountTypes/*/accounts/*}/partnerLinks:\x0cpartner_link\x12\xa4\x01\n\x11\x44\x65letePartnerLink\x12\x33.google.ads.datamanager.v1.DeletePartnerLinkRequest\x1a\x16.google.protobuf.Empty\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=accountTypes/*/accounts/*/partnerLinks/*}\x12\xce\x01\n\x12SearchPartnerLinks\x12\x34.google.ads.datamanager.v1.SearchPartnerLinksRequest\x1a\x35.google.ads.datamanager.v1.SearchPartnerLinksResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=accountTypes/*/accounts/*}/partnerLinks:search\x1a\x83\x01\xca\x41\x1a\x64\x61tamanager.googleapis.com\xd2\x41\x63https://www.googleapis.com/auth/datamanager,https://www.googleapis.com/auth/datamanager.partnerlinkB\xd4\x01\n\x1d\x63om.google.ads.datamanager.v1B\x17PartnerLinkServiceProtoP\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
+ descriptor_data = "\n4google/ads/datamanager/v1/partner_link_service.proto\x12\x19google.ads.datamanager.v1\x1a+google/ads/datamanager/v1/destination.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x9d\x01\n\x18\x43reatePartnerLinkRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&datamanager.googleapis.com/PartnerLink\x12\x41\n\x0cpartner_link\x18\x02 \x01(\x0b\x32&.google.ads.datamanager.v1.PartnerLinkB\x03\xe0\x41\x02\"X\n\x18\x44\x65letePartnerLinkRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&datamanager.googleapis.com/PartnerLink\"\x97\x01\n\x19SearchPartnerLinksRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&datamanager.googleapis.com/PartnerLink\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"t\n\x1aSearchPartnerLinksResponse\x12=\n\rpartner_links\x18\x01 \x03(\x0b\x32&.google.ads.datamanager.v1.PartnerLink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xd7\x04\n\x0bPartnerLink\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1c\n\x0fpartner_link_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x0eowning_account\x18\x03 \x01(\x0b\x32).google.ads.datamanager.v1.ProductAccountB\x03\xe0\x41\x02\x12G\n\x0fpartner_account\x18\x04 \x01(\x0b\x32).google.ads.datamanager.v1.ProductAccountB\x03\xe0\x41\x02\x12\x42\n\x0b\x66\x65\x61ture_set\x18\x05 \x01(\x0e\x32%.google.ads.datamanager.v1.FeatureSetB\x06\xe0\x41\x01\xe0\x41\x05\x12X\n\x18partner_customer_account\x18\x06 \x01(\x0b\x32\x31.google.ads.datamanager.v1.PartnerCustomerAccountB\x03\xe0\x41\x01\x12R\n\x15partner_link_metadata\x18\x07 \x01(\x0b\x32..google.ads.datamanager.v1.PartnerLinkMetadataB\x03\xe0\x41\x01:\x93\x01\xea\x41\x8f\x01\n&datamanager.googleapis.com/PartnerLink\x12JaccountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}*\x0cpartnerLinks2\x0bpartnerLink\"g\n\x16PartnerCustomerAccount\x12\x17\n\naccount_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x61\x63\x63ount_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x61\x63\x63ount_type\x18\x03 \x01(\tB\x03\xe0\x41\x01\"h\n\x13PartnerLinkMetadata\x12Q\n\x11implicit_accounts\x18\x01 \x03(\x0b\x32\x31.google.ads.datamanager.v1.PartnerCustomerAccountB\x03\xe0\x41\x01*}\n\nFeatureSet\x12\x1b\n\x17\x46\x45\x41TURE_SET_UNSPECIFIED\x10\x00\x12-\n)FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT\x10\x01\x12#\n\x1f\x46\x45\x41TURE_SET_AD_EVENT_MANAGEMENT\x10\x02\x32\xe6\x05\n\x12PartnerLinkService\x12\xd1\x01\n\x11\x43reatePartnerLink\x12\x33.google.ads.datamanager.v1.CreatePartnerLinkRequest\x1a&.google.ads.datamanager.v1.PartnerLink\"_\xda\x41\x13parent,partner_link\x82\xd3\xe4\x93\x02\x43\"3/v1/{parent=accountTypes/*/accounts/*}/partnerLinks:\x0cpartner_link\x12\xa4\x01\n\x11\x44\x65letePartnerLink\x12\x33.google.ads.datamanager.v1.DeletePartnerLinkRequest\x1a\x16.google.protobuf.Empty\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=accountTypes/*/accounts/*/partnerLinks/*}\x12\xce\x01\n\x12SearchPartnerLinks\x12\x34.google.ads.datamanager.v1.SearchPartnerLinksRequest\x1a\x35.google.ads.datamanager.v1.SearchPartnerLinksResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=accountTypes/*/accounts/*}/partnerLinks:search\x1a\x83\x01\xca\x41\x1a\x64\x61tamanager.googleapis.com\xd2\x41\x63https://www.googleapis.com/auth/datamanager,https://www.googleapis.com/auth/datamanager.partnerlinkB\xd4\x01\n\x1d\x63om.google.ads.datamanager.v1B\x17PartnerLinkServiceProtoP\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"
16
16
 
17
17
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
18
18
  pool.add_serialized_file(descriptor_data)
@@ -26,6 +26,9 @@ module Google
26
26
  SearchPartnerLinksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.SearchPartnerLinksRequest").msgclass
27
27
  SearchPartnerLinksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.SearchPartnerLinksResponse").msgclass
28
28
  PartnerLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PartnerLink").msgclass
29
+ PartnerCustomerAccount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PartnerCustomerAccount").msgclass
30
+ PartnerLinkMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PartnerLinkMetadata").msgclass
31
+ FeatureSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.FeatureSet").enummodule
29
32
  end
30
33
  end
31
34
  end
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/datamanager/v1/viewability_info.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/protobuf/duration_pb'
9
+
10
+
11
+ descriptor_data = "\n0google/ads/datamanager/v1/viewability_info.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/duration.proto\"\xa3\x03\n\x0fViewabilityInfo\x12;\n\tview_type\x18\x01 \x01(\x0e\x32#.google.ads.datamanager.v1.ViewTypeB\x03\xe0\x41\x02\x12\x1d\n\x10viewable_percent\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x39\n\x11viewable_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x1c\n\x0fmedia_skippable\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x45\n\x0emedia_quartile\x18\x05 \x01(\x0e\x32(.google.ads.datamanager.v1.MediaQuartileB\x03\xe0\x41\x01\x12\x36\n\x0emedia_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12!\n\x14media_volume_percent\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01\x12\x39\n\x11playback_duration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01*[\n\x08ViewType\x12\x19\n\x15VIEW_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14VIEW_TYPE_MRC_VIEWED\x10\x01\x12\x1a\n\x16VIEW_TYPE_MRC_RENDERED\x10\x02*\xc9\x01\n\rMediaQuartile\x12\x1e\n\x1aMEDIA_QUARTILE_UNSPECIFIED\x10\x00\x12\x18\n\x14MEDIA_QUARTILE_START\x10\x01\x12!\n\x1dMEDIA_QUARTILE_FIRST_QUARTILE\x10\x02\x12\x1b\n\x17MEDIA_QUARTILE_MIDPOINT\x10\x03\x12!\n\x1dMEDIA_QUARTILE_THIRD_QUARTILE\x10\x04\x12\x1b\n\x17MEDIA_QUARTILE_COMPLETE\x10\x05\x42\xd1\x01\n\x1d\x63om.google.ads.datamanager.v1B\x14ViewabilityInfoProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
12
+
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Google
17
+ module Ads
18
+ module DataManager
19
+ module V1
20
+ ViewabilityInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.ViewabilityInfo").msgclass
21
+ ViewType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.ViewType").enummodule
22
+ MediaQuartile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.MediaQuartile").enummodule
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,405 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Ads
22
+ module DataManager
23
+ module V1
24
+ # An ad event.
25
+ # @!attribute [rw] advertiser_id
26
+ # @return [::String]
27
+ # Required. The ID of the advertiser for the ad event.
28
+ #
29
+ # This must match the ID sent in the linking flow.
30
+ # @!attribute [rw] event_type
31
+ # @return [::Google::Ads::DataManager::V1::AdEvent::EventType]
32
+ # Required. The type of the event.
33
+ # @!attribute [rw] event_subtype
34
+ # @return [::Google::Ads::DataManager::V1::AdEvent::EventSubtype]
35
+ # Enum value for event subtype.
36
+ #
37
+ # Note: The following fields are mutually exclusive: `event_subtype`, `event_subtype_string`. If a field in that set is populated, all other fields in the set will automatically be cleared.
38
+ # @!attribute [rw] event_subtype_string
39
+ # @return [::String]
40
+ # String value for event subtype.
41
+ #
42
+ # Note: The following fields are mutually exclusive: `event_subtype_string`, `event_subtype`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
+ # @!attribute [rw] timestamp
44
+ # @return [::Google::Protobuf::Timestamp]
45
+ # Required. The time the event occurred.
46
+ # @!attribute [rw] event_id
47
+ # @return [::String]
48
+ # Optional. An ID created and managed by the caller that uniquely identifies
49
+ # this event.
50
+ #
51
+ # Required if you want to deduplicate ad events that are included
52
+ # in multiple requests. Otherwise, this field is optional.
53
+ # @!attribute [rw] user_data
54
+ # @return [::Google::Ads::DataManager::V1::UserData]
55
+ # Optional. Multiple pieces of user-provided data, representing the user the
56
+ # event is associated with.
57
+ #
58
+ # It is possible to provide multiple instances of the same type of data (e.g.
59
+ # email address). The more data provided, the more likely a match will be
60
+ # found.
61
+ # @!attribute [rw] device_info
62
+ # @return [::Google::Ads::DataManager::V1::DeviceInfo]
63
+ # Optional. Information gathered about the device being used when the ad
64
+ # event happened.
65
+ # @!attribute [rw] mobile_device_id
66
+ # @return [::String]
67
+ # Optional. The device ID of the device that the ad was served to.
68
+ # @!attribute [rw] campaign_id
69
+ # @return [::String]
70
+ # Required. The ID of the associated campaign.
71
+ # @!attribute [rw] campaign_name
72
+ # @return [::String]
73
+ # Required. The name of the associated campaign.
74
+ # @!attribute [rw] ad_group_id
75
+ # @return [::String]
76
+ # Optional. The ID of the associated ad group.
77
+ # @!attribute [rw] ad_id
78
+ # @return [::String]
79
+ # Optional. The ID of the associated ad within the group.
80
+ # @!attribute [rw] ad_type
81
+ # @return [::Google::Ads::DataManager::V1::AdType]
82
+ # Enum value for ad type.
83
+ #
84
+ # Note: The following fields are mutually exclusive: `ad_type`, `ad_type_string`. If a field in that set is populated, all other fields in the set will automatically be cleared.
85
+ # @!attribute [rw] ad_type_string
86
+ # @return [::String]
87
+ # String value for ad type.
88
+ #
89
+ # Note: The following fields are mutually exclusive: `ad_type_string`, `ad_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
90
+ # @!attribute [rw] ad_format
91
+ # @return [::Google::Ads::DataManager::V1::AdFormat]
92
+ # Enum value for ad format.
93
+ #
94
+ # Note: The following fields are mutually exclusive: `ad_format`, `ad_format_string`. If a field in that set is populated, all other fields in the set will automatically be cleared.
95
+ # @!attribute [rw] ad_format_string
96
+ # @return [::String]
97
+ # String value for ad format.
98
+ #
99
+ # Note: The following fields are mutually exclusive: `ad_format_string`, `ad_format`. If a field in that set is populated, all other fields in the set will automatically be cleared.
100
+ # @!attribute [rw] ad_placement
101
+ # @return [::Google::Ads::DataManager::V1::AdPlacement]
102
+ # Enum value for ad placement.
103
+ #
104
+ # Note: The following fields are mutually exclusive: `ad_placement`, `ad_placement_string`. If a field in that set is populated, all other fields in the set will automatically be cleared.
105
+ # @!attribute [rw] ad_placement_string
106
+ # @return [::String]
107
+ # String value for ad placement.
108
+ #
109
+ # Note: The following fields are mutually exclusive: `ad_placement_string`, `ad_placement`. If a field in that set is populated, all other fields in the set will automatically be cleared.
110
+ # @!attribute [rw] ad_height
111
+ # @return [::Integer]
112
+ # Optional. The height of the ad in pixels.
113
+ # @!attribute [rw] ad_width
114
+ # @return [::Integer]
115
+ # Optional. The width of the ad in pixels.
116
+ # @!attribute [rw] region_code
117
+ # @return [::String]
118
+ # Required. The ISO 3166-2 country plus subdivision.
119
+ # @!attribute [rw] source
120
+ # @return [::String]
121
+ # Required. The platform source of the ad, akin to the Google Analytics
122
+ # source.
123
+ # @!attribute [rw] medium
124
+ # @return [::String]
125
+ # Required. The medium of the ad, akin to the Google Analytics medium.
126
+ # @!attribute [rw] targeting_type
127
+ # @return [::Google::Ads::DataManager::V1::TargetingType]
128
+ # Enum value for targeting type.
129
+ #
130
+ # Note: The following fields are mutually exclusive: `targeting_type`, `targeting_type_string`. If a field in that set is populated, all other fields in the set will automatically be cleared.
131
+ # @!attribute [rw] targeting_type_string
132
+ # @return [::String]
133
+ # String value for targeting type.
134
+ #
135
+ # Note: The following fields are mutually exclusive: `targeting_type_string`, `targeting_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
136
+ # @!attribute [rw] platform_type
137
+ # @return [::Google::Ads::DataManager::V1::PlatformType]
138
+ # Enum value for platform type.
139
+ #
140
+ # Note: The following fields are mutually exclusive: `platform_type`, `platform_type_string`. If a field in that set is populated, all other fields in the set will automatically be cleared.
141
+ # @!attribute [rw] platform_type_string
142
+ # @return [::String]
143
+ # String value for platform type.
144
+ #
145
+ # Note: The following fields are mutually exclusive: `platform_type_string`, `platform_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
146
+ # @!attribute [rw] platform
147
+ # @return [::Google::Ads::DataManager::V1::Platform]
148
+ # Enum value for platform.
149
+ #
150
+ # Note: The following fields are mutually exclusive: `platform`, `platform_string`. If a field in that set is populated, all other fields in the set will automatically be cleared.
151
+ # @!attribute [rw] platform_string
152
+ # @return [::String]
153
+ # String value for platform.
154
+ #
155
+ # Note: The following fields are mutually exclusive: `platform_string`, `platform`. If a field in that set is populated, all other fields in the set will automatically be cleared.
156
+ # @!attribute [rw] attribution_hint
157
+ # @return [::Google::Ads::DataManager::V1::AttributionHint]
158
+ # Optional. The partner-assumed attribution status for this ad event.
159
+ #
160
+ # This acts only as a signal for how the partner assumed attribution played
161
+ # out, and does not force an end result in final reports.
162
+ # @!attribute [rw] viewability_info
163
+ # @return [::Google::Ads::DataManager::V1::ViewabilityInfo]
164
+ # Required. Details of the viewability of the ad served.
165
+ # @!attribute [rw] measurement_allowed
166
+ # @return [::Boolean]
167
+ # Optional. Represents if the row is allowed to be used for measurement
168
+ # purposes, as governed by applicable privacy laws within regional
169
+ # jurisdiction.
170
+ class AdEvent
171
+ include ::Google::Protobuf::MessageExts
172
+ extend ::Google::Protobuf::MessageExts::ClassMethods
173
+
174
+ # The type of the event.
175
+ module EventType
176
+ # Unspecified event type.
177
+ EVENT_TYPE_UNSPECIFIED = 0
178
+
179
+ # View event.
180
+ EVENT_TYPE_VIEW = 1
181
+
182
+ # Click event.
183
+ EVENT_TYPE_CLICK = 2
184
+ end
185
+
186
+ # Additional classification about the type of ad event.
187
+ module EventSubtype
188
+ # Unspecified event subtype.
189
+ EVENT_SUBTYPE_UNSPECIFIED = 0
190
+
191
+ # Impression event.
192
+ EVENT_SUBTYPE_IMPRESSION = 1
193
+
194
+ # Engaged view event.
195
+ EVENT_SUBTYPE_ENGAGED_VIEW = 2
196
+
197
+ # Onsite click event.
198
+ EVENT_SUBTYPE_ONSITE_CLICK = 3
199
+
200
+ # Outbound click event.
201
+ EVENT_SUBTYPE_OUTBOUND_CLICK = 4
202
+ end
203
+ end
204
+
205
+ # The type of the ad served.
206
+ module AdType
207
+ # Unspecified ad type.
208
+ AD_TYPE_UNSPECIFIED = 0
209
+
210
+ # Display ad.
211
+ AD_TYPE_DISPLAY = 1
212
+
213
+ # Text ad.
214
+ AD_TYPE_TEXT = 2
215
+
216
+ # Image ad.
217
+ AD_TYPE_IMAGE = 3
218
+
219
+ # Rich media ad.
220
+ AD_TYPE_RICH_MEDIA = 4
221
+
222
+ # HTML ad.
223
+ AD_TYPE_HTML = 5
224
+
225
+ # Audio ad.
226
+ AD_TYPE_AUDIO = 6
227
+
228
+ # Video ad.
229
+ AD_TYPE_VIDEO = 7
230
+ end
231
+
232
+ # The format of the ad served.
233
+ module AdFormat
234
+ # Unspecified ad format.
235
+ AD_FORMAT_UNSPECIFIED = 0
236
+
237
+ # AR ad.
238
+ AD_FORMAT_AR = 1
239
+
240
+ # Audio ad.
241
+ AD_FORMAT_AUDIO = 2
242
+
243
+ # Banner ad.
244
+ AD_FORMAT_BANNER = 3
245
+
246
+ # Bumper ad.
247
+ AD_FORMAT_BUMPER = 4
248
+
249
+ # Carousel ad.
250
+ AD_FORMAT_CAROUSEL = 5
251
+
252
+ # Collection ad.
253
+ AD_FORMAT_COLLECTION = 6
254
+
255
+ # Image ad.
256
+ AD_FORMAT_IMAGE = 7
257
+
258
+ # Interactive ad.
259
+ AD_FORMAT_INTERACTIVE = 8
260
+
261
+ # Interstitial ad.
262
+ AD_FORMAT_INTERSTITIAL = 9
263
+
264
+ # In-feed ad.
265
+ AD_FORMAT_IN_FEED = 10
266
+
267
+ # In-stream ad.
268
+ AD_FORMAT_IN_STREAM = 11
269
+
270
+ # In-stream skippable ad.
271
+ AD_FORMAT_IN_STREAM_SKIPPABLE = 12
272
+
273
+ # In-stream non-skippable ad.
274
+ AD_FORMAT_IN_STREAM_NON_SKIPPABLE = 13
275
+
276
+ # Native ad.
277
+ AD_FORMAT_NATIVE = 14
278
+
279
+ # Shorts ad.
280
+ AD_FORMAT_SHORTS = 15
281
+
282
+ # Story ad.
283
+ AD_FORMAT_STORY = 16
284
+
285
+ # Sponsored ad.
286
+ AD_FORMAT_SPONSORED = 17
287
+
288
+ # Video ad.
289
+ AD_FORMAT_VIDEO = 18
290
+ end
291
+
292
+ # The placement of the ad served.
293
+ module AdPlacement
294
+ # Unspecified ad placement.
295
+ AD_PLACEMENT_UNSPECIFIED = 0
296
+
297
+ # Discover placement.
298
+ AD_PLACEMENT_DISCOVER = 1
299
+
300
+ # Feed placement.
301
+ AD_PLACEMENT_FEED = 2
302
+
303
+ # Footer placement.
304
+ AD_PLACEMENT_FOOTER = 3
305
+
306
+ # Header placement.
307
+ AD_PLACEMENT_HEADER = 4
308
+
309
+ # Home placement.
310
+ AD_PLACEMENT_HOME = 5
311
+
312
+ # In-content placement.
313
+ AD_PLACEMENT_IN_CONTENT = 6
314
+
315
+ # Promoted placement.
316
+ AD_PLACEMENT_PROMOTED = 7
317
+
318
+ # Search placement.
319
+ AD_PLACEMENT_SEARCH = 8
320
+
321
+ # Story placement.
322
+ AD_PLACEMENT_STORY = 9
323
+ end
324
+
325
+ # The type of targeting used to serve the ad.
326
+ module TargetingType
327
+ # Unspecified targeting type.
328
+ TARGETING_TYPE_UNSPECIFIED = 0
329
+
330
+ # Audience targeting.
331
+ TARGETING_TYPE_AUDIENCE = 1
332
+
333
+ # Contextual targeting.
334
+ TARGETING_TYPE_CONTEXTUAL = 2
335
+
336
+ # Demographic targeting.
337
+ TARGETING_TYPE_DEMOGRAPHIC = 3
338
+
339
+ # Device targeting.
340
+ TARGETING_TYPE_DEVICE = 4
341
+
342
+ # Geo targeting.
343
+ TARGETING_TYPE_GEO = 5
344
+
345
+ # Interest targeting.
346
+ TARGETING_TYPE_INTEREST = 6
347
+
348
+ # Purchase intent targeting.
349
+ TARGETING_TYPE_PURCHASE_INTENT = 7
350
+
351
+ # Remarketing targeting.
352
+ TARGETING_TYPE_REMARKETING = 8
353
+ end
354
+
355
+ # The type of the platform on which the ad was served.
356
+ module PlatformType
357
+ # Unspecified platform type.
358
+ PLATFORM_TYPE_UNSPECIFIED = 0
359
+
360
+ # Mobile platform.
361
+ PLATFORM_TYPE_MOBILE = 1
362
+
363
+ # Desktop platform.
364
+ PLATFORM_TYPE_DESKTOP = 2
365
+
366
+ # CTV platform.
367
+ PLATFORM_TYPE_CTV = 3
368
+
369
+ # Phone platform.
370
+ PLATFORM_TYPE_PHONE = 4
371
+
372
+ # Tablet platform.
373
+ PLATFORM_TYPE_TABLET = 5
374
+ end
375
+
376
+ # Further detail of the platform on which the ad was served.
377
+ module Platform
378
+ # Unspecified platform.
379
+ PLATFORM_UNSPECIFIED = 0
380
+
381
+ # iOS platform.
382
+ PLATFORM_IOS = 1
383
+
384
+ # Android platform.
385
+ PLATFORM_ANDROID = 2
386
+
387
+ # Web platform.
388
+ PLATFORM_WEB = 3
389
+ end
390
+
391
+ # The partner-assumed attribution status for this ad event.
392
+ module AttributionHint
393
+ # Unknown attribution status.
394
+ ATTRIBUTION_HINT_UNSPECIFIED = 0
395
+
396
+ # Converted status.
397
+ ATTRIBUTION_HINT_CONVERTED = 1
398
+
399
+ # Not converted status.
400
+ ATTRIBUTION_HINT_NOT_CONVERTED = 2
401
+ end
402
+ end
403
+ end
404
+ end
405
+ end
@@ -71,7 +71,7 @@ module Google
71
71
  # Required. The ID of the account. For example, your Google Ads account ID.
72
72
  # @!attribute [rw] account_type
73
73
  # @return [::Google::Ads::DataManager::V1::ProductAccount::AccountType]
74
- # Optional. The type of the account. For example, `GOOGLE_ADS`.
74
+ # Required. The type of the account. For example, `GOOGLE_ADS`.
75
75
  # Either `account_type` or the deprecated `product` is required.
76
76
  # If both are set, the values must match.
77
77
  class ProductAccount
@@ -26,12 +26,24 @@ module Google
26
26
  # @return [::Google::Ads::DataManager::V1::GcpWrappedKeyInfo]
27
27
  # Google Cloud Platform wrapped key information.
28
28
  #
29
- # Note: The following fields are mutually exclusive: `gcp_wrapped_key_info`, `aws_wrapped_key_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
29
+ # Note: The following fields are mutually exclusive: `gcp_wrapped_key_info`, `aws_wrapped_key_info`, `coordinator_key_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
30
30
  # @!attribute [rw] aws_wrapped_key_info
31
31
  # @return [::Google::Ads::DataManager::V1::AwsWrappedKeyInfo]
32
32
  # Amazon Web Services wrapped key information.
33
33
  #
34
- # Note: The following fields are mutually exclusive: `aws_wrapped_key_info`, `gcp_wrapped_key_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
34
+ # Note: The following fields are mutually exclusive: `aws_wrapped_key_info`, `gcp_wrapped_key_info`, `coordinator_key_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
35
+ # @!attribute [rw] coordinator_key_info
36
+ # @return [::Google::Ads::DataManager::V1::CoordinatorKeyInfo]
37
+ # Key information for the chosen coordinator key.
38
+ #
39
+ # This is not supported for the
40
+ # {::Google::Ads::DataManager::V1::IngestionService::Client#ingest_events IngestEvents},
41
+ # {::Google::Ads::DataManager::V1::IngestionService::Client#ingest_audience_members IngestAudienceMembers},
42
+ # and
43
+ # {::Google::Ads::DataManager::V1::IngestionService::Client#remove_audience_members RemoveAudienceMembers}
44
+ # methods.
45
+ #
46
+ # Note: The following fields are mutually exclusive: `coordinator_key_info`, `gcp_wrapped_key_info`, `aws_wrapped_key_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
35
47
  class EncryptionInfo
36
48
  include ::Google::Protobuf::MessageExts
37
49
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -102,6 +114,15 @@ module Google
102
114
  XCHACHA20_POLY1305 = 1
103
115
  end
104
116
  end
117
+
118
+ # Information about the coordinator key.
119
+ # @!attribute [rw] key_id
120
+ # @return [::String]
121
+ # Required. The ID of the chosen coordinator key.
122
+ class CoordinatorKeyInfo
123
+ include ::Google::Protobuf::MessageExts
124
+ extend ::Google::Protobuf::MessageExts::ClassMethods
125
+ end
105
126
  end
106
127
  end
107
128
  end
@@ -145,6 +145,8 @@ module Google
145
145
  UNSUPPORTED_LINKED_ACCOUNT_FOR_DATA_PARTNER = 38
146
146
 
147
147
  # Events data contains no user identifiers or ad identifiers.
148
+ # For Floodlight Event ingestion this error indicates requests contains no ad
149
+ # identifiers.
148
150
  NO_IDENTIFIERS_PROVIDED = 39
149
151
 
150
152
  # The property type is not supported.
@@ -162,6 +162,28 @@ module Google
162
162
  extend ::Google::Protobuf::MessageExts::ClassMethods
163
163
  end
164
164
 
165
+ # Request to upload ad events.
166
+ # @!attribute [rw] ad_events
167
+ # @return [::Array<::Google::Ads::DataManager::V1::AdEvent>]
168
+ # Required. Required (at least 1). A list of ad events.
169
+ # @!attribute [rw] encryption_info
170
+ # @return [::Google::Ads::DataManager::V1::EncryptionInfo]
171
+ # Optional. Information about encryption keys which are used to encrypt the
172
+ # data.
173
+ # @!attribute [rw] validate_only
174
+ # @return [::Boolean]
175
+ # Optional. If true, the request is validated, but not executed.
176
+ class IngestAdEventsRequest
177
+ include ::Google::Protobuf::MessageExts
178
+ extend ::Google::Protobuf::MessageExts::ClassMethods
179
+ end
180
+
181
+ # Response from an ad event ingestion operation.
182
+ class IngestAdEventsResponse
183
+ include ::Google::Protobuf::MessageExts
184
+ extend ::Google::Protobuf::MessageExts::ClassMethods
185
+ end
186
+
165
187
  # Request to get the status of request made to the DM API for a given request
166
188
  # ID. Returns a
167
189
  # {::Google::Ads::DataManager::V1::RetrieveRequestStatusResponse RetrieveRequestStatusResponse}.
@@ -131,10 +131,64 @@ module Google
131
131
  # @!attribute [rw] partner_account
132
132
  # @return [::Google::Ads::DataManager::V1::ProductAccount]
133
133
  # Required. The partner account granted access by the owning account.
134
+ # @!attribute [rw] feature_set
135
+ # @return [::Google::Ads::DataManager::V1::FeatureSet]
136
+ # Optional. Immutable. The set of features supported for the partner link.
137
+ # If not specified, the system behavior defaults to
138
+ # {::Google::Ads::DataManager::V1::FeatureSet::FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT}.
139
+ # @!attribute [rw] partner_customer_account
140
+ # @return [::Google::Ads::DataManager::V1::PartnerCustomerAccount]
141
+ # Optional. The customer account in the partner system.
142
+ # This is required for partner links with the
143
+ # {::Google::Ads::DataManager::V1::FeatureSet::FEATURE_SET_AD_EVENT_MANAGEMENT FEATURE_SET_AD_EVENT_MANAGEMENT}
144
+ # feature set.
145
+ # @!attribute [rw] partner_link_metadata
146
+ # @return [::Google::Ads::DataManager::V1::PartnerLinkMetadata]
147
+ # Optional. Metadata associated with the partner link.
148
+ # This is optional and only accepted for partner links with the
149
+ # {::Google::Ads::DataManager::V1::FeatureSet::FEATURE_SET_AD_EVENT_MANAGEMENT FEATURE_SET_AD_EVENT_MANAGEMENT}.
134
150
  class PartnerLink
135
151
  include ::Google::Protobuf::MessageExts
136
152
  extend ::Google::Protobuf::MessageExts::ClassMethods
137
153
  end
154
+
155
+ # Represents a customer account in the partner's system.
156
+ # @!attribute [rw] account_id
157
+ # @return [::String]
158
+ # Required. The identifier of the customer account in the partner's ID space.
159
+ # @!attribute [rw] account_name
160
+ # @return [::String]
161
+ # Optional. The name of the account.
162
+ # @!attribute [rw] account_type
163
+ # @return [::String]
164
+ # Optional. The type of the account. Can be used to distinguish between
165
+ # advertiser accounts and business level accounts, for example.
166
+ class PartnerCustomerAccount
167
+ include ::Google::Protobuf::MessageExts
168
+ extend ::Google::Protobuf::MessageExts::ClassMethods
169
+ end
170
+
171
+ # Represents metadata associated with a partner link.
172
+ # @!attribute [rw] implicit_accounts
173
+ # @return [::Array<::Google::Ads::DataManager::V1::PartnerCustomerAccount>]
174
+ # Optional. The list of implicit accounts.
175
+ class PartnerLinkMetadata
176
+ include ::Google::Protobuf::MessageExts
177
+ extend ::Google::Protobuf::MessageExts::ClassMethods
178
+ end
179
+
180
+ # The set of supported features for a partner link.
181
+ module FeatureSet
182
+ # Unspecified feature set. If unspecified, the system behavior defaults to
183
+ # {::Google::Ads::DataManager::V1::FeatureSet::FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT}.
184
+ FEATURE_SET_UNSPECIFIED = 0
185
+
186
+ # Indicates a link used for audience and event management.
187
+ FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT = 1
188
+
189
+ # Indicates a link used for ad event management.
190
+ FEATURE_SET_AD_EVENT_MANAGEMENT = 2
191
+ end
138
192
  end
139
193
  end
140
194
  end
@@ -0,0 +1,91 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Ads
22
+ module DataManager
23
+ module V1
24
+ # Details of the viewability of the ad served.
25
+ # @!attribute [rw] view_type
26
+ # @return [::Google::Ads::DataManager::V1::ViewType]
27
+ # Required. The type of the event.
28
+ # @!attribute [rw] viewable_percent
29
+ # @return [::Integer]
30
+ # Optional. The numerical percent (0-100) of the pixels that were viewable.
31
+ # @!attribute [rw] viewable_duration
32
+ # @return [::Google::Protobuf::Duration]
33
+ # Optional. The amount of time the ad was viewable for.
34
+ # @!attribute [rw] media_skippable
35
+ # @return [::Boolean]
36
+ # Optional. Whether the ad media was skippable or not.
37
+ # @!attribute [rw] media_quartile
38
+ # @return [::Google::Ads::DataManager::V1::MediaQuartile]
39
+ # Optional. The amount of the media that was played as discrete quartiles.
40
+ # @!attribute [rw] media_duration
41
+ # @return [::Google::Protobuf::Duration]
42
+ # Optional. The duration of the ad media.
43
+ # @!attribute [rw] media_volume_percent
44
+ # @return [::Integer]
45
+ # Optional. The numerical percent (0-100) of the volume of the media
46
+ # playback.
47
+ # @!attribute [rw] playback_duration
48
+ # @return [::Google::Protobuf::Duration]
49
+ # Optional. The duration of playback of the ad media, regardless of whether
50
+ # it was viewable or not.
51
+ class ViewabilityInfo
52
+ include ::Google::Protobuf::MessageExts
53
+ extend ::Google::Protobuf::MessageExts::ClassMethods
54
+ end
55
+
56
+ # The type of the event.
57
+ module ViewType
58
+ # Unspecified view type.
59
+ VIEW_TYPE_UNSPECIFIED = 0
60
+
61
+ # MRC viewed.
62
+ VIEW_TYPE_MRC_VIEWED = 1
63
+
64
+ # MRC rendered.
65
+ VIEW_TYPE_MRC_RENDERED = 2
66
+ end
67
+
68
+ # The amount of the media that was played as discrete quartiles.
69
+ module MediaQuartile
70
+ # Unspecified media quartile.
71
+ MEDIA_QUARTILE_UNSPECIFIED = 0
72
+
73
+ # Start.
74
+ MEDIA_QUARTILE_START = 1
75
+
76
+ # First quartile.
77
+ MEDIA_QUARTILE_FIRST_QUARTILE = 2
78
+
79
+ # Midpoint.
80
+ MEDIA_QUARTILE_MIDPOINT = 3
81
+
82
+ # Third quartile.
83
+ MEDIA_QUARTILE_THIRD_QUARTILE = 4
84
+
85
+ # Complete.
86
+ MEDIA_QUARTILE_COMPLETE = 5
87
+ end
88
+ end
89
+ end
90
+ end
91
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-ads-data_manager-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -94,6 +94,7 @@ files:
94
94
  - lib/google/ads/data_manager/v1/user_list_service/rest/client.rb
95
95
  - lib/google/ads/data_manager/v1/user_list_service/rest/service_stub.rb
96
96
  - lib/google/ads/data_manager/v1/version.rb
97
+ - lib/google/ads/datamanager/v1/ad_event_pb.rb
97
98
  - lib/google/ads/datamanager/v1/age_range_pb.rb
98
99
  - lib/google/ads/datamanager/v1/audience_pb.rb
99
100
  - lib/google/ads/datamanager/v1/cart_data_pb.rb
@@ -133,7 +134,9 @@ files:
133
134
  - lib/google/ads/datamanager/v1/user_list_service_pb.rb
134
135
  - lib/google/ads/datamanager/v1/user_list_service_services_pb.rb
135
136
  - lib/google/ads/datamanager/v1/user_properties_pb.rb
137
+ - lib/google/ads/datamanager/v1/viewability_info_pb.rb
136
138
  - proto_docs/README.md
139
+ - proto_docs/google/ads/datamanager/v1/ad_event.rb
137
140
  - proto_docs/google/ads/datamanager/v1/age_range.rb
138
141
  - proto_docs/google/ads/datamanager/v1/audience.rb
139
142
  - proto_docs/google/ads/datamanager/v1/cart_data.rb
@@ -167,6 +170,7 @@ files:
167
170
  - proto_docs/google/ads/datamanager/v1/user_list_license_status.rb
168
171
  - proto_docs/google/ads/datamanager/v1/user_list_service.rb
169
172
  - proto_docs/google/ads/datamanager/v1/user_properties.rb
173
+ - proto_docs/google/ads/datamanager/v1/viewability_info.rb
170
174
  - proto_docs/google/api/client.rb
171
175
  - proto_docs/google/api/field_behavior.rb
172
176
  - proto_docs/google/api/field_info.rb