google-ads-data_manager-v1 0.8.1 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/ads/data_manager/v1/ingestion_service/client.rb +251 -20
- data/lib/google/ads/data_manager/v1/ingestion_service/rest/client.rb +253 -20
- data/lib/google/ads/data_manager/v1/ingestion_service/rest/service_stub.rb +120 -0
- data/lib/google/ads/data_manager/v1/partner_link_service/client.rb +1 -0
- data/lib/google/ads/data_manager/v1/partner_link_service/rest/client.rb +1 -0
- data/lib/google/ads/data_manager/v1/version.rb +1 -1
- data/lib/google/ads/datamanager/v1/ad_event_pb.rb +2 -1
- data/lib/google/ads/datamanager/v1/destination_pb.rb +1 -1
- data/lib/google/ads/datamanager/v1/error_pb.rb +1 -1
- data/lib/google/ads/datamanager/v1/event_pb.rb +1 -1
- data/lib/google/ads/datamanager/v1/ingestion_service_pb.rb +7 -1
- data/lib/google/ads/datamanager/v1/ingestion_service_services_pb.rb +13 -0
- data/lib/google/ads/datamanager/v1/user_pb.rb +25 -0
- data/proto_docs/google/ads/datamanager/v1/ad_event.rb +5 -0
- data/proto_docs/google/ads/datamanager/v1/destination.rb +7 -1
- data/proto_docs/google/ads/datamanager/v1/device_info.rb +1 -11
- data/proto_docs/google/ads/datamanager/v1/error.rb +20 -0
- data/proto_docs/google/ads/datamanager/v1/event.rb +8 -0
- data/proto_docs/google/ads/datamanager/v1/ingestion_service.rb +88 -20
- data/proto_docs/google/ads/datamanager/v1/partner_link_service.rb +1 -0
- data/proto_docs/google/ads/datamanager/v1/user.rb +40 -0
- metadata +3 -1
|
@@ -13,13 +13,15 @@ require 'google/ads/datamanager/v1/event_pb'
|
|
|
13
13
|
require 'google/ads/datamanager/v1/processing_errors_pb'
|
|
14
14
|
require 'google/ads/datamanager/v1/request_status_per_destination_pb'
|
|
15
15
|
require 'google/ads/datamanager/v1/terms_of_service_pb'
|
|
16
|
+
require 'google/ads/datamanager/v1/user_pb'
|
|
17
|
+
require 'google/ads/datamanager/v1/user_data_pb'
|
|
16
18
|
require 'google/api/annotations_pb'
|
|
17
19
|
require 'google/api/client_pb'
|
|
18
20
|
require 'google/api/field_behavior_pb'
|
|
19
21
|
require 'google/protobuf/timestamp_pb'
|
|
20
22
|
|
|
21
23
|
|
|
22
|
-
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\x31google/ads/datamanager/v1/processing_errors.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\x1a\x1fgoogle/protobuf/timestamp.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\"t\n\x1dIngestAudienceMembersResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12?\n\x0e\x66ield_warnings\x18\x02 \x03(\x0b\x32\'.google.ads.datamanager.v1.FieldWarning\"\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\"\xbc\x01\n\x1fRemoveAllAudienceMembersRequest\x12\x41\n\x0c\x64\x65stinations\x18\x01 \x03(\x0b\x32&.google.ads.datamanager.v1.DestinationB\x03\xe0\x41\x02\x12:\n\x11remove_as_of_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"6\n RemoveAllAudienceMembersResponse\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\"k\n\x14IngestEventsResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12?\n\x0e\x66ield_warnings\x18\x02 \x03(\x0b\x32\'.google.ads.datamanager.v1.FieldWarning\"\xba\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\
|
|
24
|
+
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\x31google/ads/datamanager/v1/processing_errors.proto\x1a>google/ads/datamanager/v1/request_status_per_destination.proto\x1a\x30google/ads/datamanager/v1/terms_of_service.proto\x1a$google/ads/datamanager/v1/user.proto\x1a)google/ads/datamanager/v1/user_data.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.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\"t\n\x1dIngestAudienceMembersResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12?\n\x0e\x66ield_warnings\x18\x02 \x03(\x0b\x32\'.google.ads.datamanager.v1.FieldWarning\"\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\"\xbc\x01\n\x1fRemoveAllAudienceMembersRequest\x12\x41\n\x0c\x64\x65stinations\x18\x01 \x03(\x0b\x32&.google.ads.datamanager.v1.DestinationB\x03\xe0\x41\x02\x12:\n\x11remove_as_of_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"6\n RemoveAllAudienceMembersResponse\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\"k\n\x14IngestEventsResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12?\n\x0e\x66ield_warnings\x18\x02 \x03(\x0b\x32\'.google.ads.datamanager.v1.FieldWarning\"\xad\x02\n\x12IngestUsersRequest\x12\x41\n\x0c\x64\x65stinations\x18\x01 \x03(\x0b\x32&.google.ads.datamanager.v1.DestinationB\x03\xe0\x41\x02\x12\x33\n\x05users\x18\x02 \x03(\x0b\x32\x1f.google.ads.datamanager.v1.UserB\x03\xe0\x41\x02\x12G\n\x0f\x65ncryption_info\x18\x03 \x01(\x0b\x32).google.ads.datamanager.v1.EncryptionInfoB\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\x02\")\n\x13IngestUsersResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\"\xb5\x02\n\x12RemoveUsersRequest\x12\x41\n\x0c\x64\x65stinations\x18\x01 \x03(\x0b\x32&.google.ads.datamanager.v1.DestinationB\x03\xe0\x41\x02\x12;\n\tuser_data\x18\x02 \x03(\x0b\x32#.google.ads.datamanager.v1.UserDataB\x03\xe0\x41\x02\x12G\n\x0f\x65ncryption_info\x18\x03 \x01(\x0b\x32).google.ads.datamanager.v1.EncryptionInfoB\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\x02\")\n\x13RemoveUsersResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\"\xba\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\x1c\n\rvalidate_only\x18\x03 \x01(\x08\x42\x05\x18\x01\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\xf8\n\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\xbd\x01\n\x18RemoveAllAudienceMembers\x12:.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest\x1a;.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse\"(\x82\xd3\xe4\x93\x02\"\"\x1d/v1/audienceMembers:removeAll:\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\x89\x01\n\x0bIngestUsers\x12-.google.ads.datamanager.v1.IngestUsersRequest\x1a..google.ads.datamanager.v1.IngestUsersResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v1/users:ingest:\x01*\x12\x89\x01\n\x0bRemoveUsers\x12-.google.ads.datamanager.v1.RemoveUsersRequest\x1a..google.ads.datamanager.v1.RemoveUsersResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v1/users:remove:\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"
|
|
23
25
|
|
|
24
26
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
25
27
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -36,6 +38,10 @@ module Google
|
|
|
36
38
|
RemoveAllAudienceMembersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RemoveAllAudienceMembersResponse").msgclass
|
|
37
39
|
IngestEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestEventsRequest").msgclass
|
|
38
40
|
IngestEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestEventsResponse").msgclass
|
|
41
|
+
IngestUsersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestUsersRequest").msgclass
|
|
42
|
+
IngestUsersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestUsersResponse").msgclass
|
|
43
|
+
RemoveUsersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RemoveUsersRequest").msgclass
|
|
44
|
+
RemoveUsersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RemoveUsersResponse").msgclass
|
|
39
45
|
IngestAdEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestAdEventsRequest").msgclass
|
|
40
46
|
IngestAdEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.IngestAdEventsResponse").msgclass
|
|
41
47
|
RetrieveRequestStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RetrieveRequestStatusRequest").msgclass
|
|
@@ -47,6 +47,19 @@ module Google
|
|
|
47
47
|
# [Event][google.ads.datamanager.v1.Event] resources from
|
|
48
48
|
# the provided [Destination][google.ads.datamanager.v1.Destination].
|
|
49
49
|
rpc :IngestEvents, ::Google::Ads::DataManager::V1::IngestEventsRequest, ::Google::Ads::DataManager::V1::IngestEventsResponse
|
|
50
|
+
# Uploads a list of users to the provided destinations. Unlike
|
|
51
|
+
# [IngestAudienceMembers][google.ads.datamanager.v1.IngestionService.IngestAudienceMembers]
|
|
52
|
+
# (which adds users to specific advertiser audience lists for targeting),
|
|
53
|
+
# `IngestUsers` ingests account level identity linkage data (for example,
|
|
54
|
+
# user identifiers linked to mobile IDs) independent of specific audience
|
|
55
|
+
# segments.
|
|
56
|
+
#
|
|
57
|
+
# This feature is only available to accounts on an allowlist.
|
|
58
|
+
rpc :IngestUsers, ::Google::Ads::DataManager::V1::IngestUsersRequest, ::Google::Ads::DataManager::V1::IngestUsersResponse
|
|
59
|
+
# Removes a list of users from the provided destinations.
|
|
60
|
+
#
|
|
61
|
+
# This feature is only available to accounts on an allowlist.
|
|
62
|
+
rpc :RemoveUsers, ::Google::Ads::DataManager::V1::RemoveUsersRequest, ::Google::Ads::DataManager::V1::RemoveUsersResponse
|
|
50
63
|
# Uploads a list of
|
|
51
64
|
# [AdEvent][google.ads.datamanager.v1.AdEvent] resources to Google
|
|
52
65
|
# Analytics.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/user.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/ads/datamanager/v1/audience_pb'
|
|
8
|
+
require 'google/ads/datamanager/v1/user_data_pb'
|
|
9
|
+
require 'google/api/field_behavior_pb'
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
descriptor_data = "\n$google/ads/datamanager/v1/user.proto\x12\x19google.ads.datamanager.v1\x1a(google/ads/datamanager/v1/audience.proto\x1a)google/ads/datamanager/v1/user_data.proto\x1a\x1fgoogle/api/field_behavior.proto\"\x84\x01\n\x04User\x12;\n\tuser_data\x18\x01 \x01(\x0b\x32#.google.ads.datamanager.v1.UserDataB\x03\xe0\x41\x02\x12?\n\x0bmobile_data\x18\x02 \x01(\x0b\x32%.google.ads.datamanager.v1.MobileDataB\x03\xe0\x41\x02\x42\xc6\x01\n\x1d\x63om.google.ads.datamanager.v1B\tUserProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
|
|
13
|
+
|
|
14
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
|
|
17
|
+
module Google
|
|
18
|
+
module Ads
|
|
19
|
+
module DataManager
|
|
20
|
+
module V1
|
|
21
|
+
User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.User").msgclass
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -62,6 +62,11 @@ module Google
|
|
|
62
62
|
# @return [::Google::Ads::DataManager::V1::DeviceInfo]
|
|
63
63
|
# Required. Information gathered about the device being used when the ad
|
|
64
64
|
# event happened.
|
|
65
|
+
# @!attribute [rw] ip_address
|
|
66
|
+
# @return [::String]
|
|
67
|
+
# Optional. IP address used for measurement. This must be same value as
|
|
68
|
+
# {::Google::Ads::DataManager::V1::DeviceInfo#ip_address DeviceInfo.ip_address}.
|
|
69
|
+
# Keep it blank if you do not want to share IP for measurement.
|
|
65
70
|
# @!attribute [rw] mobile_device_id
|
|
66
71
|
# @return [::String]
|
|
67
72
|
# Optional. The device ID of the device that the ad was served to.
|
|
@@ -51,9 +51,12 @@ module Google
|
|
|
51
51
|
# Required. The account to send the data to or remove the data from.
|
|
52
52
|
# @!attribute [rw] product_destination_id
|
|
53
53
|
# @return [::String]
|
|
54
|
-
#
|
|
54
|
+
# Optional. The object within the product account to ingest into. For
|
|
55
55
|
# example, a Google Ads audience ID, a Display & Video 360 audience ID or a
|
|
56
56
|
# Google Ads conversion action ID.
|
|
57
|
+
#
|
|
58
|
+
# This field is optional for Google Ad Manager event ingestion and User
|
|
59
|
+
# ingestion. Required for all other use cases.
|
|
57
60
|
class Destination
|
|
58
61
|
include ::Google::Protobuf::MessageExts
|
|
59
62
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -104,6 +107,9 @@ module Google
|
|
|
104
107
|
|
|
105
108
|
# Floodlight configuration.
|
|
106
109
|
FLOODLIGHT_CONFIG = 7
|
|
110
|
+
|
|
111
|
+
# Google Ad Manager.
|
|
112
|
+
GOOGLE_AD_MANAGER = 8
|
|
107
113
|
end
|
|
108
114
|
end
|
|
109
115
|
|
|
@@ -28,17 +28,7 @@ module Google
|
|
|
28
28
|
# @!attribute [rw] ip_address
|
|
29
29
|
# @return [::String]
|
|
30
30
|
# Optional. The IP address of the device for the given context. Required when
|
|
31
|
-
# used in an {::Google::Ads::DataManager::V1::AdEvent AdEvent}.
|
|
32
|
-
#
|
|
33
|
-
# **Note:** Google Ads does not support IP address matching for end users in
|
|
34
|
-
# the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH).
|
|
35
|
-
# Add logic to conditionally exclude sharing IP addresses from users from
|
|
36
|
-
# these regions and ensure that you provide users with clear and
|
|
37
|
-
# comprehensive information about the data you collect on your sites, apps,
|
|
38
|
-
# and other properties and get consent where required by law or any
|
|
39
|
-
# applicable Google policies. See the [About offline conversion
|
|
40
|
-
# imports](https://support.google.com/google-ads/answer/2998031) page for
|
|
41
|
-
# more details.
|
|
31
|
+
# used in an {::Google::Ads::DataManager::V1::AdEvent AdEvent} for geo checks.
|
|
42
32
|
# @!attribute [rw] category
|
|
43
33
|
# @return [::String]
|
|
44
34
|
# Optional. The category of device. For example, “desktop”, “tablet”,
|
|
@@ -405,6 +405,9 @@ module Google
|
|
|
405
405
|
# the specified `variable`.
|
|
406
406
|
CUSTOM_VARIABLE_NOT_FOUND = 120
|
|
407
407
|
|
|
408
|
+
# Maximum number of users allowed per request is 10,000.
|
|
409
|
+
TOO_MANY_USERS = 121
|
|
410
|
+
|
|
408
411
|
# The
|
|
409
412
|
# {::Google::Ads::DataManager::V1::Baseline#location_auto_detection_enabled location_auto_detection_enabled}
|
|
410
413
|
# field of the request was set to `true`, but auto detection of baseline
|
|
@@ -421,6 +424,23 @@ module Google
|
|
|
421
424
|
# The remove as of time must be in the past or present. Future timestamps are
|
|
422
425
|
# not permitted for removing audience members.
|
|
423
426
|
INVALID_REMOVE_AS_OF_TIME = 125
|
|
427
|
+
|
|
428
|
+
# Request status is only available for approximately 50 days after the API
|
|
429
|
+
# receives a request.
|
|
430
|
+
REQUEST_TOO_OLD = 126
|
|
431
|
+
|
|
432
|
+
# The conversion action was created too recently.
|
|
433
|
+
CONVERSION_ACTION_TOO_RECENTLY_CREATED = 127
|
|
434
|
+
|
|
435
|
+
# The ad identifier does not belong to the account.
|
|
436
|
+
#
|
|
437
|
+
# For example, the {::Google::Ads::DataManager::V1::AdIdentifiers#gclid `gclid`}
|
|
438
|
+
# isn't associated with the
|
|
439
|
+
# {::Google::Ads::DataManager::V1::Destination#operating_account `operating_account`}
|
|
440
|
+
# and
|
|
441
|
+
# {::Google::Ads::DataManager::V1::Destination#product_destination_id `product_destination_id`}
|
|
442
|
+
# of the destination.
|
|
443
|
+
INVALID_AD_IDENTIFIER_FOR_ACCOUNT = 128
|
|
424
444
|
end
|
|
425
445
|
end
|
|
426
446
|
end
|
|
@@ -155,6 +155,14 @@ module Google
|
|
|
155
155
|
# @!attribute [rw] encrypted_user_ids
|
|
156
156
|
# @return [::Array<::Google::Ads::DataManager::V1::EncryptedUserId>]
|
|
157
157
|
# Optional. Any number of encrypted user IDs.
|
|
158
|
+
# @!attribute [rw] ppid
|
|
159
|
+
# @return [::String]
|
|
160
|
+
# Optional. A unique identifier for an authenticated user (signed-in), as
|
|
161
|
+
# defined by the publisher.
|
|
162
|
+
# @!attribute [rw] visitor_ppid
|
|
163
|
+
# @return [::String]
|
|
164
|
+
# Optional. A unique identifier for an unauthenticated user (user who is not
|
|
165
|
+
# signed-in), as defined by the publisher.
|
|
158
166
|
class AdIdentifiers
|
|
159
167
|
include ::Google::Protobuf::MessageExts
|
|
160
168
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -42,13 +42,14 @@ module Google
|
|
|
42
42
|
# executed. Only errors are returned, not results.
|
|
43
43
|
# @!attribute [rw] encoding
|
|
44
44
|
# @return [::Google::Ads::DataManager::V1::Encoding]
|
|
45
|
-
# Optional.
|
|
46
|
-
# uploads. The encoding type
|
|
47
|
-
#
|
|
48
|
-
#
|
|
49
|
-
#
|
|
50
|
-
# hashed string could be encoded in a
|
|
51
|
-
# string. For non `UserData` uploads,
|
|
45
|
+
# Optional. Must be provided for
|
|
46
|
+
# {::Google::Ads::DataManager::V1::UserData UserData} uploads. The encoding type
|
|
47
|
+
# of the user identifiers. For hashed user identifiers, this is the encoding
|
|
48
|
+
# type of the hashed string. For encrypted hashed user identifiers, this is
|
|
49
|
+
# the encoding type of the outer encrypted string, but not necessarily the
|
|
50
|
+
# inner hashed string, meaning the inner hashed string could be encoded in a
|
|
51
|
+
# different way than the outer encrypted string. For non `UserData` uploads,
|
|
52
|
+
# this field is ignored.
|
|
52
53
|
# @!attribute [rw] encryption_info
|
|
53
54
|
# @return [::Google::Ads::DataManager::V1::EncryptionInfo]
|
|
54
55
|
# Optional. Encryption information for
|
|
@@ -91,10 +92,10 @@ module Google
|
|
|
91
92
|
# executed. Only errors are returned, not results.
|
|
92
93
|
# @!attribute [rw] encoding
|
|
93
94
|
# @return [::Google::Ads::DataManager::V1::Encoding]
|
|
94
|
-
# Optional.
|
|
95
|
-
# uploads. The encoding type
|
|
96
|
-
#
|
|
97
|
-
# this field is ignored.
|
|
95
|
+
# Optional. Must be provided for
|
|
96
|
+
# {::Google::Ads::DataManager::V1::UserData UserData} uploads. The encoding type
|
|
97
|
+
# of the user identifiers. Applies to only the outer encoding for encrypted
|
|
98
|
+
# user identifiers. For non `UserData` uploads, this field is ignored.
|
|
98
99
|
# @!attribute [rw] encryption_info
|
|
99
100
|
# @return [::Google::Ads::DataManager::V1::EncryptionInfo]
|
|
100
101
|
# Optional. Encryption information for
|
|
@@ -167,13 +168,14 @@ module Google
|
|
|
167
168
|
# executed. Only errors are returned, not results.
|
|
168
169
|
# @!attribute [rw] encoding
|
|
169
170
|
# @return [::Google::Ads::DataManager::V1::Encoding]
|
|
170
|
-
# Optional.
|
|
171
|
-
# uploads. The encoding type
|
|
172
|
-
#
|
|
173
|
-
#
|
|
174
|
-
#
|
|
175
|
-
# hashed string could be encoded in a
|
|
176
|
-
# string. For non `UserData` uploads,
|
|
171
|
+
# Optional. Must be provided for
|
|
172
|
+
# {::Google::Ads::DataManager::V1::UserData UserData} uploads. The encoding type
|
|
173
|
+
# of the user identifiers. For hashed user identifiers, this is the encoding
|
|
174
|
+
# type of the hashed string. For encrypted hashed user identifiers, this is
|
|
175
|
+
# the encoding type of the outer encrypted string, but not necessarily the
|
|
176
|
+
# inner hashed string, meaning the inner hashed string could be encoded in a
|
|
177
|
+
# different way than the outer encrypted string. For non `UserData` uploads,
|
|
178
|
+
# this field is ignored.
|
|
177
179
|
# @!attribute [rw] encryption_info
|
|
178
180
|
# @return [::Google::Ads::DataManager::V1::EncryptionInfo]
|
|
179
181
|
# Optional. Encryption information for
|
|
@@ -198,14 +200,80 @@ module Google
|
|
|
198
200
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
199
201
|
end
|
|
200
202
|
|
|
203
|
+
# Request to upload users to the provided destinations.
|
|
204
|
+
# @!attribute [rw] destinations
|
|
205
|
+
# @return [::Array<::Google::Ads::DataManager::V1::Destination>]
|
|
206
|
+
# Required. The list of possible ingestion destinations.
|
|
207
|
+
# @!attribute [rw] users
|
|
208
|
+
# @return [::Array<::Google::Ads::DataManager::V1::User>]
|
|
209
|
+
# Required. The list of users to ingest.
|
|
210
|
+
# @!attribute [rw] encryption_info
|
|
211
|
+
# @return [::Google::Ads::DataManager::V1::EncryptionInfo]
|
|
212
|
+
# Optional. Encryption information about encryption keys which are used to
|
|
213
|
+
# encrypt the data.
|
|
214
|
+
# @!attribute [rw] validate_only
|
|
215
|
+
# @return [::Boolean]
|
|
216
|
+
# Optional. If `true`, the request is validated but not executed.
|
|
217
|
+
# @!attribute [rw] encoding
|
|
218
|
+
# @return [::Google::Ads::DataManager::V1::Encoding]
|
|
219
|
+
# Required. The encoding type of the user identifiers. For encrypted user
|
|
220
|
+
# identifiers, this only applies to the outer encoding.
|
|
221
|
+
class IngestUsersRequest
|
|
222
|
+
include ::Google::Protobuf::MessageExts
|
|
223
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# Response from the IngestUsersRequest.
|
|
227
|
+
# @!attribute [rw] request_id
|
|
228
|
+
# @return [::String]
|
|
229
|
+
# The generated request id of the Ingestion Request.
|
|
230
|
+
class IngestUsersResponse
|
|
231
|
+
include ::Google::Protobuf::MessageExts
|
|
232
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
# Request to remove users from the provided destinations.
|
|
236
|
+
# @!attribute [rw] destinations
|
|
237
|
+
# @return [::Array<::Google::Ads::DataManager::V1::Destination>]
|
|
238
|
+
# Required. The list of possible ingestion destinations.
|
|
239
|
+
# @!attribute [rw] user_data
|
|
240
|
+
# @return [::Array<::Google::Ads::DataManager::V1::UserData>]
|
|
241
|
+
# Required. The individual bits of UserData that act as keys for the users to
|
|
242
|
+
# remove.
|
|
243
|
+
# @!attribute [rw] encryption_info
|
|
244
|
+
# @return [::Google::Ads::DataManager::V1::EncryptionInfo]
|
|
245
|
+
# Optional. Encryption information about encryption keys which are used to
|
|
246
|
+
# encrypt the data.
|
|
247
|
+
# @!attribute [rw] validate_only
|
|
248
|
+
# @return [::Boolean]
|
|
249
|
+
# Optional. If `true`, the request is validated but not executed.
|
|
250
|
+
# @!attribute [rw] encoding
|
|
251
|
+
# @return [::Google::Ads::DataManager::V1::Encoding]
|
|
252
|
+
# Required. The encoding type of the user identifiers. For encrypted user
|
|
253
|
+
# identifiers, this only applies to the outer encoding.
|
|
254
|
+
class RemoveUsersRequest
|
|
255
|
+
include ::Google::Protobuf::MessageExts
|
|
256
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
# Response from the RemoveUsersRequest.
|
|
260
|
+
# @!attribute [rw] request_id
|
|
261
|
+
# @return [::String]
|
|
262
|
+
# The generated request id of the Ingestion Request.
|
|
263
|
+
class RemoveUsersResponse
|
|
264
|
+
include ::Google::Protobuf::MessageExts
|
|
265
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
266
|
+
end
|
|
267
|
+
|
|
201
268
|
# Request to upload ad events.
|
|
202
269
|
# @!attribute [rw] ad_events
|
|
203
270
|
# @return [::Array<::Google::Ads::DataManager::V1::AdEvent>]
|
|
204
271
|
# Required. Required (at least 1). A list of ad events.
|
|
205
272
|
# @!attribute [rw] encryption_info
|
|
206
273
|
# @return [::Google::Ads::DataManager::V1::EncryptionInfo]
|
|
207
|
-
#
|
|
208
|
-
# data.
|
|
274
|
+
# Optional. Information about encryption keys which are used to encrypt the
|
|
275
|
+
# data. This field must be provided when ad events contain
|
|
276
|
+
# {::Google::Ads::DataManager::V1::UserData UserData}.
|
|
209
277
|
# @!attribute [rw] validate_only
|
|
210
278
|
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
211
279
|
# @return [::Boolean]
|
|
@@ -100,6 +100,7 @@ module Google
|
|
|
100
100
|
# feature set, the following fields are also supported:
|
|
101
101
|
#
|
|
102
102
|
# - `partner_customer_account.account_id`
|
|
103
|
+
# - `partner_link_metadata.implicit_accounts.account_id`
|
|
103
104
|
#
|
|
104
105
|
# Example:
|
|
105
106
|
# `owning_account.account_type = "GOOGLE_ADS" AND partner_account.account_id
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
# Represents a single user, containing identifiers like PII and mobile device
|
|
25
|
+
# IDs that all refer to the same user.
|
|
26
|
+
# @!attribute [rw] user_data
|
|
27
|
+
# @return [::Google::Ads::DataManager::V1::UserData]
|
|
28
|
+
# Required. Multiple pieces of user-provided data, used as the means of
|
|
29
|
+
# identifying the user.
|
|
30
|
+
# @!attribute [rw] mobile_data
|
|
31
|
+
# @return [::Google::Ads::DataManager::V1::MobileData]
|
|
32
|
+
# Required. Multiple mobile device ID strings to represent a single user.
|
|
33
|
+
class User
|
|
34
|
+
include ::Google::Protobuf::MessageExts
|
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
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.
|
|
4
|
+
version: 0.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -133,6 +133,7 @@ files:
|
|
|
133
133
|
- lib/google/ads/datamanager/v1/user_list_pb.rb
|
|
134
134
|
- lib/google/ads/datamanager/v1/user_list_service_pb.rb
|
|
135
135
|
- lib/google/ads/datamanager/v1/user_list_service_services_pb.rb
|
|
136
|
+
- lib/google/ads/datamanager/v1/user_pb.rb
|
|
136
137
|
- lib/google/ads/datamanager/v1/user_properties_pb.rb
|
|
137
138
|
- lib/google/ads/datamanager/v1/viewability_info_pb.rb
|
|
138
139
|
- proto_docs/README.md
|
|
@@ -157,6 +158,7 @@ files:
|
|
|
157
158
|
- proto_docs/google/ads/datamanager/v1/processing_errors.rb
|
|
158
159
|
- proto_docs/google/ads/datamanager/v1/request_status_per_destination.rb
|
|
159
160
|
- proto_docs/google/ads/datamanager/v1/terms_of_service.rb
|
|
161
|
+
- proto_docs/google/ads/datamanager/v1/user.rb
|
|
160
162
|
- proto_docs/google/ads/datamanager/v1/user_data.rb
|
|
161
163
|
- proto_docs/google/ads/datamanager/v1/user_list.rb
|
|
162
164
|
- proto_docs/google/ads/datamanager/v1/user_list_direct_license.rb
|