google-ads-data_manager-v1 0.a → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/ads/data_manager/v1/ingestion_service/client.rb +787 -0
- data/lib/google/ads/data_manager/v1/ingestion_service/credentials.rb +47 -0
- data/lib/google/ads/data_manager/v1/ingestion_service/rest/client.rb +748 -0
- data/lib/google/ads/data_manager/v1/ingestion_service/rest/service_stub.rb +320 -0
- data/lib/google/ads/data_manager/v1/ingestion_service/rest.rb +51 -0
- data/lib/google/ads/data_manager/v1/ingestion_service.rb +54 -0
- data/lib/google/ads/data_manager/v1/rest.rb +37 -0
- data/lib/google/ads/data_manager/v1/version.rb +7 -2
- data/lib/google/ads/data_manager/v1.rb +45 -0
- data/lib/google/ads/datamanager/v1/audience_pb.rb +50 -0
- data/lib/google/ads/datamanager/v1/cart_data_pb.rb +45 -0
- data/lib/google/ads/datamanager/v1/consent_pb.rb +45 -0
- data/lib/google/ads/datamanager/v1/destination_pb.rb +47 -0
- data/lib/google/ads/datamanager/v1/device_info_pb.rb +44 -0
- data/lib/google/ads/datamanager/v1/encryption_info_pb.rb +46 -0
- data/lib/google/ads/datamanager/v1/error_pb.rb +42 -0
- data/lib/google/ads/datamanager/v1/event_pb.rb +61 -0
- data/lib/google/ads/datamanager/v1/experimental_field_pb.rb +44 -0
- data/lib/google/ads/datamanager/v1/ingestion_service_pb.rb +68 -0
- data/lib/google/ads/datamanager/v1/ingestion_service_services_pb.rb +57 -0
- data/lib/google/ads/datamanager/v1/match_rate_pb.rb +42 -0
- data/lib/google/ads/datamanager/v1/processing_errors_pb.rb +47 -0
- data/lib/google/ads/datamanager/v1/request_status_per_destination_pb.rb +58 -0
- data/lib/google/ads/datamanager/v1/terms_of_service_pb.rb +45 -0
- data/lib/google/ads/datamanager/v1/user_data_pb.rb +46 -0
- data/lib/google/ads/datamanager/v1/user_properties_pb.rb +46 -0
- data/lib/google-ads-data_manager-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/ads/datamanager/v1/audience.rb +81 -0
- data/proto_docs/google/ads/datamanager/v1/cart_data.rb +65 -0
- data/proto_docs/google/ads/datamanager/v1/consent.rb +52 -0
- data/proto_docs/google/ads/datamanager/v1/destination.rb +124 -0
- data/proto_docs/google/ads/datamanager/v1/device_info.rb +48 -0
- data/proto_docs/google/ads/datamanager/v1/encryption_info.rb +68 -0
- data/proto_docs/google/ads/datamanager/v1/error.rb +151 -0
- data/proto_docs/google/ads/datamanager/v1/event.rb +157 -0
- data/proto_docs/google/ads/datamanager/v1/experimental_field.rb +38 -0
- data/proto_docs/google/ads/datamanager/v1/ingestion_service.rb +201 -0
- data/proto_docs/google/ads/datamanager/v1/match_rate.rb +63 -0
- data/proto_docs/google/ads/datamanager/v1/processing_errors.rb +196 -0
- data/proto_docs/google/ads/datamanager/v1/request_status_per_destination.rb +234 -0
- data/proto_docs/google/ads/datamanager/v1/terms_of_service.rb +52 -0
- data/proto_docs/google/ads/datamanager/v1/user_data.rb +84 -0
- data/proto_docs/google/ads/datamanager/v1/user_properties.rb +70 -0
- data/proto_docs/google/api/client.rb +473 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- metadata +88 -9
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/terms_of_service.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n0google/ads/datamanager/v1/terms_of_service.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\"v\n\x0eTermsOfService\x12\x64\n&customer_match_terms_of_service_status\x18\x01 \x01(\x0e\x32/.google.ads.datamanager.v1.TermsOfServiceStatusB\x03\xe0\x41\x01*[\n\x14TermsOfServiceStatus\x12\'\n#TERMS_OF_SERVICE_STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x41\x43\x43\x45PTED\x10\x01\x12\x0c\n\x08REJECTED\x10\x02\x42\xd3\x01\n\x1d\x63om.google.ads.datamanager.v1B\x13TermsOfServiceProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/datamanager/v1;datamanager\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
|
|
11
|
+
|
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
|
|
14
|
+
begin
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
rescue TypeError
|
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
20
|
+
parsed.clear_dependency
|
|
21
|
+
serialized = parsed.class.encode(parsed)
|
|
22
|
+
file = pool.add_serialized_file(serialized)
|
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
24
|
+
imports = [
|
|
25
|
+
]
|
|
26
|
+
imports.each do |type_name, expected_filename|
|
|
27
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
28
|
+
if import_file.name != expected_filename
|
|
29
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
33
|
+
warn "This will become an error in the next major version."
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
module Google
|
|
37
|
+
module Ads
|
|
38
|
+
module DataManager
|
|
39
|
+
module V1
|
|
40
|
+
TermsOfService = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.TermsOfService").msgclass
|
|
41
|
+
TermsOfServiceStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.TermsOfServiceStatus").enummodule
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/user_data.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n)google/ads/datamanager/v1/user_data.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\"T\n\x08UserData\x12H\n\x10user_identifiers\x18\x01 \x03(\x0b\x32).google.ads.datamanager.v1.UserIdentifierB\x03\xe0\x41\x02\"\x8a\x01\n\x0eUserIdentifier\x12\x17\n\remail_address\x18\x01 \x01(\tH\x00\x12\x16\n\x0cphone_number\x18\x02 \x01(\tH\x00\x12\x39\n\x07\x61\x64\x64ress\x18\x03 \x01(\x0b\x32&.google.ads.datamanager.v1.AddressInfoH\x00\x42\x0c\n\nidentifier\"t\n\x0b\x41\x64\x64ressInfo\x12\x17\n\ngiven_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x66\x61mily_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0bregion_code\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0bpostal_code\x18\x04 \x01(\tB\x03\xe0\x41\x02\x42\xcd\x01\n\x1d\x63om.google.ads.datamanager.v1B\rUserDataProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/datamanager/v1;datamanager\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
|
|
11
|
+
|
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
|
|
14
|
+
begin
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
rescue TypeError
|
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
20
|
+
parsed.clear_dependency
|
|
21
|
+
serialized = parsed.class.encode(parsed)
|
|
22
|
+
file = pool.add_serialized_file(serialized)
|
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
24
|
+
imports = [
|
|
25
|
+
]
|
|
26
|
+
imports.each do |type_name, expected_filename|
|
|
27
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
28
|
+
if import_file.name != expected_filename
|
|
29
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
33
|
+
warn "This will become an error in the next major version."
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
module Google
|
|
37
|
+
module Ads
|
|
38
|
+
module DataManager
|
|
39
|
+
module V1
|
|
40
|
+
UserData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserData").msgclass
|
|
41
|
+
UserIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserIdentifier").msgclass
|
|
42
|
+
AddressInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.AddressInfo").msgclass
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/user_properties.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n/google/ads/datamanager/v1/user_properties.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xa9\x01\n\x0eUserProperties\x12\x43\n\rcustomer_type\x18\x01 \x01(\x0e\x32\'.google.ads.datamanager.v1.CustomerTypeB\x03\xe0\x41\x01\x12R\n\x15\x63ustomer_value_bucket\x18\x02 \x01(\x0e\x32..google.ads.datamanager.v1.CustomerValueBucketB\x03\xe0\x41\x01*T\n\x0c\x43ustomerType\x12\x1d\n\x19\x43USTOMER_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\r\n\tRETURNING\x10\x02\x12\r\n\tREENGAGED\x10\x03*[\n\x13\x43ustomerValueBucket\x12%\n!CUSTOMER_VALUE_BUCKET_UNSPECIFIED\x10\x00\x12\x07\n\x03LOW\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x12\x08\n\x04HIGH\x10\x03\x42\xd3\x01\n\x1d\x63om.google.ads.datamanager.v1B\x13UserPropertiesProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/datamanager/v1;datamanager\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
|
|
11
|
+
|
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
|
|
14
|
+
begin
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
rescue TypeError
|
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
20
|
+
parsed.clear_dependency
|
|
21
|
+
serialized = parsed.class.encode(parsed)
|
|
22
|
+
file = pool.add_serialized_file(serialized)
|
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
24
|
+
imports = [
|
|
25
|
+
]
|
|
26
|
+
imports.each do |type_name, expected_filename|
|
|
27
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
28
|
+
if import_file.name != expected_filename
|
|
29
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
33
|
+
warn "This will become an error in the next major version."
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
module Google
|
|
37
|
+
module Ads
|
|
38
|
+
module DataManager
|
|
39
|
+
module V1
|
|
40
|
+
UserProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.UserProperties").msgclass
|
|
41
|
+
CustomerType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.CustomerType").enummodule
|
|
42
|
+
CustomerValueBucket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.CustomerValueBucket").enummodule
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 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
|
+
# This gem does not autoload during Bundler.require. To load this gem,
|
|
20
|
+
# issue explicit require statements for the packages desired, e.g.:
|
|
21
|
+
# require "google/ads/data_manager/v1"
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Ads
|
|
22
|
+
module DataManager
|
|
23
|
+
module V1
|
|
24
|
+
# The audience member to be operated on.
|
|
25
|
+
# @!attribute [rw] destination_references
|
|
26
|
+
# @return [::Array<::String>]
|
|
27
|
+
# Optional. Defines which
|
|
28
|
+
# {::Google::Ads::DataManager::V1::Destination Destination} to send the audience
|
|
29
|
+
# member to.
|
|
30
|
+
# @!attribute [rw] user_data
|
|
31
|
+
# @return [::Google::Ads::DataManager::V1::UserData]
|
|
32
|
+
# User-provided data that identifies the user.
|
|
33
|
+
#
|
|
34
|
+
# Note: The following fields are mutually exclusive: `user_data`, `pair_data`, `mobile_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
35
|
+
# @!attribute [rw] pair_data
|
|
36
|
+
# @return [::Google::Ads::DataManager::V1::PairData]
|
|
37
|
+
# [Publisher Advertiser Identity Reconciliation (PAIR)
|
|
38
|
+
# IDs](//support.google.com/admanager/answer/15067908).
|
|
39
|
+
#
|
|
40
|
+
# Note: The following fields are mutually exclusive: `pair_data`, `user_data`, `mobile_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
41
|
+
# @!attribute [rw] mobile_data
|
|
42
|
+
# @return [::Google::Ads::DataManager::V1::MobileData]
|
|
43
|
+
# Data identifying the user's mobile devices.
|
|
44
|
+
#
|
|
45
|
+
# Note: The following fields are mutually exclusive: `mobile_data`, `user_data`, `pair_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
46
|
+
# @!attribute [rw] consent
|
|
47
|
+
# @return [::Google::Ads::DataManager::V1::Consent]
|
|
48
|
+
# Optional. The consent setting for the user.
|
|
49
|
+
class AudienceMember
|
|
50
|
+
include ::Google::Protobuf::MessageExts
|
|
51
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# [PAIR](//support.google.com/admanager/answer/15067908) IDs for the audience.
|
|
55
|
+
# At least one PAIR ID is required.
|
|
56
|
+
# @!attribute [rw] pair_ids
|
|
57
|
+
# @return [::Array<::String>]
|
|
58
|
+
# Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted
|
|
59
|
+
# with an EC commutative cipher using publisher key for the
|
|
60
|
+
# [PAIR]((//support.google.com/admanager/answer/15067908)) user list. At most
|
|
61
|
+
# 10 `pairIds` can be provided in a single
|
|
62
|
+
# {::Google::Ads::DataManager::V1::AudienceMember AudienceMember}.
|
|
63
|
+
class PairData
|
|
64
|
+
include ::Google::Protobuf::MessageExts
|
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Mobile IDs for the audience. At least one mobile ID is required.
|
|
69
|
+
# @!attribute [rw] mobile_ids
|
|
70
|
+
# @return [::Array<::String>]
|
|
71
|
+
# Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
|
|
72
|
+
# `mobileIds` can be provided in a single
|
|
73
|
+
# {::Google::Ads::DataManager::V1::AudienceMember AudienceMember}.
|
|
74
|
+
class MobileData
|
|
75
|
+
include ::Google::Protobuf::MessageExts
|
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Ads
|
|
22
|
+
module DataManager
|
|
23
|
+
module V1
|
|
24
|
+
# The cart data associated with the event.
|
|
25
|
+
# @!attribute [rw] merchant_id
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Optional. The Merchant Center ID associated with the items.
|
|
28
|
+
# @!attribute [rw] merchant_feed_label
|
|
29
|
+
# @return [::String]
|
|
30
|
+
# Optional. The Merchant Center feed label associated with the feed of the
|
|
31
|
+
# items.
|
|
32
|
+
# @!attribute [rw] merchant_feed_language_code
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# Optional. The language code in ISO 639-1 associated with the Merchant
|
|
35
|
+
# Center feed of the items.where your items are uploaded.
|
|
36
|
+
# @!attribute [rw] transaction_discount
|
|
37
|
+
# @return [::Float]
|
|
38
|
+
# Optional. The sum of all discounts associated with the transaction.
|
|
39
|
+
# @!attribute [rw] items
|
|
40
|
+
# @return [::Array<::Google::Ads::DataManager::V1::Item>]
|
|
41
|
+
# Optional. The list of items associated with the event.
|
|
42
|
+
class CartData
|
|
43
|
+
include ::Google::Protobuf::MessageExts
|
|
44
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Represents an item in the cart associated with the event.
|
|
48
|
+
# @!attribute [rw] merchant_product_id
|
|
49
|
+
# @return [::String]
|
|
50
|
+
# Optional. The product ID within the Merchant Center account.
|
|
51
|
+
# @!attribute [rw] quantity
|
|
52
|
+
# @return [::Integer]
|
|
53
|
+
# Optional. The number of this item associated with the event.
|
|
54
|
+
# @!attribute [rw] unit_price
|
|
55
|
+
# @return [::Float]
|
|
56
|
+
# Optional. The unit price excluding tax, shipping, and any transaction level
|
|
57
|
+
# discounts.
|
|
58
|
+
class Item
|
|
59
|
+
include ::Google::Protobuf::MessageExts
|
|
60
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 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
|
+
# [Digital Markets Act
|
|
25
|
+
# (DMA)](//digital-markets-act.ec.europa.eu/index_en) consent settings
|
|
26
|
+
# for the user.
|
|
27
|
+
# @!attribute [rw] ad_user_data
|
|
28
|
+
# @return [::Google::Ads::DataManager::V1::ConsentStatus]
|
|
29
|
+
# Optional. Represents if the user consents to ad user data.
|
|
30
|
+
# @!attribute [rw] ad_personalization
|
|
31
|
+
# @return [::Google::Ads::DataManager::V1::ConsentStatus]
|
|
32
|
+
# Optional. Represents if the user consents to ad personalization.
|
|
33
|
+
class Consent
|
|
34
|
+
include ::Google::Protobuf::MessageExts
|
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Represents if the user granted, denied, or hasn't specified consent.
|
|
39
|
+
module ConsentStatus
|
|
40
|
+
# Not specified.
|
|
41
|
+
CONSENT_STATUS_UNSPECIFIED = 0
|
|
42
|
+
|
|
43
|
+
# Granted.
|
|
44
|
+
CONSENT_GRANTED = 1
|
|
45
|
+
|
|
46
|
+
# Denied.
|
|
47
|
+
CONSENT_DENIED = 2
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Ads
|
|
22
|
+
module DataManager
|
|
23
|
+
module V1
|
|
24
|
+
# The Google product you're sending data to. For example, a Google
|
|
25
|
+
# Ads account.
|
|
26
|
+
# @!attribute [rw] reference
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# Optional. ID for this `Destination` resource, unique within the request.
|
|
29
|
+
# Use to reference this `Destination` in the
|
|
30
|
+
# {::Google::Ads::DataManager::V1::IngestEventsRequest IngestEventsRequest} and
|
|
31
|
+
# {::Google::Ads::DataManager::V1::IngestAudienceMembersRequest IngestAudienceMembersRequest}.
|
|
32
|
+
# @!attribute [rw] login_account
|
|
33
|
+
# @return [::Google::Ads::DataManager::V1::ProductAccount]
|
|
34
|
+
# Optional. The account used to make this API call. To add or remove data
|
|
35
|
+
# from the
|
|
36
|
+
# {::Google::Ads::DataManager::V1::Destination#operating_account `operating_account`},
|
|
37
|
+
# this `login_account` must have write access to the `operating_account`. For
|
|
38
|
+
# example, a manager account of the `operating_account`, or an account with
|
|
39
|
+
# an established link to the `operating_account`.
|
|
40
|
+
# @!attribute [rw] linked_account
|
|
41
|
+
# @return [::Google::Ads::DataManager::V1::ProductAccount]
|
|
42
|
+
# Optional. An account that the calling user's
|
|
43
|
+
# {::Google::Ads::DataManager::V1::Destination#login_account `login_account`} has
|
|
44
|
+
# access to, through an established account link. For example, a data
|
|
45
|
+
# partner's `login_account` might have access to a client's `linked_account`.
|
|
46
|
+
# The partner might use this field to send data from the `linked_account` to
|
|
47
|
+
# another
|
|
48
|
+
# {::Google::Ads::DataManager::V1::Destination#operating_account `operating_account`}.
|
|
49
|
+
# @!attribute [rw] operating_account
|
|
50
|
+
# @return [::Google::Ads::DataManager::V1::ProductAccount]
|
|
51
|
+
# Required. The account to send the data to or remove the data from.
|
|
52
|
+
# @!attribute [rw] product_destination_id
|
|
53
|
+
# @return [::String]
|
|
54
|
+
# Required. The object within the product account to ingest into. For
|
|
55
|
+
# example, a Google Ads audience ID, a Display & Video 360 audience ID or a
|
|
56
|
+
# Google Ads conversion action ID.
|
|
57
|
+
class Destination
|
|
58
|
+
include ::Google::Protobuf::MessageExts
|
|
59
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Represents a specific account.
|
|
63
|
+
# @!attribute [rw] product
|
|
64
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
65
|
+
# @return [::Google::Ads::DataManager::V1::Product]
|
|
66
|
+
# Deprecated. Use
|
|
67
|
+
# {::Google::Ads::DataManager::V1::ProductAccount#account_type `account_type`}
|
|
68
|
+
# instead.
|
|
69
|
+
# @!attribute [rw] account_id
|
|
70
|
+
# @return [::String]
|
|
71
|
+
# Required. The ID of the account. For example, your Google Ads account ID.
|
|
72
|
+
# @!attribute [rw] account_type
|
|
73
|
+
# @return [::Google::Ads::DataManager::V1::ProductAccount::AccountType]
|
|
74
|
+
# Optional. The type of the account. For example, `GOOGLE_ADS`.
|
|
75
|
+
# Either `account_type` or the deprecated `product` is required.
|
|
76
|
+
# If both are set, the values must match.
|
|
77
|
+
class ProductAccount
|
|
78
|
+
include ::Google::Protobuf::MessageExts
|
|
79
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
80
|
+
|
|
81
|
+
# Represents Google account types. Used to locate accounts and
|
|
82
|
+
# destinations.
|
|
83
|
+
module AccountType
|
|
84
|
+
# Unspecified product. Should never be used.
|
|
85
|
+
ACCOUNT_TYPE_UNSPECIFIED = 0
|
|
86
|
+
|
|
87
|
+
# Google Ads.
|
|
88
|
+
GOOGLE_ADS = 1
|
|
89
|
+
|
|
90
|
+
# Display & Video 360 partner.
|
|
91
|
+
DISPLAY_VIDEO_PARTNER = 2
|
|
92
|
+
|
|
93
|
+
# Display & Video 360 advertiser.
|
|
94
|
+
DISPLAY_VIDEO_ADVERTISER = 3
|
|
95
|
+
|
|
96
|
+
# Data Partner.
|
|
97
|
+
DATA_PARTNER = 4
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Deprecated. Use
|
|
102
|
+
# {::Google::Ads::DataManager::V1::ProductAccount::AccountType `AccountType`}
|
|
103
|
+
# instead. Represents a specific Google product.
|
|
104
|
+
# @deprecated This enum is deprecated and may be removed in the next major version update.
|
|
105
|
+
module Product
|
|
106
|
+
# Unspecified product. Should never be used.
|
|
107
|
+
PRODUCT_UNSPECIFIED = 0
|
|
108
|
+
|
|
109
|
+
# Google Ads.
|
|
110
|
+
GOOGLE_ADS = 1
|
|
111
|
+
|
|
112
|
+
# Display & Video 360 partner.
|
|
113
|
+
DISPLAY_VIDEO_PARTNER = 2
|
|
114
|
+
|
|
115
|
+
# Display & Video 360 advertiser.
|
|
116
|
+
DISPLAY_VIDEO_ADVERTISER = 3
|
|
117
|
+
|
|
118
|
+
# Data Partner.
|
|
119
|
+
DATA_PARTNER = 4
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 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
|
+
# Information about the device being used (if any) when the event happened.
|
|
25
|
+
# @!attribute [rw] user_agent
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Optional. The user-agent string of the device for the given context.
|
|
28
|
+
# @!attribute [rw] ip_address
|
|
29
|
+
# @return [::String]
|
|
30
|
+
# Optional. The IP address of the device for the given context.
|
|
31
|
+
#
|
|
32
|
+
# **Note:** Google Ads does not support IP address matching for end users in
|
|
33
|
+
# the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH).
|
|
34
|
+
# Add logic to conditionally exclude sharing IP addresses from users from
|
|
35
|
+
# these regions and ensure that you provide users with clear and
|
|
36
|
+
# comprehensive information about the data you collect on your sites, apps,
|
|
37
|
+
# and other properties and get consent where required by law or any
|
|
38
|
+
# applicable Google policies. See the [About offline conversion
|
|
39
|
+
# imports](https://support.google.com/google-ads/answer/2998031) page for
|
|
40
|
+
# more details.
|
|
41
|
+
class DeviceInfo
|
|
42
|
+
include ::Google::Protobuf::MessageExts
|
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 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
|
+
# Encryption information for the data being ingested.
|
|
25
|
+
# @!attribute [rw] gcp_wrapped_key_info
|
|
26
|
+
# @return [::Google::Ads::DataManager::V1::GcpWrappedKeyInfo]
|
|
27
|
+
# Google Cloud Platform wrapped key information.
|
|
28
|
+
class EncryptionInfo
|
|
29
|
+
include ::Google::Protobuf::MessageExts
|
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Information about the Google Cloud Platform wrapped
|
|
34
|
+
# key.
|
|
35
|
+
# @!attribute [rw] key_type
|
|
36
|
+
# @return [::Google::Ads::DataManager::V1::GcpWrappedKeyInfo::KeyType]
|
|
37
|
+
# Required. The type of algorithm used to encrypt the data.
|
|
38
|
+
# @!attribute [rw] wip_provider
|
|
39
|
+
# @return [::String]
|
|
40
|
+
# Required. The [Workload
|
|
41
|
+
# Identity](//cloud.google.com/iam/docs/workload-identity-federation) pool
|
|
42
|
+
# provider required to use KEK.
|
|
43
|
+
# @!attribute [rw] kek_uri
|
|
44
|
+
# @return [::String]
|
|
45
|
+
# Required. Google Cloud Platform [Cloud Key Management Service resource
|
|
46
|
+
# ID](//cloud.google.com/kms/docs/getting-resource-ids). Should be in the
|
|
47
|
+
# format of
|
|
48
|
+
# "projects/\\{project}/locations/\\{location}/keyRings/\\{key_ring}/cryptoKeys/\\{key}".
|
|
49
|
+
# @!attribute [rw] encrypted_dek
|
|
50
|
+
# @return [::String]
|
|
51
|
+
# Required. The base64 encoded encrypted data encryption key.
|
|
52
|
+
class GcpWrappedKeyInfo
|
|
53
|
+
include ::Google::Protobuf::MessageExts
|
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
55
|
+
|
|
56
|
+
# The type of algorithm used to encrypt the data.
|
|
57
|
+
module KeyType
|
|
58
|
+
# Unspecified key type. Should never be used.
|
|
59
|
+
KEY_TYPE_UNSPECIFIED = 0
|
|
60
|
+
|
|
61
|
+
# Algorithm XChaCha20-Poly1305
|
|
62
|
+
XCHACHA20_POLY1305 = 1
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|