1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v1/services/conversion_upload_service.proto
3
4package services
5
6import (
7	context "context"
8	fmt "fmt"
9	math "math"
10
11	proto "github.com/golang/protobuf/proto"
12	wrappers "github.com/golang/protobuf/ptypes/wrappers"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14	status "google.golang.org/genproto/googleapis/rpc/status"
15	grpc "google.golang.org/grpc"
16	codes "google.golang.org/grpc/codes"
17	status1 "google.golang.org/grpc/status"
18)
19
20// Reference imports to suppress errors if they are not otherwise used.
21var _ = proto.Marshal
22var _ = fmt.Errorf
23var _ = math.Inf
24
25// This is a compile-time assertion to ensure that this generated file
26// is compatible with the proto package it is being compiled against.
27// A compilation error at this line likely means your copy of the
28// proto package needs to be updated.
29const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
30
31// Request message for [ConversionUploadService.UploadClickConversions][google.ads.googleads.v1.services.ConversionUploadService.UploadClickConversions].
32type UploadClickConversionsRequest struct {
33	// Required. The ID of the customer performing the upload.
34	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
35	// Required. The conversions that are being uploaded.
36	Conversions []*ClickConversion `protobuf:"bytes,2,rep,name=conversions,proto3" json:"conversions,omitempty"`
37	// If true, successful operations will be carried out and invalid
38	// operations will return errors. If false, all operations will be carried
39	// out in one transaction if and only if they are all valid.
40	// This should always be set to true.
41	PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"`
42	// If true, the request is validated but not executed. Only errors are
43	// returned, not results.
44	ValidateOnly         bool     `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
45	XXX_NoUnkeyedLiteral struct{} `json:"-"`
46	XXX_unrecognized     []byte   `json:"-"`
47	XXX_sizecache        int32    `json:"-"`
48}
49
50func (m *UploadClickConversionsRequest) Reset()         { *m = UploadClickConversionsRequest{} }
51func (m *UploadClickConversionsRequest) String() string { return proto.CompactTextString(m) }
52func (*UploadClickConversionsRequest) ProtoMessage()    {}
53func (*UploadClickConversionsRequest) Descriptor() ([]byte, []int) {
54	return fileDescriptor_0e4ce88023381c6a, []int{0}
55}
56
57func (m *UploadClickConversionsRequest) XXX_Unmarshal(b []byte) error {
58	return xxx_messageInfo_UploadClickConversionsRequest.Unmarshal(m, b)
59}
60func (m *UploadClickConversionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
61	return xxx_messageInfo_UploadClickConversionsRequest.Marshal(b, m, deterministic)
62}
63func (m *UploadClickConversionsRequest) XXX_Merge(src proto.Message) {
64	xxx_messageInfo_UploadClickConversionsRequest.Merge(m, src)
65}
66func (m *UploadClickConversionsRequest) XXX_Size() int {
67	return xxx_messageInfo_UploadClickConversionsRequest.Size(m)
68}
69func (m *UploadClickConversionsRequest) XXX_DiscardUnknown() {
70	xxx_messageInfo_UploadClickConversionsRequest.DiscardUnknown(m)
71}
72
73var xxx_messageInfo_UploadClickConversionsRequest proto.InternalMessageInfo
74
75func (m *UploadClickConversionsRequest) GetCustomerId() string {
76	if m != nil {
77		return m.CustomerId
78	}
79	return ""
80}
81
82func (m *UploadClickConversionsRequest) GetConversions() []*ClickConversion {
83	if m != nil {
84		return m.Conversions
85	}
86	return nil
87}
88
89func (m *UploadClickConversionsRequest) GetPartialFailure() bool {
90	if m != nil {
91		return m.PartialFailure
92	}
93	return false
94}
95
96func (m *UploadClickConversionsRequest) GetValidateOnly() bool {
97	if m != nil {
98		return m.ValidateOnly
99	}
100	return false
101}
102
103// Response message for [ConversionUploadService.UploadClickConversions][google.ads.googleads.v1.services.ConversionUploadService.UploadClickConversions].
104type UploadClickConversionsResponse struct {
105	// Errors that pertain to conversion failures in the partial failure mode.
106	// Returned when all errors occur inside the conversions. If any errors occur
107	// outside the conversions (e.g. auth errors), we return an RPC level error.
108	PartialFailureError *status.Status `protobuf:"bytes,1,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"`
109	// Returned for successfully processed conversions. Proto will be empty for
110	// rows that received an error. Results are not returned when validate_only is
111	// true.
112	Results              []*ClickConversionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
113	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
114	XXX_unrecognized     []byte                   `json:"-"`
115	XXX_sizecache        int32                    `json:"-"`
116}
117
118func (m *UploadClickConversionsResponse) Reset()         { *m = UploadClickConversionsResponse{} }
119func (m *UploadClickConversionsResponse) String() string { return proto.CompactTextString(m) }
120func (*UploadClickConversionsResponse) ProtoMessage()    {}
121func (*UploadClickConversionsResponse) Descriptor() ([]byte, []int) {
122	return fileDescriptor_0e4ce88023381c6a, []int{1}
123}
124
125func (m *UploadClickConversionsResponse) XXX_Unmarshal(b []byte) error {
126	return xxx_messageInfo_UploadClickConversionsResponse.Unmarshal(m, b)
127}
128func (m *UploadClickConversionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
129	return xxx_messageInfo_UploadClickConversionsResponse.Marshal(b, m, deterministic)
130}
131func (m *UploadClickConversionsResponse) XXX_Merge(src proto.Message) {
132	xxx_messageInfo_UploadClickConversionsResponse.Merge(m, src)
133}
134func (m *UploadClickConversionsResponse) XXX_Size() int {
135	return xxx_messageInfo_UploadClickConversionsResponse.Size(m)
136}
137func (m *UploadClickConversionsResponse) XXX_DiscardUnknown() {
138	xxx_messageInfo_UploadClickConversionsResponse.DiscardUnknown(m)
139}
140
141var xxx_messageInfo_UploadClickConversionsResponse proto.InternalMessageInfo
142
143func (m *UploadClickConversionsResponse) GetPartialFailureError() *status.Status {
144	if m != nil {
145		return m.PartialFailureError
146	}
147	return nil
148}
149
150func (m *UploadClickConversionsResponse) GetResults() []*ClickConversionResult {
151	if m != nil {
152		return m.Results
153	}
154	return nil
155}
156
157// Request message for [ConversionUploadService.UploadCallConversions][google.ads.googleads.v1.services.ConversionUploadService.UploadCallConversions].
158type UploadCallConversionsRequest struct {
159	// Required. The ID of the customer performing the upload.
160	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
161	// Required. The conversions that are being uploaded.
162	Conversions []*CallConversion `protobuf:"bytes,2,rep,name=conversions,proto3" json:"conversions,omitempty"`
163	// If true, successful operations will be carried out and invalid
164	// operations will return errors. If false, all operations will be carried
165	// out in one transaction if and only if they are all valid.
166	// This should always be set to true.
167	PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"`
168	// If true, the request is validated but not executed. Only errors are
169	// returned, not results.
170	ValidateOnly         bool     `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
171	XXX_NoUnkeyedLiteral struct{} `json:"-"`
172	XXX_unrecognized     []byte   `json:"-"`
173	XXX_sizecache        int32    `json:"-"`
174}
175
176func (m *UploadCallConversionsRequest) Reset()         { *m = UploadCallConversionsRequest{} }
177func (m *UploadCallConversionsRequest) String() string { return proto.CompactTextString(m) }
178func (*UploadCallConversionsRequest) ProtoMessage()    {}
179func (*UploadCallConversionsRequest) Descriptor() ([]byte, []int) {
180	return fileDescriptor_0e4ce88023381c6a, []int{2}
181}
182
183func (m *UploadCallConversionsRequest) XXX_Unmarshal(b []byte) error {
184	return xxx_messageInfo_UploadCallConversionsRequest.Unmarshal(m, b)
185}
186func (m *UploadCallConversionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
187	return xxx_messageInfo_UploadCallConversionsRequest.Marshal(b, m, deterministic)
188}
189func (m *UploadCallConversionsRequest) XXX_Merge(src proto.Message) {
190	xxx_messageInfo_UploadCallConversionsRequest.Merge(m, src)
191}
192func (m *UploadCallConversionsRequest) XXX_Size() int {
193	return xxx_messageInfo_UploadCallConversionsRequest.Size(m)
194}
195func (m *UploadCallConversionsRequest) XXX_DiscardUnknown() {
196	xxx_messageInfo_UploadCallConversionsRequest.DiscardUnknown(m)
197}
198
199var xxx_messageInfo_UploadCallConversionsRequest proto.InternalMessageInfo
200
201func (m *UploadCallConversionsRequest) GetCustomerId() string {
202	if m != nil {
203		return m.CustomerId
204	}
205	return ""
206}
207
208func (m *UploadCallConversionsRequest) GetConversions() []*CallConversion {
209	if m != nil {
210		return m.Conversions
211	}
212	return nil
213}
214
215func (m *UploadCallConversionsRequest) GetPartialFailure() bool {
216	if m != nil {
217		return m.PartialFailure
218	}
219	return false
220}
221
222func (m *UploadCallConversionsRequest) GetValidateOnly() bool {
223	if m != nil {
224		return m.ValidateOnly
225	}
226	return false
227}
228
229// Response message for [ConversionUploadService.UploadCallConversions][google.ads.googleads.v1.services.ConversionUploadService.UploadCallConversions].
230type UploadCallConversionsResponse struct {
231	// Errors that pertain to conversion failures in the partial failure mode.
232	// Returned when all errors occur inside the conversions. If any errors occur
233	// outside the conversions (e.g. auth errors), we return an RPC level error.
234	PartialFailureError *status.Status `protobuf:"bytes,1,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"`
235	// Returned for successfully processed conversions. Proto will be empty for
236	// rows that received an error. Results are not returned when validate_only is
237	// true.
238	Results              []*CallConversionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
239	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
240	XXX_unrecognized     []byte                  `json:"-"`
241	XXX_sizecache        int32                   `json:"-"`
242}
243
244func (m *UploadCallConversionsResponse) Reset()         { *m = UploadCallConversionsResponse{} }
245func (m *UploadCallConversionsResponse) String() string { return proto.CompactTextString(m) }
246func (*UploadCallConversionsResponse) ProtoMessage()    {}
247func (*UploadCallConversionsResponse) Descriptor() ([]byte, []int) {
248	return fileDescriptor_0e4ce88023381c6a, []int{3}
249}
250
251func (m *UploadCallConversionsResponse) XXX_Unmarshal(b []byte) error {
252	return xxx_messageInfo_UploadCallConversionsResponse.Unmarshal(m, b)
253}
254func (m *UploadCallConversionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
255	return xxx_messageInfo_UploadCallConversionsResponse.Marshal(b, m, deterministic)
256}
257func (m *UploadCallConversionsResponse) XXX_Merge(src proto.Message) {
258	xxx_messageInfo_UploadCallConversionsResponse.Merge(m, src)
259}
260func (m *UploadCallConversionsResponse) XXX_Size() int {
261	return xxx_messageInfo_UploadCallConversionsResponse.Size(m)
262}
263func (m *UploadCallConversionsResponse) XXX_DiscardUnknown() {
264	xxx_messageInfo_UploadCallConversionsResponse.DiscardUnknown(m)
265}
266
267var xxx_messageInfo_UploadCallConversionsResponse proto.InternalMessageInfo
268
269func (m *UploadCallConversionsResponse) GetPartialFailureError() *status.Status {
270	if m != nil {
271		return m.PartialFailureError
272	}
273	return nil
274}
275
276func (m *UploadCallConversionsResponse) GetResults() []*CallConversionResult {
277	if m != nil {
278		return m.Results
279	}
280	return nil
281}
282
283// A click conversion.
284type ClickConversion struct {
285	// The Google click ID (gclid) associated with this conversion.
286	Gclid *wrappers.StringValue `protobuf:"bytes,1,opt,name=gclid,proto3" json:"gclid,omitempty"`
287	// Resource name of the conversion action associated with this conversion.
288	// Note: Although this resource name consists of a customer id and a
289	// conversion action id, validation will ignore the customer id and use the
290	// conversion action id as the sole identifier of the conversion action.
291	ConversionAction *wrappers.StringValue `protobuf:"bytes,2,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"`
292	// The date time at which the conversion occurred. Must be after
293	// the click time. The timezone must be specified. The format is
294	// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. “2019-01-01 12:32:45-08:00”.
295	ConversionDateTime *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_date_time,json=conversionDateTime,proto3" json:"conversion_date_time,omitempty"`
296	// The value of the conversion for the advertiser.
297	ConversionValue *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=conversion_value,json=conversionValue,proto3" json:"conversion_value,omitempty"`
298	// Currency associated with the conversion value. This is the ISO 4217
299	// 3-character currency code. For example: USD, EUR.
300	CurrencyCode *wrappers.StringValue `protobuf:"bytes,5,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
301	// The order ID associated with the conversion. An order id can only be used
302	// for one conversion per conversion action.
303	OrderId *wrappers.StringValue `protobuf:"bytes,6,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
304	// Additional data about externally attributed conversions. This field
305	// is required for conversions with an externally attributed conversion
306	// action, but should not be set otherwise.
307	ExternalAttributionData *ExternalAttributionData `protobuf:"bytes,7,opt,name=external_attribution_data,json=externalAttributionData,proto3" json:"external_attribution_data,omitempty"`
308	XXX_NoUnkeyedLiteral    struct{}                 `json:"-"`
309	XXX_unrecognized        []byte                   `json:"-"`
310	XXX_sizecache           int32                    `json:"-"`
311}
312
313func (m *ClickConversion) Reset()         { *m = ClickConversion{} }
314func (m *ClickConversion) String() string { return proto.CompactTextString(m) }
315func (*ClickConversion) ProtoMessage()    {}
316func (*ClickConversion) Descriptor() ([]byte, []int) {
317	return fileDescriptor_0e4ce88023381c6a, []int{4}
318}
319
320func (m *ClickConversion) XXX_Unmarshal(b []byte) error {
321	return xxx_messageInfo_ClickConversion.Unmarshal(m, b)
322}
323func (m *ClickConversion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
324	return xxx_messageInfo_ClickConversion.Marshal(b, m, deterministic)
325}
326func (m *ClickConversion) XXX_Merge(src proto.Message) {
327	xxx_messageInfo_ClickConversion.Merge(m, src)
328}
329func (m *ClickConversion) XXX_Size() int {
330	return xxx_messageInfo_ClickConversion.Size(m)
331}
332func (m *ClickConversion) XXX_DiscardUnknown() {
333	xxx_messageInfo_ClickConversion.DiscardUnknown(m)
334}
335
336var xxx_messageInfo_ClickConversion proto.InternalMessageInfo
337
338func (m *ClickConversion) GetGclid() *wrappers.StringValue {
339	if m != nil {
340		return m.Gclid
341	}
342	return nil
343}
344
345func (m *ClickConversion) GetConversionAction() *wrappers.StringValue {
346	if m != nil {
347		return m.ConversionAction
348	}
349	return nil
350}
351
352func (m *ClickConversion) GetConversionDateTime() *wrappers.StringValue {
353	if m != nil {
354		return m.ConversionDateTime
355	}
356	return nil
357}
358
359func (m *ClickConversion) GetConversionValue() *wrappers.DoubleValue {
360	if m != nil {
361		return m.ConversionValue
362	}
363	return nil
364}
365
366func (m *ClickConversion) GetCurrencyCode() *wrappers.StringValue {
367	if m != nil {
368		return m.CurrencyCode
369	}
370	return nil
371}
372
373func (m *ClickConversion) GetOrderId() *wrappers.StringValue {
374	if m != nil {
375		return m.OrderId
376	}
377	return nil
378}
379
380func (m *ClickConversion) GetExternalAttributionData() *ExternalAttributionData {
381	if m != nil {
382		return m.ExternalAttributionData
383	}
384	return nil
385}
386
387// A call conversion.
388type CallConversion struct {
389	// The caller id from which this call was placed. Caller id is expected to be
390	// in E.164 format with preceding '+' sign. e.g. "+16502531234".
391	CallerId *wrappers.StringValue `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"`
392	// The date time at which the call occurred. The timezone must be specified.
393	// The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm",
394	// e.g. "2019-01-01 12:32:45-08:00".
395	CallStartDateTime *wrappers.StringValue `protobuf:"bytes,2,opt,name=call_start_date_time,json=callStartDateTime,proto3" json:"call_start_date_time,omitempty"`
396	// Resource name of the conversion action associated with this conversion.
397	// Note: Although this resource name consists of a customer id and a
398	// conversion action id, validation will ignore the customer id and use the
399	// conversion action id as the sole identifier of the conversion action.
400	ConversionAction *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"`
401	// The date time at which the conversion occurred. Must be after the call
402	// time. The timezone must be specified. The format is
403	// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
404	ConversionDateTime *wrappers.StringValue `protobuf:"bytes,4,opt,name=conversion_date_time,json=conversionDateTime,proto3" json:"conversion_date_time,omitempty"`
405	// The value of the conversion for the advertiser.
406	ConversionValue *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=conversion_value,json=conversionValue,proto3" json:"conversion_value,omitempty"`
407	// Currency associated with the conversion value. This is the ISO 4217
408	// 3-character currency code. For example: USD, EUR.
409	CurrencyCode         *wrappers.StringValue `protobuf:"bytes,6,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
410	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
411	XXX_unrecognized     []byte                `json:"-"`
412	XXX_sizecache        int32                 `json:"-"`
413}
414
415func (m *CallConversion) Reset()         { *m = CallConversion{} }
416func (m *CallConversion) String() string { return proto.CompactTextString(m) }
417func (*CallConversion) ProtoMessage()    {}
418func (*CallConversion) Descriptor() ([]byte, []int) {
419	return fileDescriptor_0e4ce88023381c6a, []int{5}
420}
421
422func (m *CallConversion) XXX_Unmarshal(b []byte) error {
423	return xxx_messageInfo_CallConversion.Unmarshal(m, b)
424}
425func (m *CallConversion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
426	return xxx_messageInfo_CallConversion.Marshal(b, m, deterministic)
427}
428func (m *CallConversion) XXX_Merge(src proto.Message) {
429	xxx_messageInfo_CallConversion.Merge(m, src)
430}
431func (m *CallConversion) XXX_Size() int {
432	return xxx_messageInfo_CallConversion.Size(m)
433}
434func (m *CallConversion) XXX_DiscardUnknown() {
435	xxx_messageInfo_CallConversion.DiscardUnknown(m)
436}
437
438var xxx_messageInfo_CallConversion proto.InternalMessageInfo
439
440func (m *CallConversion) GetCallerId() *wrappers.StringValue {
441	if m != nil {
442		return m.CallerId
443	}
444	return nil
445}
446
447func (m *CallConversion) GetCallStartDateTime() *wrappers.StringValue {
448	if m != nil {
449		return m.CallStartDateTime
450	}
451	return nil
452}
453
454func (m *CallConversion) GetConversionAction() *wrappers.StringValue {
455	if m != nil {
456		return m.ConversionAction
457	}
458	return nil
459}
460
461func (m *CallConversion) GetConversionDateTime() *wrappers.StringValue {
462	if m != nil {
463		return m.ConversionDateTime
464	}
465	return nil
466}
467
468func (m *CallConversion) GetConversionValue() *wrappers.DoubleValue {
469	if m != nil {
470		return m.ConversionValue
471	}
472	return nil
473}
474
475func (m *CallConversion) GetCurrencyCode() *wrappers.StringValue {
476	if m != nil {
477		return m.CurrencyCode
478	}
479	return nil
480}
481
482// Contains additional information about externally attributed conversions.
483type ExternalAttributionData struct {
484	// Represents the fraction of the conversion that is attributed to the
485	// Google Ads click.
486	ExternalAttributionCredit *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=external_attribution_credit,json=externalAttributionCredit,proto3" json:"external_attribution_credit,omitempty"`
487	// Specifies the attribution model name.
488	ExternalAttributionModel *wrappers.StringValue `protobuf:"bytes,2,opt,name=external_attribution_model,json=externalAttributionModel,proto3" json:"external_attribution_model,omitempty"`
489	XXX_NoUnkeyedLiteral     struct{}              `json:"-"`
490	XXX_unrecognized         []byte                `json:"-"`
491	XXX_sizecache            int32                 `json:"-"`
492}
493
494func (m *ExternalAttributionData) Reset()         { *m = ExternalAttributionData{} }
495func (m *ExternalAttributionData) String() string { return proto.CompactTextString(m) }
496func (*ExternalAttributionData) ProtoMessage()    {}
497func (*ExternalAttributionData) Descriptor() ([]byte, []int) {
498	return fileDescriptor_0e4ce88023381c6a, []int{6}
499}
500
501func (m *ExternalAttributionData) XXX_Unmarshal(b []byte) error {
502	return xxx_messageInfo_ExternalAttributionData.Unmarshal(m, b)
503}
504func (m *ExternalAttributionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
505	return xxx_messageInfo_ExternalAttributionData.Marshal(b, m, deterministic)
506}
507func (m *ExternalAttributionData) XXX_Merge(src proto.Message) {
508	xxx_messageInfo_ExternalAttributionData.Merge(m, src)
509}
510func (m *ExternalAttributionData) XXX_Size() int {
511	return xxx_messageInfo_ExternalAttributionData.Size(m)
512}
513func (m *ExternalAttributionData) XXX_DiscardUnknown() {
514	xxx_messageInfo_ExternalAttributionData.DiscardUnknown(m)
515}
516
517var xxx_messageInfo_ExternalAttributionData proto.InternalMessageInfo
518
519func (m *ExternalAttributionData) GetExternalAttributionCredit() *wrappers.DoubleValue {
520	if m != nil {
521		return m.ExternalAttributionCredit
522	}
523	return nil
524}
525
526func (m *ExternalAttributionData) GetExternalAttributionModel() *wrappers.StringValue {
527	if m != nil {
528		return m.ExternalAttributionModel
529	}
530	return nil
531}
532
533// Identifying information for a successfully processed ClickConversion.
534type ClickConversionResult struct {
535	// The Google Click ID (gclid) associated with this conversion.
536	Gclid *wrappers.StringValue `protobuf:"bytes,1,opt,name=gclid,proto3" json:"gclid,omitempty"`
537	// Resource name of the conversion action associated with this conversion.
538	ConversionAction *wrappers.StringValue `protobuf:"bytes,2,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"`
539	// The date time at which the conversion occurred. The format is
540	// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. “2019-01-01 12:32:45-08:00”.
541	ConversionDateTime   *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_date_time,json=conversionDateTime,proto3" json:"conversion_date_time,omitempty"`
542	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
543	XXX_unrecognized     []byte                `json:"-"`
544	XXX_sizecache        int32                 `json:"-"`
545}
546
547func (m *ClickConversionResult) Reset()         { *m = ClickConversionResult{} }
548func (m *ClickConversionResult) String() string { return proto.CompactTextString(m) }
549func (*ClickConversionResult) ProtoMessage()    {}
550func (*ClickConversionResult) Descriptor() ([]byte, []int) {
551	return fileDescriptor_0e4ce88023381c6a, []int{7}
552}
553
554func (m *ClickConversionResult) XXX_Unmarshal(b []byte) error {
555	return xxx_messageInfo_ClickConversionResult.Unmarshal(m, b)
556}
557func (m *ClickConversionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
558	return xxx_messageInfo_ClickConversionResult.Marshal(b, m, deterministic)
559}
560func (m *ClickConversionResult) XXX_Merge(src proto.Message) {
561	xxx_messageInfo_ClickConversionResult.Merge(m, src)
562}
563func (m *ClickConversionResult) XXX_Size() int {
564	return xxx_messageInfo_ClickConversionResult.Size(m)
565}
566func (m *ClickConversionResult) XXX_DiscardUnknown() {
567	xxx_messageInfo_ClickConversionResult.DiscardUnknown(m)
568}
569
570var xxx_messageInfo_ClickConversionResult proto.InternalMessageInfo
571
572func (m *ClickConversionResult) GetGclid() *wrappers.StringValue {
573	if m != nil {
574		return m.Gclid
575	}
576	return nil
577}
578
579func (m *ClickConversionResult) GetConversionAction() *wrappers.StringValue {
580	if m != nil {
581		return m.ConversionAction
582	}
583	return nil
584}
585
586func (m *ClickConversionResult) GetConversionDateTime() *wrappers.StringValue {
587	if m != nil {
588		return m.ConversionDateTime
589	}
590	return nil
591}
592
593// Identifying information for a successfully processed CallConversionUpload.
594type CallConversionResult struct {
595	// The caller id from which this call was placed. Caller id is expected to be
596	// in E.164 format with preceding '+' sign.
597	CallerId *wrappers.StringValue `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"`
598	// The date time at which the call occurred. The format is
599	// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
600	CallStartDateTime *wrappers.StringValue `protobuf:"bytes,2,opt,name=call_start_date_time,json=callStartDateTime,proto3" json:"call_start_date_time,omitempty"`
601	// Resource name of the conversion action associated with this conversion.
602	ConversionAction *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"`
603	// The date time at which the conversion occurred. The format is
604	// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
605	ConversionDateTime   *wrappers.StringValue `protobuf:"bytes,4,opt,name=conversion_date_time,json=conversionDateTime,proto3" json:"conversion_date_time,omitempty"`
606	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
607	XXX_unrecognized     []byte                `json:"-"`
608	XXX_sizecache        int32                 `json:"-"`
609}
610
611func (m *CallConversionResult) Reset()         { *m = CallConversionResult{} }
612func (m *CallConversionResult) String() string { return proto.CompactTextString(m) }
613func (*CallConversionResult) ProtoMessage()    {}
614func (*CallConversionResult) Descriptor() ([]byte, []int) {
615	return fileDescriptor_0e4ce88023381c6a, []int{8}
616}
617
618func (m *CallConversionResult) XXX_Unmarshal(b []byte) error {
619	return xxx_messageInfo_CallConversionResult.Unmarshal(m, b)
620}
621func (m *CallConversionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
622	return xxx_messageInfo_CallConversionResult.Marshal(b, m, deterministic)
623}
624func (m *CallConversionResult) XXX_Merge(src proto.Message) {
625	xxx_messageInfo_CallConversionResult.Merge(m, src)
626}
627func (m *CallConversionResult) XXX_Size() int {
628	return xxx_messageInfo_CallConversionResult.Size(m)
629}
630func (m *CallConversionResult) XXX_DiscardUnknown() {
631	xxx_messageInfo_CallConversionResult.DiscardUnknown(m)
632}
633
634var xxx_messageInfo_CallConversionResult proto.InternalMessageInfo
635
636func (m *CallConversionResult) GetCallerId() *wrappers.StringValue {
637	if m != nil {
638		return m.CallerId
639	}
640	return nil
641}
642
643func (m *CallConversionResult) GetCallStartDateTime() *wrappers.StringValue {
644	if m != nil {
645		return m.CallStartDateTime
646	}
647	return nil
648}
649
650func (m *CallConversionResult) GetConversionAction() *wrappers.StringValue {
651	if m != nil {
652		return m.ConversionAction
653	}
654	return nil
655}
656
657func (m *CallConversionResult) GetConversionDateTime() *wrappers.StringValue {
658	if m != nil {
659		return m.ConversionDateTime
660	}
661	return nil
662}
663
664func init() {
665	proto.RegisterType((*UploadClickConversionsRequest)(nil), "google.ads.googleads.v1.services.UploadClickConversionsRequest")
666	proto.RegisterType((*UploadClickConversionsResponse)(nil), "google.ads.googleads.v1.services.UploadClickConversionsResponse")
667	proto.RegisterType((*UploadCallConversionsRequest)(nil), "google.ads.googleads.v1.services.UploadCallConversionsRequest")
668	proto.RegisterType((*UploadCallConversionsResponse)(nil), "google.ads.googleads.v1.services.UploadCallConversionsResponse")
669	proto.RegisterType((*ClickConversion)(nil), "google.ads.googleads.v1.services.ClickConversion")
670	proto.RegisterType((*CallConversion)(nil), "google.ads.googleads.v1.services.CallConversion")
671	proto.RegisterType((*ExternalAttributionData)(nil), "google.ads.googleads.v1.services.ExternalAttributionData")
672	proto.RegisterType((*ClickConversionResult)(nil), "google.ads.googleads.v1.services.ClickConversionResult")
673	proto.RegisterType((*CallConversionResult)(nil), "google.ads.googleads.v1.services.CallConversionResult")
674}
675
676func init() {
677	proto.RegisterFile("google/ads/googleads/v1/services/conversion_upload_service.proto", fileDescriptor_0e4ce88023381c6a)
678}
679
680var fileDescriptor_0e4ce88023381c6a = []byte{
681	// 979 bytes of a gzipped FileDescriptorProto
682	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0x4f, 0x6f, 0xdc, 0xc4,
683	0x1b, 0x96, 0xbd, 0xf9, 0xd7, 0xd9, 0xb6, 0xf9, 0x75, 0x7e, 0x09, 0xeb, 0x6e, 0x43, 0x59, 0x99,
684	0x48, 0x44, 0x11, 0xb2, 0xd9, 0x2d, 0xa2, 0xc4, 0x08, 0x5a, 0x27, 0x69, 0x43, 0x0e, 0x85, 0xb0,
685	0x81, 0x50, 0xaa, 0x95, 0xac, 0x59, 0x7b, 0xb2, 0x8c, 0x98, 0xf5, 0x98, 0x99, 0xf1, 0x42, 0x84,
686	0xb8, 0xc0, 0x47, 0xe0, 0xca, 0x09, 0x71, 0xe2, 0x1b, 0xa0, 0x9e, 0xb8, 0xf6, 0xda, 0x1b, 0x27,
687	0x0e, 0x88, 0x03, 0x88, 0x0b, 0x07, 0xce, 0xc8, 0xff, 0xd6, 0xce, 0xca, 0xcb, 0x3a, 0x51, 0xb8,
688	0x20, 0x6e, 0x93, 0x99, 0xf7, 0x79, 0xe6, 0x7d, 0xdf, 0xe7, 0xf1, 0xec, 0x1b, 0x70, 0x77, 0xc0,
689	0xd8, 0x80, 0x62, 0x13, 0x79, 0xc2, 0x4c, 0x96, 0xd1, 0x6a, 0xd4, 0x36, 0x05, 0xe6, 0x23, 0xe2,
690	0x62, 0x61, 0xba, 0xcc, 0x1f, 0x61, 0x2e, 0x08, 0xf3, 0x9d, 0x30, 0xa0, 0x0c, 0x79, 0x4e, 0x7a,
691	0x64, 0x04, 0x9c, 0x49, 0x06, 0x5b, 0x09, 0xcc, 0x40, 0x9e, 0x30, 0xc6, 0x0c, 0xc6, 0xa8, 0x6d,
692	0x64, 0x0c, 0xcd, 0xb5, 0xec, 0x8e, 0x80, 0x98, 0xc8, 0xf7, 0x99, 0x44, 0x92, 0x30, 0x5f, 0x24,
693	0xf8, 0x66, 0xa3, 0x70, 0xea, 0x52, 0x82, 0x7d, 0x99, 0x1e, 0x3c, 0x57, 0x38, 0x38, 0x26, 0x98,
694	0x7a, 0x4e, 0x1f, 0x7f, 0x88, 0x46, 0x84, 0xf1, 0x34, 0xe0, 0x66, 0x1a, 0x10, 0xff, 0xd5, 0x0f,
695	0x8f, 0xcd, 0x4f, 0x38, 0x0a, 0x02, 0xcc, 0x27, 0x99, 0x79, 0xe0, 0x9a, 0x42, 0x22, 0x19, 0xa6,
696	0x07, 0xfa, 0xef, 0x0a, 0x78, 0xf6, 0xbd, 0xb8, 0x96, 0x1d, 0x4a, 0xdc, 0x8f, 0x76, 0xc6, 0x15,
697	0x8a, 0x2e, 0xfe, 0x38, 0xc4, 0x42, 0xc2, 0x75, 0x50, 0x77, 0x43, 0x21, 0xd9, 0x10, 0x73, 0x87,
698	0x78, 0x9a, 0xd2, 0x52, 0x36, 0x2e, 0x6d, 0xd7, 0x7e, 0xb2, 0xd5, 0x2e, 0xc8, 0xf6, 0xf7, 0x3d,
699	0xf8, 0x10, 0xd4, 0xf3, 0xee, 0x08, 0x4d, 0x6d, 0xd5, 0x36, 0xea, 0x9d, 0xb6, 0x31, 0xab, 0x21,
700	0xc6, 0xc4, 0xad, 0x09, 0x71, 0x91, 0x0a, 0xbe, 0x00, 0x96, 0x03, 0xc4, 0x25, 0x41, 0xd4, 0x39,
701	0x46, 0x84, 0x86, 0x1c, 0x6b, 0xb5, 0x96, 0xb2, 0xb1, 0xd4, 0xbd, 0x9a, 0x6e, 0xdf, 0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74, 0x15, 0x10, 0x61, 0xb8, 0x6c, 0xb8, 0xfd, 0xa5,
736	0x0a, 0xd6, 0x5d, 0x36, 0x9c, 0x99, 0xfd, 0xf6, 0xda, 0x14, 0x33, 0x1d, 0x44, 0x86, 0x3c, 0x50,
737	0x1e, 0xbd, 0x99, 0x32, 0x0c, 0x18, 0x45, 0xfe, 0xc0, 0x60, 0x7c, 0x60, 0x0e, 0xb0, 0x1f, 0xdb,
738	0xd5, 0xcc, 0xef, 0x9c, 0xfe, 0xbf, 0xdb, 0x6b, 0xd9, 0xe2, 0x1b, 0xb5, 0xb6, 0x67, 0xdb, 0xdf,
739	0xa9, 0xad, 0xbd, 0x84, 0xd0, 0xf6, 0x84, 0x91, 0x2c, 0xa3, 0xd5, 0x51, 0xdb, 0x48, 0x2f, 0x16,
740	0x4f, 0xb2, 0x90, 0x9e, 0xed, 0x89, 0xde, 0x38, 0xa4, 0x77, 0xd4, 0xee, 0x65, 0x21, 0xbf, 0xaa,
741	0xeb, 0xc9, 0xbe, 0x65, 0xd9, 0x9e, 0xb0, 0xac, 0x71, 0x90, 0x65, 0x1d, 0xb5, 0x2d, 0x2b, 0x0b,
742	0xeb, 0x2f, 0xc4, 0x79, 0xde, 0xfa, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x7d, 0x55, 0xc4, 0x18, 0x62,
743	0x0e, 0x00, 0x00,
744}
745
746// Reference imports to suppress errors if they are not otherwise used.
747var _ context.Context
748var _ grpc.ClientConnInterface
749
750// This is a compile-time assertion to ensure that this generated file
751// is compatible with the grpc package it is being compiled against.
752const _ = grpc.SupportPackageIsVersion6
753
754// ConversionUploadServiceClient is the client API for ConversionUploadService service.
755//
756// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
757type ConversionUploadServiceClient interface {
758	// Processes the given click conversions.
759	UploadClickConversions(ctx context.Context, in *UploadClickConversionsRequest, opts ...grpc.CallOption) (*UploadClickConversionsResponse, error)
760	// Processes the given call conversions.
761	UploadCallConversions(ctx context.Context, in *UploadCallConversionsRequest, opts ...grpc.CallOption) (*UploadCallConversionsResponse, error)
762}
763
764type conversionUploadServiceClient struct {
765	cc grpc.ClientConnInterface
766}
767
768func NewConversionUploadServiceClient(cc grpc.ClientConnInterface) ConversionUploadServiceClient {
769	return &conversionUploadServiceClient{cc}
770}
771
772func (c *conversionUploadServiceClient) UploadClickConversions(ctx context.Context, in *UploadClickConversionsRequest, opts ...grpc.CallOption) (*UploadClickConversionsResponse, error) {
773	out := new(UploadClickConversionsResponse)
774	err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ConversionUploadService/UploadClickConversions", in, out, opts...)
775	if err != nil {
776		return nil, err
777	}
778	return out, nil
779}
780
781func (c *conversionUploadServiceClient) UploadCallConversions(ctx context.Context, in *UploadCallConversionsRequest, opts ...grpc.CallOption) (*UploadCallConversionsResponse, error) {
782	out := new(UploadCallConversionsResponse)
783	err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ConversionUploadService/UploadCallConversions", in, out, opts...)
784	if err != nil {
785		return nil, err
786	}
787	return out, nil
788}
789
790// ConversionUploadServiceServer is the server API for ConversionUploadService service.
791type ConversionUploadServiceServer interface {
792	// Processes the given click conversions.
793	UploadClickConversions(context.Context, *UploadClickConversionsRequest) (*UploadClickConversionsResponse, error)
794	// Processes the given call conversions.
795	UploadCallConversions(context.Context, *UploadCallConversionsRequest) (*UploadCallConversionsResponse, error)
796}
797
798// UnimplementedConversionUploadServiceServer can be embedded to have forward compatible implementations.
799type UnimplementedConversionUploadServiceServer struct {
800}
801
802func (*UnimplementedConversionUploadServiceServer) UploadClickConversions(ctx context.Context, req *UploadClickConversionsRequest) (*UploadClickConversionsResponse, error) {
803	return nil, status1.Errorf(codes.Unimplemented, "method UploadClickConversions not implemented")
804}
805func (*UnimplementedConversionUploadServiceServer) UploadCallConversions(ctx context.Context, req *UploadCallConversionsRequest) (*UploadCallConversionsResponse, error) {
806	return nil, status1.Errorf(codes.Unimplemented, "method UploadCallConversions not implemented")
807}
808
809func RegisterConversionUploadServiceServer(s *grpc.Server, srv ConversionUploadServiceServer) {
810	s.RegisterService(&_ConversionUploadService_serviceDesc, srv)
811}
812
813func _ConversionUploadService_UploadClickConversions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
814	in := new(UploadClickConversionsRequest)
815	if err := dec(in); err != nil {
816		return nil, err
817	}
818	if interceptor == nil {
819		return srv.(ConversionUploadServiceServer).UploadClickConversions(ctx, in)
820	}
821	info := &grpc.UnaryServerInfo{
822		Server:     srv,
823		FullMethod: "/google.ads.googleads.v1.services.ConversionUploadService/UploadClickConversions",
824	}
825	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
826		return srv.(ConversionUploadServiceServer).UploadClickConversions(ctx, req.(*UploadClickConversionsRequest))
827	}
828	return interceptor(ctx, in, info, handler)
829}
830
831func _ConversionUploadService_UploadCallConversions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
832	in := new(UploadCallConversionsRequest)
833	if err := dec(in); err != nil {
834		return nil, err
835	}
836	if interceptor == nil {
837		return srv.(ConversionUploadServiceServer).UploadCallConversions(ctx, in)
838	}
839	info := &grpc.UnaryServerInfo{
840		Server:     srv,
841		FullMethod: "/google.ads.googleads.v1.services.ConversionUploadService/UploadCallConversions",
842	}
843	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
844		return srv.(ConversionUploadServiceServer).UploadCallConversions(ctx, req.(*UploadCallConversionsRequest))
845	}
846	return interceptor(ctx, in, info, handler)
847}
848
849var _ConversionUploadService_serviceDesc = grpc.ServiceDesc{
850	ServiceName: "google.ads.googleads.v1.services.ConversionUploadService",
851	HandlerType: (*ConversionUploadServiceServer)(nil),
852	Methods: []grpc.MethodDesc{
853		{
854			MethodName: "UploadClickConversions",
855			Handler:    _ConversionUploadService_UploadClickConversions_Handler,
856		},
857		{
858			MethodName: "UploadCallConversions",
859			Handler:    _ConversionUploadService_UploadCallConversions_Handler,
860		},
861	},
862	Streams:  []grpc.StreamDesc{},
863	Metadata: "google/ads/googleads/v1/services/conversion_upload_service.proto",
864}
865