1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v3/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.v3.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_86ad5d8f8879bebc, []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.v3.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_86ad5d8f8879bebc, []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.v3.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_86ad5d8f8879bebc, []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.v3.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_86ad5d8f8879bebc, []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_86ad5d8f8879bebc, []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_86ad5d8f8879bebc, []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_86ad5d8f8879bebc, []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_86ad5d8f8879bebc, []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_86ad5d8f8879bebc, []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.v3.services.UploadClickConversionsRequest") 666 proto.RegisterType((*UploadClickConversionsResponse)(nil), "google.ads.googleads.v3.services.UploadClickConversionsResponse") 667 proto.RegisterType((*UploadCallConversionsRequest)(nil), "google.ads.googleads.v3.services.UploadCallConversionsRequest") 668 proto.RegisterType((*UploadCallConversionsResponse)(nil), "google.ads.googleads.v3.services.UploadCallConversionsResponse") 669 proto.RegisterType((*ClickConversion)(nil), "google.ads.googleads.v3.services.ClickConversion") 670 proto.RegisterType((*CallConversion)(nil), "google.ads.googleads.v3.services.CallConversion") 671 proto.RegisterType((*ExternalAttributionData)(nil), "google.ads.googleads.v3.services.ExternalAttributionData") 672 proto.RegisterType((*ClickConversionResult)(nil), "google.ads.googleads.v3.services.ClickConversionResult") 673 proto.RegisterType((*CallConversionResult)(nil), "google.ads.googleads.v3.services.CallConversionResult") 674} 675 676func init() { 677 proto.RegisterFile("google/ads/googleads/v3/services/conversion_upload_service.proto", fileDescriptor_86ad5d8f8879bebc) 678} 679 680var fileDescriptor_86ad5d8f8879bebc = []byte{ 681 // 977 bytes of a gzipped FileDescriptorProto 682 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0xcf, 0x6f, 0xdc, 0x44, 683 0x14, 0x96, 0xbd, 0xf9, 0xd5, 0xd9, 0xb6, 0xa1, 0x43, 0xc2, 0xba, 0xdb, 0x50, 0x56, 0x26, 0x12, 684 0x51, 0x84, 0x6c, 0xd8, 0x45, 0x94, 0x18, 0x41, 0xeb, 0x24, 0x6d, 0xc8, 0xa1, 0x10, 0x36, 0x10, 685 0x4a, 0xb5, 0x92, 0x35, 0x6b, 0x4f, 0x96, 0x11, 0xb3, 0x1e, 0x33, 0x33, 0x5e, 0x88, 0x10, 0x17, 686 0xf8, 0x13, 0xb8, 0x72, 0x42, 0x9c, 0xf8, 0x0f, 0x50, 0x4f, 0x5c, 0x7b, 0xed, 0x8d, 0x13, 0x07, 687 0xc4, 0x01, 0xc4, 0x85, 0x03, 0x67, 0xe4, 0x5f, 0x6b, 0x67, 0xe5, 0x65, 0x9d, 0x28, 0x5c, 0x10, 688 0xb7, 0xc9, 0xcc, 0xfb, 0xbe, 0x79, 0xef, 0x7d, 0x9f, 0x67, 0x5f, 0xc0, 0x9d, 0x01, 0x63, 0x03, 689 0x8a, 0x4d, 0xe4, 0x09, 0x33, 0x59, 0x46, 0xab, 0x51, 0xc7, 0x14, 0x98, 0x8f, 0x88, 0x8b, 0x85, 690 0xe9, 0x32, 0x7f, 0x84, 0xb9, 0x20, 0xcc, 0x77, 0xc2, 0x80, 0x32, 0xe4, 0x39, 0xe9, 0x91, 0x11, 691 0x70, 0x26, 0x19, 0x6c, 0x25, 0x30, 0x03, 0x79, 0xc2, 0x18, 0x33, 0x18, 0xa3, 0x8e, 0x91, 0x31, 692 0x34, 0xd7, 0xb2, 0x3b, 0x02, 0x62, 0x22, 0xdf, 0x67, 0x12, 0x49, 0xc2, 0x7c, 0x91, 0xe0, 0x9b, 693 0x8d, 0xc2, 0xa9, 0x4b, 0x09, 0xf6, 0x65, 0x7a, 0xf0, 0x5c, 0xe1, 0xe0, 0x98, 0x60, 0xea, 0x39, 694 0x7d, 0xfc, 0x11, 0x1a, 0x11, 0xc6, 0xd3, 0x80, 0x9b, 0x69, 0x40, 0xfc, 0x57, 0x3f, 0x3c, 0x36, 695 0x3f, 0xe5, 0x28, 0x08, 0x30, 0x9f, 0x64, 0xe6, 0x81, 0x6b, 0x0a, 0x89, 0x64, 0x98, 0x1e, 0xe8, 696 0x7f, 0x28, 0xe0, 0xd9, 0xf7, 0xe3, 0x5a, 0x76, 0x28, 0x71, 0x3f, 0xde, 0x19, 0x57, 0x28, 0xba, 697 0xf8, 0x93, 0x10, 0x0b, 0x09, 0xd7, 0x41, 0xdd, 0x0d, 0x85, 0x64, 0x43, 0xcc, 0x1d, 0xe2, 0x69, 698 0x4a, 0x4b, 0xd9, 0xb8, 0xb4, 0x5d, 0xfb, 0xd9, 0x56, 0xbb, 0x20, 0xdb, 0xdf, 0xf7, 0xe0, 0x03, 699 0x50, 0xcf, 0xbb, 0x23, 0x34, 0xb5, 0x55, 0xdb, 0xa8, 0xb7, 0x5f, 0x36, 0x66, 0x35, 0xc4, 0x98, 700 0xb8, 0x35, 0x21, 0x2e, 0x52, 0xc1, 0x17, 0xc0, 0x72, 0x80, 0xb8, 0x24, 0x88, 0x3a, 0xc7, 0x88, 701 0xd0, 0x90, 0x63, 0xad, 0xd6, 0x52, 0x36, 0x96, 0xba, 0x57, 0xd3, 0xed, 0x7b, 0xc9, 0x2e, 0x7c, 702 0x1e, 0x5c, 0x19, 0x21, 0x4a, 0x3c, 0x24, 0xb1, 0xc3, 0x7c, 0x7a, 0xa2, 0xcd, 0xc5, 0x61, 0x97, 703 0xb3, 0xcd, 0x77, 0x7c, 0x7a, 0xa2, 0x3f, 0x52, 0xc0, 0xcd, 0x69, 0xf5, 0x8a, 0x80, 0xf9, 0x02, 704 0xc3, 0x7b, 0x60, 0x75, 0xe2, 0x42, 0x07, 0x73, 0xce, 0x78, 0x5c, 0x7a, 0xbd, 0x0d, 0xb3, 0xa2, 705 0x78, 0xe0, 0x1a, 0x87, 0x71, 0x2f, 0xbb, 0x4f, 0x9f, 0x4e, 0xe5, 0x6e, 0x14, 0x0e, 0xdf, 0x05, 706 0x8b, 0x1c, 0x8b, 0x90, 0xca, 0xac, 0x1d, 0xb7, 0xce, 0xdc, 0x8e, 0x6e, 0x8c, 0xef, 0x66, 0x3c, 707 0xfa, 0xef, 0x0a, 0x58, 0x4b, 0xb3, 0x47, 0x94, 0x9e, 0x5b, 0xac, 0x0f, 0xca, 0xc4, 0x7a, 0xa9, 708 0x42, 0x76, 0xa7, 0x2e, 0xfd, 0xd7, 0xb5, 0xfa, 0x21, 0xf7, 0xe6, 0x64, 0xb5, 0x17, 0x2c, 0xd5, 709 0xc1, 0xa4, 0x54, 0xaf, 0x9e, 0xb5, 0x19, 0x93, 0x4a, 0x7d, 0x33, 0x07, 0x96, 0x27, 0xc4, 0x84, 710 0x6d, 0x30, 0x3f, 0x70, 0x69, 0x2a, 0x4b, 0xbd, 0xbd, 0x96, 0xdd, 0x91, 0x7d, 0xb4, 0xc6, 0xa1, 711 0xe4, 0xc4, 0x1f, 0x1c, 0x21, 0x1a, 0xe2, 0x6e, 0x12, 0x0a, 0xf7, 0xc1, 0xb5, 0xc2, 0xab, 0x83, 712 0xdc, 0xe8, 0xb9, 0xd0, 0xd4, 0x0a, 0xf8, 0xa7, 0x72, 0x98, 0x1d, 0xa3, 0xe0, 0xdb, 0x60, 0xa5, 713 0x40, 0x15, 0xb7, 0x5e, 0x92, 0x61, 0xa2, 0xd0, 0x2c, 0x36, 0x98, 0x23, 0x77, 0x91, 0xc4, 0xef, 714 0x91, 0x21, 0x86, 0x7b, 0xa0, 0x70, 0x87, 0x33, 0x8a, 0xe2, 0x62, 0x19, 0xcb, 0xb8, 0x76, 0x59, 715 0xd8, 0xa7, 0x38, 0xe1, 0x5a, 0xce, 0x51, 0xf1, 0x06, 0xb4, 0xc1, 0x15, 0x37, 0xe4, 0x1c, 0xfb, 716 0xee, 0x89, 0xe3, 0x32, 0x0f, 0x6b, 0xf3, 0x15, 0x32, 0xba, 0x9c, 0x41, 0x76, 0x98, 0x87, 0xe1, 717 0x2d, 0xb0, 0xc4, 0xb8, 0x97, 0x98, 0x7e, 0xa1, 0x02, 0x7a, 0x31, 0x8e, 0xde, 0xf7, 0x60, 0x08, 718 0xae, 0xe3, 0xcf, 0x24, 0xe6, 0x3e, 0xa2, 0x0e, 0x92, 0x92, 0x93, 0x7e, 0x28, 0xd3, 0xf6, 0x20, 719 0x6d, 0x31, 0x66, 0xda, 0x9a, 0xed, 0x85, 0xbb, 0x29, 0x85, 0x9d, 0x33, 0xec, 0x22, 0x89, 0xba, 720 0x0d, 0x5c, 0x7e, 0xa0, 0xff, 0x58, 0x03, 0x57, 0x4f, 0x1b, 0x08, 0x6e, 0x81, 0x4b, 0x2e, 0xa2, 721 0x34, 0xff, 0x70, 0x67, 0xd5, 0xb0, 0x94, 0x84, 0xef, 0x7b, 0xf0, 0x3e, 0x58, 0x89, 0xd6, 0x8e, 722 0x90, 0x88, 0xcb, 0x82, 0xb2, 0x55, 0x7c, 0x72, 0x2d, 0x42, 0x1e, 0x46, 0xc0, 0xb1, 0xb0, 0xa5, 723 0x9e, 0xab, 0x5d, 0xa8, 0xe7, 0xe6, 0x2e, 0xd0, 0x73, 0xf3, 0x17, 0xe2, 0xb9, 0x85, 0xb3, 0x7a, 724 0x4e, 0x7f, 0xa2, 0x80, 0xc6, 0x14, 0xe1, 0x61, 0x0f, 0xdc, 0x28, 0xb5, 0x95, 0xcb, 0xb1, 0x47, 725 0xe4, 0x54, 0x79, 0x8b, 0x29, 0x5f, 0x2f, 0xf1, 0xce, 0x4e, 0x0c, 0x87, 0x0f, 0x41, 0xb3, 0x94, 726 0x7d, 0xc8, 0x3c, 0x4c, 0x2b, 0xa9, 0xae, 0x95, 0x90, 0xdf, 0x8f, 0xd0, 0xfa, 0xaf, 0x0a, 0x58, 727 0x2d, 0xfd, 0x15, 0xfa, 0x8f, 0x3d, 0x5f, 0xfa, 0x23, 0x15, 0xac, 0x94, 0xbd, 0xe1, 0xff, 0x7f, 728 0x88, 0x15, 0xba, 0xd7, 0xfe, 0x6e, 0x0e, 0x34, 0xf2, 0xce, 0x25, 0xbf, 0xd2, 0x87, 0xc9, 0x73, 729 0x08, 0xff, 0x52, 0xc0, 0x33, 0xe5, 0x33, 0x16, 0xbc, 0x3d, 0xfb, 0x2d, 0xfd, 0xc7, 0x69, 0xb4, 730 0x79, 0xe7, 0xfc, 0x04, 0xc9, 0xcc, 0xa0, 0x7f, 0xf8, 0x93, 0xdd, 0x28, 0xcc, 0x48, 0x2f, 0x16, 731 0xe6, 0x97, 0x2f, 0x9f, 0xfc, 0xf2, 0xb5, 0xba, 0xa5, 0xbf, 0x12, 0x0d, 0xfd, 0x59, 0x88, 0x30, 732 0x3f, 0x2f, 0x44, 0xbf, 0xb1, 0xf9, 0x85, 0x15, 0x96, 0xf2, 0x5b, 0xca, 0x26, 0xfc, 0x53, 0x01, 733 0xab, 0xa5, 0x03, 0x0b, 0x7c, 0xb3, 0x72, 0xda, 0xa5, 0x73, 0x5d, 0xf3, 0xf6, 0xb9, 0xf1, 0x69, 734 0xd5, 0x0f, 0x66, 0x54, 0xfd, 0x9a, 0xde, 0xa9, 0x54, 0xf5, 0x69, 0x7a, 0x4b, 0xd9, 0x6c, 0xde, 735 0x78, 0x6c, 0x6b, 0x79, 0x46, 0xe9, 0x2a, 0x20, 0xc2, 0x70, 0xd9, 0x70, 0xfb, 0x2b, 0x15, 0xac, 736 0xbb, 0x6c, 0x38, 0x33, 0xfb, 0xed, 0xb5, 0x29, 0x66, 0x3a, 0x88, 0x0c, 0x79, 0xa0, 0x3c, 0x7c, 737 0x2b, 0x65, 0x18, 0x30, 0x8a, 0xfc, 0x81, 0xc1, 0xf8, 0xc0, 0x1c, 0x60, 0x3f, 0xb6, 0xab, 0x99, 738 0xdf, 0x39, 0xfd, 0x7f, 0xb7, 0xd7, 0xb3, 0xc5, 0xb7, 0x6a, 0x6d, 0xcf, 0xb6, 0xbf, 0x57, 0x5b, 739 0x7b, 0x09, 0xa1, 0xed, 0x09, 0x23, 0x59, 0x46, 0xab, 0xa3, 0x8e, 0x91, 0x5e, 0x2c, 0x1e, 0x67, 740 0x21, 0x3d, 0xdb, 0x13, 0xbd, 0x71, 0x48, 0xef, 0xa8, 0xd3, 0xcb, 0x42, 0x7e, 0x53, 0xd7, 0x93, 741 0x7d, 0xcb, 0xb2, 0x3d, 0x61, 0x59, 0xe3, 0x20, 0xcb, 0x3a, 0xea, 0x58, 0x56, 0x16, 0xd6, 0x5f, 742 0x88, 0xf3, 0xec, 0xfc, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x96, 0x60, 0xbf, 0x4a, 0x62, 0x0e, 0x00, 743 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.v3.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.v3.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.v3.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.v3.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.v3.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/v3/services/conversion_upload_service.proto", 864} 865