google-ads-data_manager-v1 0.12.0 → 0.13.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 +9 -0
- data/lib/google/ads/data_manager/v1/ingestion_service/rest/client.rb +9 -0
- data/lib/google/ads/data_manager/v1/reporting_service/client.rb +536 -0
- data/lib/google/ads/data_manager/v1/reporting_service/credentials.rb +47 -0
- data/lib/google/ads/data_manager/v1/reporting_service/rest/client.rb +486 -0
- data/lib/google/ads/data_manager/v1/reporting_service/rest/service_stub.rb +142 -0
- data/lib/google/ads/data_manager/v1/reporting_service/rest.rb +51 -0
- data/lib/google/ads/data_manager/v1/reporting_service.rb +54 -0
- data/lib/google/ads/data_manager/v1/rest.rb +1 -0
- data/lib/google/ads/data_manager/v1/version.rb +1 -1
- data/lib/google/ads/data_manager/v1.rb +1 -0
- data/lib/google/ads/datamanager/v1/call_info_pb.rb +24 -0
- data/lib/google/ads/datamanager/v1/error_pb.rb +1 -1
- data/lib/google/ads/datamanager/v1/event_pb.rb +2 -1
- data/lib/google/ads/datamanager/v1/ingestion_service_services_pb.rb +9 -0
- data/lib/google/ads/datamanager/v1/partner_match_report_entry_pb.rb +28 -0
- data/lib/google/ads/datamanager/v1/processing_errors_pb.rb +1 -1
- data/lib/google/ads/datamanager/v1/reporting_service_pb.rb +27 -0
- data/lib/google/ads/datamanager/v1/reporting_service_services_pb.rb +47 -0
- data/proto_docs/google/ads/datamanager/v1/call_info.rb +36 -0
- data/proto_docs/google/ads/datamanager/v1/cart_data.rb +1 -1
- data/proto_docs/google/ads/datamanager/v1/error.rb +37 -6
- data/proto_docs/google/ads/datamanager/v1/event.rb +8 -1
- data/proto_docs/google/ads/datamanager/v1/item_parameter.rb +1 -1
- data/proto_docs/google/ads/datamanager/v1/partner_match_report_entry.rb +119 -0
- data/proto_docs/google/ads/datamanager/v1/processing_errors.rb +38 -0
- data/proto_docs/google/ads/datamanager/v1/reporting_service.rb +108 -0
- data/proto_docs/google/ads/datamanager/v1/user_list.rb +5 -5
- data/proto_docs/google/ads/datamanager/v1/user_properties.rb +2 -2
- data/proto_docs/google/type/money.rb +43 -0
- metadata +15 -1
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
require "gapic/common"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/ads/data_manager/v1/version"
|
|
24
|
+
|
|
25
|
+
require "google/ads/data_manager/v1/reporting_service/credentials"
|
|
26
|
+
require "google/ads/data_manager/v1/reporting_service/client"
|
|
27
|
+
require "google/ads/data_manager/v1/reporting_service/rest"
|
|
28
|
+
|
|
29
|
+
module Google
|
|
30
|
+
module Ads
|
|
31
|
+
module DataManager
|
|
32
|
+
module V1
|
|
33
|
+
##
|
|
34
|
+
# Service for querying reports.
|
|
35
|
+
#
|
|
36
|
+
# @example Load this service and instantiate a gRPC client
|
|
37
|
+
#
|
|
38
|
+
# require "google/ads/data_manager/v1/reporting_service"
|
|
39
|
+
# client = ::Google::Ads::DataManager::V1::ReportingService::Client.new
|
|
40
|
+
#
|
|
41
|
+
# @example Load this service and instantiate a REST client
|
|
42
|
+
#
|
|
43
|
+
# require "google/ads/data_manager/v1/reporting_service/rest"
|
|
44
|
+
# client = ::Google::Ads::DataManager::V1::ReportingService::Rest::Client.new
|
|
45
|
+
#
|
|
46
|
+
module ReportingService
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
helper_path = ::File.join __dir__, "reporting_service", "helpers.rb"
|
|
54
|
+
require "google/ads/data_manager/v1/reporting_service/helpers" if ::File.file? helper_path
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
require "google/ads/data_manager/v1/ingestion_service/rest"
|
|
20
20
|
require "google/ads/data_manager/v1/marketing_data_insights_service/rest"
|
|
21
21
|
require "google/ads/data_manager/v1/partner_link_service/rest"
|
|
22
|
+
require "google/ads/data_manager/v1/reporting_service/rest"
|
|
22
23
|
require "google/ads/data_manager/v1/user_list_direct_license_service/rest"
|
|
23
24
|
require "google/ads/data_manager/v1/user_list_global_license_service/rest"
|
|
24
25
|
require "google/ads/data_manager/v1/user_list_service/rest"
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
require "google/ads/data_manager/v1/ingestion_service"
|
|
20
20
|
require "google/ads/data_manager/v1/marketing_data_insights_service"
|
|
21
21
|
require "google/ads/data_manager/v1/partner_link_service"
|
|
22
|
+
require "google/ads/data_manager/v1/reporting_service"
|
|
22
23
|
require "google/ads/data_manager/v1/user_list_direct_license_service"
|
|
23
24
|
require "google/ads/data_manager/v1/user_list_global_license_service"
|
|
24
25
|
require "google/ads/data_manager/v1/user_list_service"
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/call_info.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n)google/ads/datamanager/v1/call_info.proto\x12\x19google.ads.datamanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"E\n\x08\x43\x61llInfo\x12\x39\n\x0fstart_timestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x42\xca\x01\n\x1d\x63om.google.ads.datamanager.v1B\rCallInfoProtoP\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
|
+
CallInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.CallInfo").msgclass
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
descriptor_data = "\n%google/ads/datamanager/v1/error.proto\x12\x19google.ads.datamanager.v1*\
|
|
8
|
+
descriptor_data = "\n%google/ads/datamanager/v1/error.proto\x12\x19google.ads.datamanager.v1*\x8d%\n\x0b\x45rrorReason\x12\x1c\n\x18\x45RROR_REASON_UNSPECIFIED\x10\x00\x12\x12\n\x0eINTERNAL_ERROR\x10\x01\x12\x15\n\x11\x44\x45\x41\x44LINE_EXCEEDED\x10\x02\x12\x16\n\x12RESOURCE_EXHAUSTED\x10\x03\x12\r\n\tNOT_FOUND\x10\x04\x12\x15\n\x11PERMISSION_DENIED\x10\x05\x12\x14\n\x10INVALID_ARGUMENT\x10\x06\x12\x1a\n\x16REQUIRED_FIELD_MISSING\x10\x07\x12\x12\n\x0eINVALID_FORMAT\x10\x08\x12\x18\n\x14INVALID_HEX_ENCODING\x10\t\x12\x1b\n\x17INVALID_BASE64_ENCODING\x10\n\x12\x19\n\x15INVALID_SHA256_FORMAT\x10\x0b\x12\x17\n\x13INVALID_POSTAL_CODE\x10\x0c\x12\x1c\n\x14INVALID_COUNTRY_CODE\x10\r\x1a\x02\x08\x01\x12\x16\n\x12INVALID_ENUM_VALUE\x10\x0e\x12\x1a\n\x16INVALID_USER_LIST_TYPE\x10\x0f\x12\x1b\n\x17INVALID_AUDIENCE_MEMBER\x10\x10\x12\x1d\n\x19TOO_MANY_AUDIENCE_MEMBERS\x10\x11\x12\x1d\n\x19TOO_MANY_USER_IDENTIFIERS\x10\x12\x12\x19\n\x15TOO_MANY_DESTINATIONS\x10\x13\x12\x17\n\x13INVALID_DESTINATION\x10\x14\x12-\n)DATA_PARTNER_USER_LIST_MUTATE_NOT_ALLOWED\x10\x15\x12\x1c\n\x18INVALID_MOBILE_ID_FORMAT\x10\x16\x12\x18\n\x14INVALID_USER_LIST_ID\x10\x17\x12#\n\x1fMULTIPLE_DATA_TYPES_NOT_ALLOWED\x10\x18\x12\x39\n5DIFFERENT_LOGIN_ACCOUNTS_NOT_ALLOWED_FOR_DATA_PARTNER\x10\x19\x12#\n\x1fTERMS_AND_CONDITIONS_NOT_SIGNED\x10\x1a\x12\x19\n\x15INVALID_NUMBER_FORMAT\x10\x1b\x12 \n\x1cINVALID_CONVERSION_ACTION_ID\x10\x1c\x12\"\n\x1eINVALID_CONVERSION_ACTION_TYPE\x10\x1d\x12\x1d\n\x18\x45NCRYPTION_NOT_SUPPORTED\x10\x84\x01\x12\x19\n\x15INVALID_CURRENCY_CODE\x10\x1e\x12\x11\n\rINVALID_EVENT\x10\x1f\x12\x13\n\x0fTOO_MANY_EVENTS\x10 \x12\x42\n>DESTINATION_ACCOUNT_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS\x10!\x12\x42\n>DESTINATION_ACCOUNT_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS\x10\"\x12=\n9DESTINATION_ACCOUNT_ENHANCED_CONVERSIONS_TERMS_NOT_SIGNED\x10#\x12#\n\x1f\x44UPLICATE_DESTINATION_REFERENCE\x10$\x12\x32\n.UNSUPPORTED_OPERATING_ACCOUNT_FOR_DATA_PARTNER\x10%\x12/\n+UNSUPPORTED_LINKED_ACCOUNT_FOR_DATA_PARTNER\x10&\x12\x1b\n\x17NO_IDENTIFIERS_PROVIDED\x10\'\x12\x19\n\x15INVALID_PROPERTY_TYPE\x10(\x12\x17\n\x13INVALID_STREAM_TYPE\x10)\x12?\n;LINKED_ACCOUNT_ONLY_ALLOWED_WITH_DATA_PARTNER_LOGIN_ACCOUNT\x10*\x12,\n(OPERATING_ACCOUNT_LOGIN_ACCOUNT_MISMATCH\x10+\x12\x16\n\x12\x45VENT_TIME_INVALID\x10,\x12\x16\n\x12RESERVED_NAME_USED\x10-\x12\x16\n\x12INVALID_EVENT_NAME\x10.\x12\x13\n\x0fNOT_ALLOWLISTED\x10/\x12\x16\n\x12INVALID_REQUEST_ID\x10\x30\x12\x34\n0MULTIPLE_DESTINATIONS_FOR_GOOGLE_ANALYTICS_EVENT\x10\x31\x12\x18\n\x14\x46IELD_VALUE_TOO_LONG\x10\x32\x12\x19\n\x15\x46IELD_VALUE_TOO_SHORT\x10j\x12\x15\n\x11TOO_MANY_ELEMENTS\x10\x33\x12\x14\n\x10TOO_FEW_ELEMENTS\x10i\x12\x12\n\x0e\x41LREADY_EXISTS\x10\x34\x12\x1e\n\x1aIMMUTABLE_FIELD_FOR_UPDATE\x10\x35\x12\x19\n\x15INVALID_RESOURCE_NAME\x10\x36\x12\x12\n\x0eINVALID_FILTER\x10\x37\x12\x17\n\x13INVALID_UPDATE_MASK\x10\x38\x12\x16\n\x12INVALID_PAGE_TOKEN\x10\x39\x12\"\n\x1e\x43\x41NNOT_UPDATE_DISABLED_LICENSE\x10:\x12\x30\n,CANNOT_CREATE_LICENSE_FOR_SENSITIVE_USERLIST\x10;\x12\x15\n\x11INSUFFICIENT_COST\x10<\x12\x1a\n\x16\x43\x41NNOT_DISABLE_LICENSE\x10=\x12\x1d\n\x19INVALID_CLIENT_ACCOUNT_ID\x10>\x12\"\n\x1ePRICING_ONLY_ZERO_COST_ALLOWED\x10?\x12\x12\n\x0ePRICE_TOO_HIGH\x10@\x12*\n&CUSTOMER_NOT_ALLOWED_TO_CREATE_LICENSE\x10\x41\x12\x1c\n\x18INVALID_PRICING_END_DATE\x10\x42\x12?\n;CANNOT_LICENSE_LOGICAL_LIST_WITH_LICENSED_OR_SHARED_SEGMENT\x10\x43\x12\x1b\n\x17MISMATCHED_ACCOUNT_TYPE\x10\x44\x12\x31\n-MEDIA_SHARE_COST_NOT_ALLOWED_FOR_LICENSE_TYPE\x10\x45\x12\x34\n0MEDIA_SHARE_COST_NOT_ALLOWED_FOR_CLIENT_CUSTOMER\x10\x46\x12\x1c\n\x18INVALID_MEDIA_SHARE_COST\x10G\x12\x15\n\x11INVALID_COST_TYPE\x10H\x12;\n7MEDIA_SHARE_COST_NOT_ALLOWED_FOR_NON_COMMERCE_USER_LIST\x10I\x12\x18\n\x14MAX_COST_NOT_ALLOWED\x10J\x12\x33\n/COMMERCE_AUDIENCE_CAN_ONLY_BE_DIRECTLY_LICENSED\x10K\x12\x17\n\x13INVALID_DESCRIPTION\x10L\x12\x18\n\x14INVALID_DISPLAY_NAME\x10M\x12\x1d\n\x19\x44ISPLAY_NAME_ALREADY_USED\x10N\x12!\n\x1dOWNERSHIP_REQUIRED_FOR_UPDATE\x10O\x12$\n USER_LIST_MUTATION_NOT_SUPPORTED\x10P\x12!\n\x1dSENSITIVE_USER_LIST_IMMUTABLE\x10Q\x12#\n\x1f\x42ILLABLE_RECORD_COUNT_IMMUTABLE\x10R\x12\x1b\n\x17USER_LIST_NAME_RESERVED\x10S\x12\x30\n,ADVERTISER_NOT_ALLOWLISTED_FOR_UPLOADED_DATA\x10T\x12\'\n#UNSUPPORTED_PARTNER_AUDIENCE_SOURCE\x10U\x12 \n\x1c\x43OMMERCE_PARTNER_NOT_ALLOWED\x10V\x12%\n!UNSUPPORTED_PARTNER_AUDIENCE_INFO\x10W\x12\x30\n,PARTNER_MATCH_FOR_MANAGER_ACCOUNT_DISALLOWED\x10X\x12=\n9DATA_PARTNER_NOT_ALLOWLISTED_FOR_THIRD_PARTY_PARTNER_DATA\x10Y\x12\x1f\n\x1b\x41\x44VERTISER_TOS_NOT_ACCEPTED\x10Z\x12;\n7ADVERTISER_NOT_ALLOWLISTED_FOR_THIRD_PARTY_PARTNER_DATA\x10[\x12,\n(USER_LIST_TYPE_NOT_SUPPORTED_FOR_ACCOUNT\x10\\\x12\x1c\n\x18INVALID_COMMERCE_PARTNER\x10]\x12\x32\n.CUSTOMER_NOT_ALLOWLISTED_FOR_COMMERCE_AUDIENCE\x10^\x12*\n&UNSUPPORTED_USER_LIST_UPLOAD_KEY_TYPES\x10_\x12.\n*UNSUPPORTED_INGESTED_USER_LIST_INFO_CONFIG\x10`\x12\x30\n,UNSUPPORTED_ACCOUNT_TYPES_FOR_USER_LIST_TYPE\x10\x61\x12-\n)UNSUPPORTED_ACCOUNT_TYPE_FOR_PARTNER_LINK\x10\x62\x12 \n\x1cMEMBERSHIP_DURATION_TOO_LONG\x10\x63\x12\x17\n\x13INVALID_MERCHANT_ID\x10\x64\x12\x31\n-EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED\x10\x65\x12&\n\"ACCOUNT_INELIGIBLE_FOR_STORE_SALES\x10\x66\x12\'\n#INVALID_MERCHANT_FEED_LANGUAGE_CODE\x10g\x12\x17\n\x13INVALID_REGION_CODE\x10h\x12\x1c\n\x18INVALID_SUBDIVISION_CODE\x10k\x12\x1d\n\x19INVALID_SUBCONTINENT_CODE\x10l\x12\x1a\n\x16INVALID_CONTINENT_CODE\x10m\x12\x1b\n\x17INVALID_DEVICE_CATEGORY\x10n\x12\x32\n.BOTH_CLIENT_ID_AND_APP_INSTANCE_ID_NOT_ALLOWED\x10o\x12?\n;GOOGLE_ANALYTICS_SUBPROPERTY_OR_ROLLUP_PROPERTY_NOT_ALLOWED\x10p\x12%\n!THIRD_PARTY_USER_DATA_NOT_ALLOWED\x10q\x12\x17\n\x13INVALID_COUPON_CODE\x10r\x12)\n%EVENT_SOURCE_AND_DESTINATION_MISMATCH\x10s\x12%\n!DESTINATION_ACCOUNT_TYPE_MISMATCH\x10t\x12&\n\"CUSTOM_VARIABLE_VALUE_CONTAINS_PII\x10u\x12\x1f\n\x1b\x43USTOM_VARIABLE_NOT_ENABLED\x10v\x12!\n\x1dINVALID_CUSTOM_VARIABLE_VALUE\x10w\x12\x1d\n\x19\x43USTOM_VARIABLE_NOT_FOUND\x10x\x12\x12\n\x0eTOO_MANY_USERS\x10y\x12+\n\'BASELINE_LOCATION_AUTO_DETECTION_FAILED\x10z\x12\"\n\x1eINSIGHTS_MISSING_FOR_DIMENSION\x10{\x12*\n\"REQUIRED_PREREQUISITE_LINK_MISSING\x10|\x1a\x02\x08\x01\x12\x1d\n\x19INVALID_REMOVE_AS_OF_TIME\x10}\x12\x13\n\x0fREQUEST_TOO_OLD\x10~\x12*\n&CONVERSION_ACTION_TOO_RECENTLY_CREATED\x10\x7f\x12&\n!INVALID_AD_IDENTIFIER_FOR_ACCOUNT\x10\x80\x01\x12:\n5UNSUPPORTED_ACCOUNT_TYPE_FOR_USER_LIST_DIRECT_LICENSE\x10\x81\x01\x12\x17\n\x12\x44UPLICATE_ELEMENTS\x10\x82\x01\x12\"\n\x1dUNSUPPORTED_BASELINE_LOCATION\x10\x83\x01\x12\x1d\n\x18\x43ONVERSION_PRECEDES_CALL\x10\x85\x01\x12\x11\n\x0cINVALID_DATE\x10\x86\x01\x42\xc7\x01\n\x1d\x63om.google.ads.datamanager.v1B\nErrorProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
|
|
9
9
|
|
|
10
10
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
11
11
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
|
+
require 'google/ads/datamanager/v1/call_info_pb'
|
|
7
8
|
require 'google/ads/datamanager/v1/cart_data_pb'
|
|
8
9
|
require 'google/ads/datamanager/v1/consent_pb'
|
|
9
10
|
require 'google/ads/datamanager/v1/device_info_pb'
|
|
@@ -15,7 +16,7 @@ require 'google/api/field_behavior_pb'
|
|
|
15
16
|
require 'google/protobuf/timestamp_pb'
|
|
16
17
|
|
|
17
18
|
|
|
18
|
-
descriptor_data = "\n%google/ads/datamanager/v1/event.proto\x12\x19google.ads.datamanager.v1\x1a)google/ads/datamanager/v1/cart_data.proto\x1a\'google/ads/datamanager/v1/consent.proto\x1a+google/ads/datamanager/v1/device_info.proto\x1a\x31google/ads/datamanager/v1/encrypted_user_id.proto\x1a\x32google/ads/datamanager/v1/experimental_field.proto\x1a)google/ads/datamanager/v1/user_data.proto\x1a/google/ads/datamanager/v1/user_properties.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
19
|
+
descriptor_data = "\n%google/ads/datamanager/v1/event.proto\x12\x19google.ads.datamanager.v1\x1a)google/ads/datamanager/v1/call_info.proto\x1a)google/ads/datamanager/v1/cart_data.proto\x1a\'google/ads/datamanager/v1/consent.proto\x1a+google/ads/datamanager/v1/device_info.proto\x1a\x31google/ads/datamanager/v1/encrypted_user_id.proto\x1a\x32google/ads/datamanager/v1/experimental_field.proto\x1a)google/ads/datamanager/v1/user_data.proto\x1a/google/ads/datamanager/v1/user_properties.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd4\n\n\x05\x45vent\x12$\n\x16\x64\x65stination_references\x18\x01 \x03(\tB\x04\xe2\x41\x01\x01\x12\x1c\n\x0etransaction_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x39\n\x0f\x65vent_timestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12@\n\x16last_updated_timestamp\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x01\x12<\n\tuser_data\x18\x05 \x01(\x0b\x32#.google.ads.datamanager.v1.UserDataB\x04\xe2\x41\x01\x01\x12\x39\n\x07\x63onsent\x18\x06 \x01(\x0b\x32\".google.ads.datamanager.v1.ConsentB\x04\xe2\x41\x01\x01\x12\x46\n\x0e\x61\x64_identifiers\x18\x07 \x01(\x0b\x32(.google.ads.datamanager.v1.AdIdentifiersB\x04\xe2\x41\x01\x01\x12\x16\n\x08\x63urrency\x18\x08 \x01(\tB\x04\xe2\x41\x01\x01\x12#\n\x10\x63onversion_value\x18\t \x01(\x01\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12#\n\x10\x63onversion_count\x18\x17 \x01(\x01\x42\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x12\x42\n\x0c\x65vent_source\x18\n \x01(\x0e\x32&.google.ads.datamanager.v1.EventSourceB\x04\xe2\x41\x01\x01\x12\x46\n\x11\x65vent_device_info\x18\x0b \x01(\x0b\x32%.google.ads.datamanager.v1.DeviceInfoB\x04\xe2\x41\x01\x01\x12<\n\tcart_data\x18\x0c \x01(\x0b\x32#.google.ads.datamanager.v1.CartDataB\x04\xe2\x41\x01\x01\x12I\n\x10\x63ustom_variables\x18\r \x03(\x0b\x32).google.ads.datamanager.v1.CustomVariableB\x04\xe2\x41\x01\x01\x12O\n\x13\x65xperimental_fields\x18\x0e \x03(\x0b\x32,.google.ads.datamanager.v1.ExperimentalFieldB\x04\xe2\x41\x01\x01\x12H\n\x0fuser_properties\x18\x0f \x01(\x0b\x32).google.ads.datamanager.v1.UserPropertiesB\x04\xe2\x41\x01\x01\x12\x18\n\nevent_name\x18\x10 \x01(\tB\x04\xe2\x41\x01\x01\x12\x17\n\tclient_id\x18\x11 \x01(\tB\x04\xe2\x41\x01\x01\x12\x15\n\x07user_id\x18\x12 \x01(\tB\x04\xe2\x41\x01\x01\x12T\n\x1b\x61\x64\x64itional_event_parameters\x18\x13 \x03(\x0b\x32).google.ads.datamanager.v1.EventParameterB\x04\xe2\x41\x01\x01\x12H\n\x15third_party_user_data\x18\x14 \x01(\x0b\x32#.google.ads.datamanager.v1.UserDataB\x04\xe2\x41\x01\x01\x12\x46\n\x0e\x65vent_location\x18\x15 \x01(\x0b\x32(.google.ads.datamanager.v1.EventLocationB\x04\xe2\x41\x01\x01\x12\x1d\n\x0f\x61pp_instance_id\x18\x16 \x01(\tB\x04\xe2\x41\x01\x01\x12<\n\tcall_info\x18\x18 \x01(\x0b\x32#.google.ads.datamanager.v1.CallInfoB\x04\xe2\x41\x01\x01\x42\x13\n\x11_conversion_valueB\x13\n\x11_conversion_count\"\xc0\x03\n\rAdIdentifiers\x12 \n\x12session_attributes\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x13\n\x05gclid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06gbraid\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06wbraid\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12M\n\x18landing_page_device_info\x18\x05 \x01(\x0b\x32%.google.ads.datamanager.v1.DeviceInfoB\x04\xe2\x41\x01\x01\x12\x1e\n\x10mobile_device_id\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\x12\x13\n\x05\x64\x63lid\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\rimpression_id\x18\x08 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08match_id\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12L\n\x12\x65ncrypted_user_ids\x18\n \x03(\x0b\x32*.google.ads.datamanager.v1.EncryptedUserIdB\x04\xe2\x41\x01\x01\x12\x12\n\x04ppid\x18\x0b \x01(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cvisitor_ppid\x18\x0c \x01(\tB\x04\xe2\x41\x01\x01\x12\x15\n\x07lead_id\x18\r \x01(\tB\x04\xe2\x41\x01\x01\"c\n\x0e\x43ustomVariable\x12\x16\n\x08variable\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x13\n\x05value\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12$\n\x16\x64\x65stination_references\x18\x03 \x03(\tB\x04\xe2\x41\x01\x01\"C\n\x0e\x45ventParameter\x12\x1c\n\x0eparameter_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x13\n\x05value\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\"\xb5\x01\n\rEventLocation\x12\x16\n\x08store_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04\x63ity\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1e\n\x10subdivision_code\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0bregion_code\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1f\n\x11subcontinent_code\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1c\n\x0e\x63ontinent_code\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01*n\n\x0b\x45ventSource\x12\x1c\n\x18\x45VENT_SOURCE_UNSPECIFIED\x10\x00\x12\x07\n\x03WEB\x10\x01\x12\x07\n\x03\x41PP\x10\x02\x12\x0c\n\x08IN_STORE\x10\x03\x12\t\n\x05PHONE\x10\x04\x12\x0b\n\x07MESSAGE\x10\x06\x12\t\n\x05OTHER\x10\x05\x42\xc7\x01\n\x1d\x63om.google.ads.datamanager.v1B\nEventProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
|
|
19
20
|
|
|
20
21
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
21
22
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -65,6 +65,15 @@ module Google
|
|
|
65
65
|
# Analytics.
|
|
66
66
|
#
|
|
67
67
|
# This feature is only available to accounts on an allowlist.
|
|
68
|
+
#
|
|
69
|
+
# Authorization Headers:
|
|
70
|
+
#
|
|
71
|
+
# This method also requires the following header to define how the API
|
|
72
|
+
# authorizes access for the request:
|
|
73
|
+
#
|
|
74
|
+
# * `login-account`: (Required) The resource name of the Data Partner account
|
|
75
|
+
# where the Google Account of the credentials is a user. Format:
|
|
76
|
+
# `accountTypes/DATA_PARTNER/accounts/{loginAccountId}`
|
|
68
77
|
rpc :IngestAdEvents, ::Google::Ads::DataManager::V1::IngestAdEventsRequest, ::Google::Ads::DataManager::V1::IngestAdEventsResponse
|
|
69
78
|
# Gets the status of a request given request id.
|
|
70
79
|
rpc :RetrieveRequestStatus, ::Google::Ads::DataManager::V1::RetrieveRequestStatusRequest, ::Google::Ads::DataManager::V1::RetrieveRequestStatusResponse
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/partner_match_report_entry.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/type/money_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n:google/ads/datamanager/v1/partner_match_report_entry.proto\x12\x19google.ads.datamanager.v1\x1a\x17google/type/money.proto\"\xe5\x03\n\x17PartnerMatchReportEntry\x12T\n\x12\x61\x64vertiser_account\x18\x01 \x01(\x0b\x32\x38.google.ads.datamanager.v1.PartnerMatchAdvertiserAccount\x12\x41\n\x08\x63\x61mpaign\x18\x02 \x01(\x0b\x32/.google.ads.datamanager.v1.PartnerMatchCampaign\x12@\n\x08\x61\x64_group\x18\x03 \x01(\x0b\x32..google.ads.datamanager.v1.PartnerMatchAdGroup\x12\x42\n\tuser_list\x18\x04 \x01(\x0b\x32/.google.ads.datamanager.v1.PartnerMatchUserList\x12\x18\n\x10impression_count\x18\x05 \x01(\x03\x12&\n\nmedia_cost\x18\x06 \x01(\x0b\x32\x12.google.type.Money\x12\x42\n\tline_item\x18\x07 \x01(\x0b\x32/.google.ads.datamanager.v1.PartnerMatchLineItem\x12%\n\tdata_fees\x18\x08 \x01(\x0b\x32\x12.google.type.Money\"_\n\x1dPartnerMatchAdvertiserAccount\x12\x14\n\x0c\x61\x63\x63ount_type\x18\x01 \x01(\t\x12\x12\n\naccount_id\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\"A\n\x14PartnerMatchCampaign\x12\x13\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\"@\n\x13PartnerMatchAdGroup\x12\x13\n\x0b\x61\x64_group_id\x18\x01 \x01(\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\"B\n\x14PartnerMatchUserList\x12\x14\n\x0cuser_list_id\x18\x01 \x01(\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\"B\n\x14PartnerMatchLineItem\x12\x14\n\x0cline_item_id\x18\x01 \x01(\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\tB\xd9\x01\n\x1d\x63om.google.ads.datamanager.v1B\x1cPartnerMatchReportEntryProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
|
|
11
|
+
|
|
12
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
|
|
15
|
+
module Google
|
|
16
|
+
module Ads
|
|
17
|
+
module DataManager
|
|
18
|
+
module V1
|
|
19
|
+
PartnerMatchReportEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PartnerMatchReportEntry").msgclass
|
|
20
|
+
PartnerMatchAdvertiserAccount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PartnerMatchAdvertiserAccount").msgclass
|
|
21
|
+
PartnerMatchCampaign = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PartnerMatchCampaign").msgclass
|
|
22
|
+
PartnerMatchAdGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PartnerMatchAdGroup").msgclass
|
|
23
|
+
PartnerMatchUserList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PartnerMatchUserList").msgclass
|
|
24
|
+
PartnerMatchLineItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.PartnerMatchLineItem").msgclass
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
descriptor_data = "\n1google/ads/datamanager/v1/processing_errors.proto\x12\x19google.ads.datamanager.v1\"H\n\tErrorInfo\x12;\n\x0c\x65rror_counts\x18\x01 \x03(\x0b\x32%.google.ads.datamanager.v1.ErrorCount\"
|
|
8
|
+
descriptor_data = "\n1google/ads/datamanager/v1/processing_errors.proto\x12\x19google.ads.datamanager.v1\"H\n\tErrorInfo\x12;\n\x0c\x65rror_counts\x18\x01 \x03(\x0b\x32%.google.ads.datamanager.v1.ErrorCount\"|\n\nErrorCount\x12\x14\n\x0crecord_count\x18\x01 \x01(\x03\x12@\n\x06reason\x18\x02 \x01(\x0e\x32\x30.google.ads.datamanager.v1.ProcessingErrorReason\x12\x16\n\x0erecord_indices\x18\x03 \x03(\x05\"N\n\x0bWarningInfo\x12?\n\x0ewarning_counts\x18\x01 \x03(\x0b\x32\'.google.ads.datamanager.v1.WarningCount\"\x80\x01\n\x0cWarningCount\x12\x14\n\x0crecord_count\x18\x01 \x01(\x03\x12\x42\n\x06reason\x18\x02 \x01(\x0e\x32\x32.google.ads.datamanager.v1.ProcessingWarningReason\x12\x16\n\x0erecord_indices\x18\x03 \x03(\x05\"l\n\x0c\x46ieldWarning\x12\x38\n\x06reason\x18\x01 \x01(\x0e\x32(.google.ads.datamanager.v1.WarningReason\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05\x66ield\x18\x03 \x01(\t*\xa5\x14\n\x15ProcessingErrorReason\x12\'\n#PROCESSING_ERROR_REASON_UNSPECIFIED\x10\x00\x12\x33\n/PROCESSING_ERROR_REASON_INVALID_CUSTOM_VARIABLE\x10\x01\x12\x37\n3PROCESSING_ERROR_REASON_CUSTOM_VARIABLE_NOT_ENABLED\x10\x02\x12)\n%PROCESSING_ERROR_REASON_EVENT_TOO_OLD\x10\x03\x12*\n&PROCESSING_ERROR_REASON_DENIED_CONSENT\x10\x04\x12&\n\"PROCESSING_ERROR_REASON_NO_CONSENT\x10\x05\x12+\n\'PROCESSING_ERROR_REASON_UNKNOWN_CONSENT\x10\x06\x12+\n\'PROCESSING_ERROR_REASON_DUPLICATE_GCLID\x10\x07\x12\x34\n0PROCESSING_ERROR_REASON_DUPLICATE_TRANSACTION_ID\x10\x08\x12*\n&PROCESSING_ERROR_REASON_INVALID_GBRAID\x10\t\x12)\n%PROCESSING_ERROR_REASON_INVALID_GCLID\x10\n\x12/\n+PROCESSING_ERROR_REASON_INVALID_MERCHANT_ID\x10\x0b\x12*\n&PROCESSING_ERROR_REASON_INVALID_WBRAID\x10\x0c\x12*\n&PROCESSING_ERROR_REASON_INTERNAL_ERROR\x10\r\x12U\nQPROCESSING_ERROR_REASON_DESTINATION_ACCOUNT_ENHANCED_CONVERSIONS_TERMS_NOT_SIGNED\x10\x0e\x12)\n%PROCESSING_ERROR_REASON_INVALID_EVENT\x10\x0f\x12=\n9PROCESSING_ERROR_REASON_INSUFFICIENT_MATCHED_TRANSACTIONS\x10\x10\x12\x35\n1PROCESSING_ERROR_REASON_INSUFFICIENT_TRANSACTIONS\x10\x11\x12*\n&PROCESSING_ERROR_REASON_INVALID_FORMAT\x10\x12\x12,\n(PROCESSING_ERROR_REASON_DECRYPTION_ERROR\x10\x13\x12\x30\n,PROCESSING_ERROR_REASON_DEK_DECRYPTION_ERROR\x10\x14\x12\'\n#PROCESSING_ERROR_REASON_INVALID_WIP\x10\x15\x12\'\n#PROCESSING_ERROR_REASON_INVALID_KEK\x10\x16\x12+\n\'PROCESSING_ERROR_REASON_WIP_AUTH_FAILED\x10\x17\x12\x31\n-PROCESSING_ERROR_REASON_KEK_PERMISSION_DENIED\x10\x18\x12+\n\'PROCESSING_ERROR_REASON_AWS_AUTH_FAILED\x10\x1b\x12<\n8PROCESSING_ERROR_REASON_USER_IDENTIFIER_DECRYPTION_ERROR\x10\x19\x12\x41\n=PROCESSING_ERROR_OPERATING_ACCOUNT_MISMATCH_FOR_AD_IDENTIFIER\x10\x1a\x12T\nPPROCESSING_ERROR_REASON_ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID\x10\x1c\x12.\n*PROCESSING_ERROR_REASON_MATCH_ID_NOT_FOUND\x10\x1d\x12:\n6PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_MATCH_ID\x10\x1e\x12\x37\n3PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_GCLID\x10\x1f\x12\x37\n3PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_DCLID\x10 \x12\x32\n.PROCESSING_ERROR_REASON_INVALID_AD_IDENTIFIERS\x10!\x12\x34\n0PROCESSING_ERROR_REASON_INVALID_MOBILE_ID_FORMAT\x10\"\x12:\n6PROCESSING_ERROR_REASON_ORIGINAL_CONVERSIONS_NOT_FOUND\x10#\x12\x31\n-PROCESSING_ERROR_REASON_EVENT_ID_DECODE_ERROR\x10$\x12?\n;PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_IMPRESSION_ID\x10%\x12-\n)PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND\x10&\x12\x35\n1PROCESSING_ERROR_REASON_CONVERSION_PRECEDES_CLICK\x10\'\x12,\n(PROCESSING_ERROR_REASON_TOO_RECENT_CLICK\x10(\x12)\n%PROCESSING_ERROR_REASON_INVALID_CLICK\x10)\x12?\n;PROCESSING_ERROR_REASON_INVALID_OPERATING_ACCOUNT_FOR_CLICK\x10*\x12+\n\'PROCESSING_ERROR_REASON_CLICK_NOT_FOUND\x10+\x12=\n9PROCESSING_ERROR_REASON_EXTERNAL_ATTRIBUTION_DATA_MISSING\x10,\x12<\n8PROCESSING_ERROR_REASON_DESTINATION_TOO_RECENTLY_CREATED\x10-\x12)\n%PROCESSING_ERROR_REASON_EXPIRED_CLICK\x10.\x12+\n\'PROCESSING_ERROR_REASON_TOO_RECENT_CALL\x10/\x12(\n$PROCESSING_ERROR_REASON_EXPIRED_CALL\x10\x30\x12(\n$PROCESSING_ERROR_REASON_INVALID_CALL\x10\x31*\xf8\x04\n\x17ProcessingWarningReason\x12)\n%PROCESSING_WARNING_REASON_UNSPECIFIED\x10\x00\x12\x33\n/PROCESSING_WARNING_REASON_KEK_PERMISSION_DENIED\x10\x01\x12\x32\n.PROCESSING_WARNING_REASON_DEK_DECRYPTION_ERROR\x10\x02\x12.\n*PROCESSING_WARNING_REASON_DECRYPTION_ERROR\x10\x03\x12-\n)PROCESSING_WARNING_REASON_WIP_AUTH_FAILED\x10\x04\x12)\n%PROCESSING_WARNING_REASON_INVALID_WIP\x10\x05\x12)\n%PROCESSING_WARNING_REASON_INVALID_KEK\x10\x06\x12>\n:PROCESSING_WARNING_REASON_USER_IDENTIFIER_DECRYPTION_ERROR\x10\x07\x12,\n(PROCESSING_WARNING_REASON_INTERNAL_ERROR\x10\x08\x12-\n)PROCESSING_WARNING_REASON_AWS_AUTH_FAILED\x10\t\x12\x39\n5PROCESSING_WARNING_REASON_CUSTOM_VARIABLE_NOT_ENABLED\x10\n\x12<\n8PROCESSING_WARNING_REASON_CUSTOM_VARIABLE_NOT_PREDEFINED\x10\x0b*\xec\x05\n\rWarningReason\x12\x1e\n\x1aWARNING_REASON_UNSPECIFIED\x10\x00\x12.\n*WARNING_REASON_CUSTOM_VARIABLE_NOT_ENABLED\x10\x01\x12\x31\n-WARNING_REASON_CUSTOM_VARIABLE_NOT_PREDEFINED\x10\x02\x12@\n<WARNING_REASON_CART_DATA_NOT_SUPPORTED_WITH_GBRAID_OR_WBRAID\x10\x03\x12=\n9WARNING_REASON_CART_DATA_ITEM_MERCHANT_PRODUCT_ID_MISSING\x10\x04\x12\x34\n0WARNING_REASON_CART_DATA_ITEM_UNIT_PRICE_MISSING\x10\x05\x12\x1a\n\x16WARNING_REASON_GENERIC\x10\x06\x12$\n WARNING_REASON_INVALID_CLIENT_ID\x10\x07\x12+\n\'WARNING_REASON_INVALID_SUBDIVISION_CODE\x10\x08\x12&\n\"WARNING_REASON_INVALID_REGION_CODE\x10\t\x12,\n(WARNING_REASON_INVALID_SUBCONTINENT_CODE\x10\n\x12)\n%WARNING_REASON_INVALID_CONTINENT_CODE\x10\x0b\x12*\n&WARNING_REASON_INVALID_DEVICE_CATEGORY\x10\x0c\x12\x33\n/WARNING_REASON_INVALID_DEVICE_SCREEN_RESOLUTION\x10\r\x12&\n\"WARNING_REASON_INVALID_MERCHANT_ID\x10\x0e\x12(\n$WARNING_REASON_INVALID_NUMBER_FORMAT\x10\x0f\x42\xd2\x01\n\x1d\x63om.google.ads.datamanager.v1B\x15ProcessingErrorsProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xaa\x02\x19Google.Ads.DataManager.V1\xca\x02\x19Google\\Ads\\DataManager\\V1\xea\x02\x1cGoogle::Ads::DataManager::V1b\x06proto3"
|
|
9
9
|
|
|
10
10
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
11
11
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/ads/datamanager/v1/reporting_service.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/ads/datamanager/v1/partner_match_report_entry_pb'
|
|
8
|
+
require 'google/api/annotations_pb'
|
|
9
|
+
require 'google/api/client_pb'
|
|
10
|
+
require 'google/api/field_behavior_pb'
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
descriptor_data = "\n1google/ads/datamanager/v1/reporting_service.proto\x12\x19google.ads.datamanager.v1\x1a:google/ads/datamanager/v1/partner_match_report_entry.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\"\xd1\x01\n!RetrievePartnerMatchReportRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1b\n\rcurrency_code\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nstart_date\x18\x08 \x01(\x03\x42\x04\xe2\x41\x01\x02\x12\x16\n\x08\x65nd_date\x18\t \x01(\x03\x42\x04\xe2\x41\x01\x01\x12\x17\n\tpage_size\x18\x06 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\"\x97\x01\n\"RetrievePartnerMatchReportResponse\x12X\n\x1cpartner_match_report_entries\x18\x01 \x03(\x0b\x32\x32.google.ads.datamanager.v1.PartnerMatchReportEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd7\x02\n\x10ReportingService\x12\xf5\x01\n\x1aRetrievePartnerMatchReport\x12<.google.ads.datamanager.v1.RetrievePartnerMatchReportRequest\x1a=.google.ads.datamanager.v1.RetrievePartnerMatchReportResponse\"Z\xda\x41\x06parent\x82\xd3\xe4\x93\x02K\x12I/v1/{parent=accountTypes/*/accounts/*}/reports:retrievePartnerMatchReport\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\x15ReportingServiceProtoP\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"
|
|
14
|
+
|
|
15
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
|
17
|
+
|
|
18
|
+
module Google
|
|
19
|
+
module Ads
|
|
20
|
+
module DataManager
|
|
21
|
+
module V1
|
|
22
|
+
RetrievePartnerMatchReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RetrievePartnerMatchReportRequest").msgclass
|
|
23
|
+
RetrievePartnerMatchReportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.datamanager.v1.RetrievePartnerMatchReportResponse").msgclass
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: google/ads/datamanager/v1/reporting_service.proto for package 'Google.Ads.DataManager.V1'
|
|
3
|
+
# Original file comments:
|
|
4
|
+
# Copyright 2026 Google LLC
|
|
5
|
+
#
|
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
# you may not use this file except in compliance with the License.
|
|
8
|
+
# You may obtain a copy of the License at
|
|
9
|
+
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
# See the License for the specific language governing permissions and
|
|
16
|
+
# limitations under the License.
|
|
17
|
+
#
|
|
18
|
+
|
|
19
|
+
require 'grpc'
|
|
20
|
+
require 'google/ads/datamanager/v1/reporting_service_pb'
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Ads
|
|
24
|
+
module DataManager
|
|
25
|
+
module V1
|
|
26
|
+
module ReportingService
|
|
27
|
+
# Service for querying reports.
|
|
28
|
+
class Service
|
|
29
|
+
|
|
30
|
+
include ::GRPC::GenericService
|
|
31
|
+
|
|
32
|
+
self.marshal_class_method = :encode
|
|
33
|
+
self.unmarshal_class_method = :decode
|
|
34
|
+
self.service_name = 'google.ads.datamanager.v1.ReportingService'
|
|
35
|
+
|
|
36
|
+
# Retrieves a partner match report.
|
|
37
|
+
#
|
|
38
|
+
# This feature is only available to data partners.
|
|
39
|
+
rpc :RetrievePartnerMatchReport, ::Google::Ads::DataManager::V1::RetrievePartnerMatchReportRequest, ::Google::Ads::DataManager::V1::RetrievePartnerMatchReportResponse
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
Stub = Service.rpc_stub_class
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
# Information gathered about the call (if any) which led to this event.
|
|
25
|
+
# @!attribute [rw] start_timestamp
|
|
26
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
27
|
+
# Required. The time that the phone call started which resulted in this
|
|
28
|
+
# event.
|
|
29
|
+
class CallInfo
|
|
30
|
+
include ::Google::Protobuf::MessageExts
|
|
31
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -68,7 +68,7 @@ module Google
|
|
|
68
68
|
# @!attribute [rw] additional_item_parameters
|
|
69
69
|
# @return [::Array<::Google::Ads::DataManager::V1::ItemParameter>]
|
|
70
70
|
# Optional. A bucket of any [event parameters related to an
|
|
71
|
-
# item](https://developers.google.com/
|
|
71
|
+
# item](https://developers.google.com/data-manager/api/reference/analytics/recommended-events)
|
|
72
72
|
# to be included within the event that were not already specified using other
|
|
73
73
|
# structured fields.
|
|
74
74
|
# @!attribute [rw] merchant_id
|
|
@@ -78,7 +78,7 @@ module Google
|
|
|
78
78
|
# Maximum number of audience members allowed per request is 10,000.
|
|
79
79
|
TOO_MANY_AUDIENCE_MEMBERS = 17
|
|
80
80
|
|
|
81
|
-
# Maximum number of user identifiers allowed per
|
|
81
|
+
# Maximum number of user identifiers allowed per record is 10.
|
|
82
82
|
TOO_MANY_USER_IDENTIFIERS = 18
|
|
83
83
|
|
|
84
84
|
# Maximum number of destinations allowed per request is 10.
|
|
@@ -115,6 +115,9 @@ module Google
|
|
|
115
115
|
# The conversion action type is not valid.
|
|
116
116
|
INVALID_CONVERSION_ACTION_TYPE = 29
|
|
117
117
|
|
|
118
|
+
# Encryption is not supported for this request.
|
|
119
|
+
ENCRYPTION_NOT_SUPPORTED = 132
|
|
120
|
+
|
|
118
121
|
# The currency code is not supported.
|
|
119
122
|
INVALID_CURRENCY_CODE = 30
|
|
120
123
|
|
|
@@ -417,8 +420,7 @@ module Google
|
|
|
417
420
|
# Insights missing for this dimension.
|
|
418
421
|
INSIGHTS_MISSING_FOR_DIMENSION = 123
|
|
419
422
|
|
|
420
|
-
#
|
|
421
|
-
# the Google Analytics property to perform this operation.
|
|
423
|
+
# Deprecated: Error is unused in the Data Manager API.
|
|
422
424
|
REQUIRED_PREREQUISITE_LINK_MISSING = 124
|
|
423
425
|
|
|
424
426
|
# The remove as of time must be in the past or present. Future timestamps are
|
|
@@ -434,13 +436,42 @@ module Google
|
|
|
434
436
|
|
|
435
437
|
# The ad identifier does not belong to the account.
|
|
436
438
|
#
|
|
437
|
-
# For example, the {::Google::Ads::DataManager::V1::AdIdentifiers#gclid
|
|
439
|
+
# For example, the {::Google::Ads::DataManager::V1::AdIdentifiers#gclid gclid}
|
|
438
440
|
# isn't associated with the
|
|
439
|
-
# {::Google::Ads::DataManager::V1::Destination#operating_account
|
|
441
|
+
# {::Google::Ads::DataManager::V1::Destination#operating_account operating_account}
|
|
440
442
|
# and
|
|
441
|
-
# {::Google::Ads::DataManager::V1::Destination#product_destination_id
|
|
443
|
+
# {::Google::Ads::DataManager::V1::Destination#product_destination_id product_destination_id}
|
|
442
444
|
# of the destination.
|
|
443
445
|
INVALID_AD_IDENTIFIER_FOR_ACCOUNT = 128
|
|
446
|
+
|
|
447
|
+
# The account type is not a supported `client_account_type` for a
|
|
448
|
+
# {::Google::Ads::DataManager::V1::UserListDirectLicense UserListDirectLicense}.
|
|
449
|
+
UNSUPPORTED_ACCOUNT_TYPE_FOR_USER_LIST_DIRECT_LICENSE = 129
|
|
450
|
+
|
|
451
|
+
# Duplicate elements in a list in the request.
|
|
452
|
+
DUPLICATE_ELEMENTS = 130
|
|
453
|
+
|
|
454
|
+
# The baseline location is not supported for generating insights.
|
|
455
|
+
#
|
|
456
|
+
# When
|
|
457
|
+
# {::Google::Ads::DataManager::V1::Baseline#location_auto_detection_enabled location_auto_detection_enabled}
|
|
458
|
+
# is set to `true`, this error indicates that the detected majority location
|
|
459
|
+
# for the audience is not among the supported locations.
|
|
460
|
+
#
|
|
461
|
+
# To resolve this, explicitly specify a supported location in
|
|
462
|
+
# {::Google::Ads::DataManager::V1::Baseline#baseline_location baseline_location},
|
|
463
|
+
# or retry once the audience list updates with a supported majority location.
|
|
464
|
+
# See https://support.google.com/google-ads/answer/11161206 for the list of
|
|
465
|
+
# supported countries.
|
|
466
|
+
UNSUPPORTED_BASELINE_LOCATION = 131
|
|
467
|
+
|
|
468
|
+
# The {::Google::Ads::DataManager::V1::Event#event_timestamp event_timestamp}
|
|
469
|
+
# cannot be earlier than the
|
|
470
|
+
# {::Google::Ads::DataManager::V1::CallInfo#start_timestamp start_timestamp}.
|
|
471
|
+
CONVERSION_PRECEDES_CALL = 133
|
|
472
|
+
|
|
473
|
+
# The date is not valid.
|
|
474
|
+
INVALID_DATE = 134
|
|
444
475
|
end
|
|
445
476
|
end
|
|
446
477
|
end
|
|
@@ -98,7 +98,7 @@ module Google
|
|
|
98
98
|
# @!attribute [rw] additional_event_parameters
|
|
99
99
|
# @return [::Array<::Google::Ads::DataManager::V1::EventParameter>]
|
|
100
100
|
# Optional. A bucket of any [event
|
|
101
|
-
# parameters](https://developers.google.com/
|
|
101
|
+
# parameters](https://developers.google.com/data-manager/api/reference/analytics/recommended-events)
|
|
102
102
|
# to be included within the event that were not already specified using other
|
|
103
103
|
# structured fields.
|
|
104
104
|
# @!attribute [rw] third_party_user_data
|
|
@@ -114,6 +114,10 @@ module Google
|
|
|
114
114
|
# @return [::String]
|
|
115
115
|
# Optional. A unique identifier for the user instance of an app client for
|
|
116
116
|
# this GA4 app stream.
|
|
117
|
+
# @!attribute [rw] call_info
|
|
118
|
+
# @return [::Google::Ads::DataManager::V1::CallInfo]
|
|
119
|
+
# Optional. Information gathered about the call (if any) which led to this
|
|
120
|
+
# event.
|
|
117
121
|
class Event
|
|
118
122
|
include ::Google::Protobuf::MessageExts
|
|
119
123
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -163,6 +167,9 @@ module Google
|
|
|
163
167
|
# @return [::String]
|
|
164
168
|
# Optional. A unique identifier for an unauthenticated user (user who is not
|
|
165
169
|
# signed-in), as defined by the publisher.
|
|
170
|
+
# @!attribute [rw] lead_id
|
|
171
|
+
# @return [::String]
|
|
172
|
+
# Optional. Google generated ID issued when user submits a lead form.
|
|
166
173
|
class AdIdentifiers
|
|
167
174
|
include ::Google::Protobuf::MessageExts
|
|
168
175
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -22,7 +22,7 @@ module Google
|
|
|
22
22
|
module DataManager
|
|
23
23
|
module V1
|
|
24
24
|
# A bucket of any [event parameters related to an
|
|
25
|
-
# item](https://developers.google.com/
|
|
25
|
+
# item](https://developers.google.com/data-manager/api/reference/analytics/recommended-events)
|
|
26
26
|
# to be included within the event that were not already specified using other
|
|
27
27
|
# structured fields.
|
|
28
28
|
# @!attribute [rw] parameter_name
|
|
@@ -0,0 +1,119 @@
|
|
|
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
|
+
# A row/entry in a Partner Match report.
|
|
25
|
+
# @!attribute [rw] advertiser_account
|
|
26
|
+
# @return [::Google::Ads::DataManager::V1::PartnerMatchAdvertiserAccount]
|
|
27
|
+
# The advertiser account details.
|
|
28
|
+
# @!attribute [rw] campaign
|
|
29
|
+
# @return [::Google::Ads::DataManager::V1::PartnerMatchCampaign]
|
|
30
|
+
# The campaign details. Only returned for Google Ads advertisers.
|
|
31
|
+
# @!attribute [rw] ad_group
|
|
32
|
+
# @return [::Google::Ads::DataManager::V1::PartnerMatchAdGroup]
|
|
33
|
+
# The ad group details.
|
|
34
|
+
# @!attribute [rw] user_list
|
|
35
|
+
# @return [::Google::Ads::DataManager::V1::PartnerMatchUserList]
|
|
36
|
+
# The user list details.
|
|
37
|
+
# @!attribute [rw] impression_count
|
|
38
|
+
# @return [::Integer]
|
|
39
|
+
# The number of impressions for this entry.
|
|
40
|
+
# @!attribute [rw] media_cost
|
|
41
|
+
# @return [::Google::Type::Money]
|
|
42
|
+
# The media cost associated for this entry.
|
|
43
|
+
# @!attribute [rw] line_item
|
|
44
|
+
# @return [::Google::Ads::DataManager::V1::PartnerMatchLineItem]
|
|
45
|
+
# The line item details. Only returned for DV360 advertisers.
|
|
46
|
+
# @!attribute [rw] data_fees
|
|
47
|
+
# @return [::Google::Type::Money]
|
|
48
|
+
# The data fees for this entry. Only returned for DV360 advertisers
|
|
49
|
+
class PartnerMatchReportEntry
|
|
50
|
+
include ::Google::Protobuf::MessageExts
|
|
51
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# The advertiser account details.
|
|
55
|
+
# @!attribute [rw] account_type
|
|
56
|
+
# @return [::String]
|
|
57
|
+
# The type of account (e.g. GOOGLE_ADS, DISPLAY_VIDEO_ADVERTISER).
|
|
58
|
+
# @!attribute [rw] account_id
|
|
59
|
+
# @return [::String]
|
|
60
|
+
# The Customer ID of the account.
|
|
61
|
+
# @!attribute [rw] display_name
|
|
62
|
+
# @return [::String]
|
|
63
|
+
# The descriptive name of the account.
|
|
64
|
+
class PartnerMatchAdvertiserAccount
|
|
65
|
+
include ::Google::Protobuf::MessageExts
|
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# The campaign details.
|
|
70
|
+
# @!attribute [rw] campaign_id
|
|
71
|
+
# @return [::Integer]
|
|
72
|
+
# The ID of the campaign.
|
|
73
|
+
# @!attribute [rw] display_name
|
|
74
|
+
# @return [::String]
|
|
75
|
+
# The descriptive name of the campaign.
|
|
76
|
+
class PartnerMatchCampaign
|
|
77
|
+
include ::Google::Protobuf::MessageExts
|
|
78
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# The ad group details.
|
|
82
|
+
# @!attribute [rw] ad_group_id
|
|
83
|
+
# @return [::Integer]
|
|
84
|
+
# The ID of the ad group.
|
|
85
|
+
# @!attribute [rw] display_name
|
|
86
|
+
# @return [::String]
|
|
87
|
+
# The descriptive name of the ad group.
|
|
88
|
+
class PartnerMatchAdGroup
|
|
89
|
+
include ::Google::Protobuf::MessageExts
|
|
90
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# The user list details.
|
|
94
|
+
# @!attribute [rw] user_list_id
|
|
95
|
+
# @return [::Integer]
|
|
96
|
+
# The ID of the user list.
|
|
97
|
+
# @!attribute [rw] display_name
|
|
98
|
+
# @return [::String]
|
|
99
|
+
# The descriptive name of the user list.
|
|
100
|
+
class PartnerMatchUserList
|
|
101
|
+
include ::Google::Protobuf::MessageExts
|
|
102
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# The line item details.
|
|
106
|
+
# @!attribute [rw] line_item_id
|
|
107
|
+
# @return [::Integer]
|
|
108
|
+
# The ID of the line item.
|
|
109
|
+
# @!attribute [rw] display_name
|
|
110
|
+
# @return [::String]
|
|
111
|
+
# The descriptive name of the line item.
|
|
112
|
+
class PartnerMatchLineItem
|
|
113
|
+
include ::Google::Protobuf::MessageExts
|
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
end
|