google-ads-data_manager-v1 0.5.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 +4 -4
- data/README.md +1 -1
- data/lib/google/ads/data_manager/v1/ingestion_service/client.rb +95 -0
- data/lib/google/ads/data_manager/v1/ingestion_service/rest/client.rb +96 -0
- data/lib/google/ads/data_manager/v1/ingestion_service/rest/service_stub.rb +60 -0
- data/lib/google/ads/data_manager/v1/marketing_data_insights_service/client.rb +2 -0
- data/lib/google/ads/data_manager/v1/marketing_data_insights_service/rest/client.rb +2 -0
- data/lib/google/ads/data_manager/v1/partner_link_service/client.rb +2 -0
- data/lib/google/ads/data_manager/v1/partner_link_service/rest/client.rb +2 -0
- data/lib/google/ads/data_manager/v1/user_list_direct_license_service/client.rb +2 -0
- data/lib/google/ads/data_manager/v1/user_list_direct_license_service/rest/client.rb +2 -0
- data/lib/google/ads/data_manager/v1/user_list_global_license_service/client.rb +2 -0
- data/lib/google/ads/data_manager/v1/user_list_global_license_service/rest/client.rb +2 -0
- data/lib/google/ads/data_manager/v1/user_list_service/client.rb +2 -0
- data/lib/google/ads/data_manager/v1/user_list_service/rest/client.rb +2 -0
- data/lib/google/ads/data_manager/v1/version.rb +1 -1
- data/lib/google/ads/datamanager/v1/ad_event_pb.rb +36 -0
- data/lib/google/ads/datamanager/v1/destination_pb.rb +1 -1
- data/lib/google/ads/datamanager/v1/device_info_pb.rb +2 -1
- data/lib/google/ads/datamanager/v1/encryption_info_pb.rb +2 -1
- data/lib/google/ads/datamanager/v1/ingestion_service_pb.rb +4 -1
- data/lib/google/ads/datamanager/v1/ingestion_service_services_pb.rb +6 -0
- data/lib/google/ads/datamanager/v1/partner_link_service_pb.rb +4 -1
- data/lib/google/ads/datamanager/v1/viewability_info_pb.rb +26 -0
- data/proto_docs/google/ads/datamanager/v1/ad_event.rb +405 -0
- data/proto_docs/google/ads/datamanager/v1/destination.rb +1 -1
- data/proto_docs/google/ads/datamanager/v1/encryption_info.rb +23 -2
- data/proto_docs/google/ads/datamanager/v1/error.rb +2 -0
- data/proto_docs/google/ads/datamanager/v1/ingestion_service.rb +22 -0
- data/proto_docs/google/ads/datamanager/v1/partner_link_service.rb +54 -0
- data/proto_docs/google/ads/datamanager/v1/viewability_info.rb +91 -0
- metadata +7 -3
|
@@ -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\"\
|
|
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\
|
|
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\"\
|
|
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
|
-
#
|
|
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}.
|