You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

591 lines
26 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/services/conversion_action_service.proto
  3. package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/golang/protobuf/ptypes/wrappers"
  8. import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources"
  9. import _ "google.golang.org/genproto/googleapis/api/annotations"
  10. import status "google.golang.org/genproto/googleapis/rpc/status"
  11. import field_mask "google.golang.org/genproto/protobuf/field_mask"
  12. import (
  13. context "golang.org/x/net/context"
  14. grpc "google.golang.org/grpc"
  15. )
  16. // Reference imports to suppress errors if they are not otherwise used.
  17. var _ = proto.Marshal
  18. var _ = fmt.Errorf
  19. var _ = math.Inf
  20. // This is a compile-time assertion to ensure that this generated file
  21. // is compatible with the proto package it is being compiled against.
  22. // A compilation error at this line likely means your copy of the
  23. // proto package needs to be updated.
  24. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  25. // Request message for [ConversionActionService.GetConversionAction].
  26. type GetConversionActionRequest struct {
  27. // The resource name of the conversion action to fetch.
  28. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  29. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  30. XXX_unrecognized []byte `json:"-"`
  31. XXX_sizecache int32 `json:"-"`
  32. }
  33. func (m *GetConversionActionRequest) Reset() { *m = GetConversionActionRequest{} }
  34. func (m *GetConversionActionRequest) String() string { return proto.CompactTextString(m) }
  35. func (*GetConversionActionRequest) ProtoMessage() {}
  36. func (*GetConversionActionRequest) Descriptor() ([]byte, []int) {
  37. return fileDescriptor_conversion_action_service_a3114b9b067f0aff, []int{0}
  38. }
  39. func (m *GetConversionActionRequest) XXX_Unmarshal(b []byte) error {
  40. return xxx_messageInfo_GetConversionActionRequest.Unmarshal(m, b)
  41. }
  42. func (m *GetConversionActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  43. return xxx_messageInfo_GetConversionActionRequest.Marshal(b, m, deterministic)
  44. }
  45. func (dst *GetConversionActionRequest) XXX_Merge(src proto.Message) {
  46. xxx_messageInfo_GetConversionActionRequest.Merge(dst, src)
  47. }
  48. func (m *GetConversionActionRequest) XXX_Size() int {
  49. return xxx_messageInfo_GetConversionActionRequest.Size(m)
  50. }
  51. func (m *GetConversionActionRequest) XXX_DiscardUnknown() {
  52. xxx_messageInfo_GetConversionActionRequest.DiscardUnknown(m)
  53. }
  54. var xxx_messageInfo_GetConversionActionRequest proto.InternalMessageInfo
  55. func (m *GetConversionActionRequest) GetResourceName() string {
  56. if m != nil {
  57. return m.ResourceName
  58. }
  59. return ""
  60. }
  61. // Request message for [ConversionActionService.MutateConversionActions].
  62. type MutateConversionActionsRequest struct {
  63. // The ID of the customer whose conversion actions are being modified.
  64. CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
  65. // The list of operations to perform on individual conversion actions.
  66. Operations []*ConversionActionOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"`
  67. // If true, successful operations will be carried out and invalid
  68. // operations will return errors. If false, all operations will be carried
  69. // out in one transaction if and only if they are all valid.
  70. // Default is false.
  71. PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"`
  72. // If true, the request is validated but not executed. Only errors are
  73. // returned, not results.
  74. ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
  75. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  76. XXX_unrecognized []byte `json:"-"`
  77. XXX_sizecache int32 `json:"-"`
  78. }
  79. func (m *MutateConversionActionsRequest) Reset() { *m = MutateConversionActionsRequest{} }
  80. func (m *MutateConversionActionsRequest) String() string { return proto.CompactTextString(m) }
  81. func (*MutateConversionActionsRequest) ProtoMessage() {}
  82. func (*MutateConversionActionsRequest) Descriptor() ([]byte, []int) {
  83. return fileDescriptor_conversion_action_service_a3114b9b067f0aff, []int{1}
  84. }
  85. func (m *MutateConversionActionsRequest) XXX_Unmarshal(b []byte) error {
  86. return xxx_messageInfo_MutateConversionActionsRequest.Unmarshal(m, b)
  87. }
  88. func (m *MutateConversionActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  89. return xxx_messageInfo_MutateConversionActionsRequest.Marshal(b, m, deterministic)
  90. }
  91. func (dst *MutateConversionActionsRequest) XXX_Merge(src proto.Message) {
  92. xxx_messageInfo_MutateConversionActionsRequest.Merge(dst, src)
  93. }
  94. func (m *MutateConversionActionsRequest) XXX_Size() int {
  95. return xxx_messageInfo_MutateConversionActionsRequest.Size(m)
  96. }
  97. func (m *MutateConversionActionsRequest) XXX_DiscardUnknown() {
  98. xxx_messageInfo_MutateConversionActionsRequest.DiscardUnknown(m)
  99. }
  100. var xxx_messageInfo_MutateConversionActionsRequest proto.InternalMessageInfo
  101. func (m *MutateConversionActionsRequest) GetCustomerId() string {
  102. if m != nil {
  103. return m.CustomerId
  104. }
  105. return ""
  106. }
  107. func (m *MutateConversionActionsRequest) GetOperations() []*ConversionActionOperation {
  108. if m != nil {
  109. return m.Operations
  110. }
  111. return nil
  112. }
  113. func (m *MutateConversionActionsRequest) GetPartialFailure() bool {
  114. if m != nil {
  115. return m.PartialFailure
  116. }
  117. return false
  118. }
  119. func (m *MutateConversionActionsRequest) GetValidateOnly() bool {
  120. if m != nil {
  121. return m.ValidateOnly
  122. }
  123. return false
  124. }
  125. // A single operation (create, update, remove) on a conversion action.
  126. type ConversionActionOperation struct {
  127. // FieldMask that determines which resource fields are modified in an update.
  128. UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
  129. // The mutate operation.
  130. //
  131. // Types that are valid to be assigned to Operation:
  132. // *ConversionActionOperation_Create
  133. // *ConversionActionOperation_Update
  134. // *ConversionActionOperation_Remove
  135. Operation isConversionActionOperation_Operation `protobuf_oneof:"operation"`
  136. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  137. XXX_unrecognized []byte `json:"-"`
  138. XXX_sizecache int32 `json:"-"`
  139. }
  140. func (m *ConversionActionOperation) Reset() { *m = ConversionActionOperation{} }
  141. func (m *ConversionActionOperation) String() string { return proto.CompactTextString(m) }
  142. func (*ConversionActionOperation) ProtoMessage() {}
  143. func (*ConversionActionOperation) Descriptor() ([]byte, []int) {
  144. return fileDescriptor_conversion_action_service_a3114b9b067f0aff, []int{2}
  145. }
  146. func (m *ConversionActionOperation) XXX_Unmarshal(b []byte) error {
  147. return xxx_messageInfo_ConversionActionOperation.Unmarshal(m, b)
  148. }
  149. func (m *ConversionActionOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  150. return xxx_messageInfo_ConversionActionOperation.Marshal(b, m, deterministic)
  151. }
  152. func (dst *ConversionActionOperation) XXX_Merge(src proto.Message) {
  153. xxx_messageInfo_ConversionActionOperation.Merge(dst, src)
  154. }
  155. func (m *ConversionActionOperation) XXX_Size() int {
  156. return xxx_messageInfo_ConversionActionOperation.Size(m)
  157. }
  158. func (m *ConversionActionOperation) XXX_DiscardUnknown() {
  159. xxx_messageInfo_ConversionActionOperation.DiscardUnknown(m)
  160. }
  161. var xxx_messageInfo_ConversionActionOperation proto.InternalMessageInfo
  162. func (m *ConversionActionOperation) GetUpdateMask() *field_mask.FieldMask {
  163. if m != nil {
  164. return m.UpdateMask
  165. }
  166. return nil
  167. }
  168. type isConversionActionOperation_Operation interface {
  169. isConversionActionOperation_Operation()
  170. }
  171. type ConversionActionOperation_Create struct {
  172. Create *resources.ConversionAction `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
  173. }
  174. type ConversionActionOperation_Update struct {
  175. Update *resources.ConversionAction `protobuf:"bytes,2,opt,name=update,proto3,oneof"`
  176. }
  177. type ConversionActionOperation_Remove struct {
  178. Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"`
  179. }
  180. func (*ConversionActionOperation_Create) isConversionActionOperation_Operation() {}
  181. func (*ConversionActionOperation_Update) isConversionActionOperation_Operation() {}
  182. func (*ConversionActionOperation_Remove) isConversionActionOperation_Operation() {}
  183. func (m *ConversionActionOperation) GetOperation() isConversionActionOperation_Operation {
  184. if m != nil {
  185. return m.Operation
  186. }
  187. return nil
  188. }
  189. func (m *ConversionActionOperation) GetCreate() *resources.ConversionAction {
  190. if x, ok := m.GetOperation().(*ConversionActionOperation_Create); ok {
  191. return x.Create
  192. }
  193. return nil
  194. }
  195. func (m *ConversionActionOperation) GetUpdate() *resources.ConversionAction {
  196. if x, ok := m.GetOperation().(*ConversionActionOperation_Update); ok {
  197. return x.Update
  198. }
  199. return nil
  200. }
  201. func (m *ConversionActionOperation) GetRemove() string {
  202. if x, ok := m.GetOperation().(*ConversionActionOperation_Remove); ok {
  203. return x.Remove
  204. }
  205. return ""
  206. }
  207. // XXX_OneofFuncs is for the internal use of the proto package.
  208. func (*ConversionActionOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  209. return _ConversionActionOperation_OneofMarshaler, _ConversionActionOperation_OneofUnmarshaler, _ConversionActionOperation_OneofSizer, []interface{}{
  210. (*ConversionActionOperation_Create)(nil),
  211. (*ConversionActionOperation_Update)(nil),
  212. (*ConversionActionOperation_Remove)(nil),
  213. }
  214. }
  215. func _ConversionActionOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  216. m := msg.(*ConversionActionOperation)
  217. // operation
  218. switch x := m.Operation.(type) {
  219. case *ConversionActionOperation_Create:
  220. b.EncodeVarint(1<<3 | proto.WireBytes)
  221. if err := b.EncodeMessage(x.Create); err != nil {
  222. return err
  223. }
  224. case *ConversionActionOperation_Update:
  225. b.EncodeVarint(2<<3 | proto.WireBytes)
  226. if err := b.EncodeMessage(x.Update); err != nil {
  227. return err
  228. }
  229. case *ConversionActionOperation_Remove:
  230. b.EncodeVarint(3<<3 | proto.WireBytes)
  231. b.EncodeStringBytes(x.Remove)
  232. case nil:
  233. default:
  234. return fmt.Errorf("ConversionActionOperation.Operation has unexpected type %T", x)
  235. }
  236. return nil
  237. }
  238. func _ConversionActionOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  239. m := msg.(*ConversionActionOperation)
  240. switch tag {
  241. case 1: // operation.create
  242. if wire != proto.WireBytes {
  243. return true, proto.ErrInternalBadWireType
  244. }
  245. msg := new(resources.ConversionAction)
  246. err := b.DecodeMessage(msg)
  247. m.Operation = &ConversionActionOperation_Create{msg}
  248. return true, err
  249. case 2: // operation.update
  250. if wire != proto.WireBytes {
  251. return true, proto.ErrInternalBadWireType
  252. }
  253. msg := new(resources.ConversionAction)
  254. err := b.DecodeMessage(msg)
  255. m.Operation = &ConversionActionOperation_Update{msg}
  256. return true, err
  257. case 3: // operation.remove
  258. if wire != proto.WireBytes {
  259. return true, proto.ErrInternalBadWireType
  260. }
  261. x, err := b.DecodeStringBytes()
  262. m.Operation = &ConversionActionOperation_Remove{x}
  263. return true, err
  264. default:
  265. return false, nil
  266. }
  267. }
  268. func _ConversionActionOperation_OneofSizer(msg proto.Message) (n int) {
  269. m := msg.(*ConversionActionOperation)
  270. // operation
  271. switch x := m.Operation.(type) {
  272. case *ConversionActionOperation_Create:
  273. s := proto.Size(x.Create)
  274. n += 1 // tag and wire
  275. n += proto.SizeVarint(uint64(s))
  276. n += s
  277. case *ConversionActionOperation_Update:
  278. s := proto.Size(x.Update)
  279. n += 1 // tag and wire
  280. n += proto.SizeVarint(uint64(s))
  281. n += s
  282. case *ConversionActionOperation_Remove:
  283. n += 1 // tag and wire
  284. n += proto.SizeVarint(uint64(len(x.Remove)))
  285. n += len(x.Remove)
  286. case nil:
  287. default:
  288. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  289. }
  290. return n
  291. }
  292. // Response message for conversion action mutate.
  293. type MutateConversionActionsResponse struct {
  294. // Errors that pertain to operation failures in the partial failure mode.
  295. // Returned only when partial_failure = true and all errors occur inside the
  296. // operations. If any errors occur outside the operations (e.g. auth errors),
  297. // we return an RPC level error.
  298. PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"`
  299. // All results for the mutate.
  300. Results []*MutateConversionActionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
  301. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  302. XXX_unrecognized []byte `json:"-"`
  303. XXX_sizecache int32 `json:"-"`
  304. }
  305. func (m *MutateConversionActionsResponse) Reset() { *m = MutateConversionActionsResponse{} }
  306. func (m *MutateConversionActionsResponse) String() string { return proto.CompactTextString(m) }
  307. func (*MutateConversionActionsResponse) ProtoMessage() {}
  308. func (*MutateConversionActionsResponse) Descriptor() ([]byte, []int) {
  309. return fileDescriptor_conversion_action_service_a3114b9b067f0aff, []int{3}
  310. }
  311. func (m *MutateConversionActionsResponse) XXX_Unmarshal(b []byte) error {
  312. return xxx_messageInfo_MutateConversionActionsResponse.Unmarshal(m, b)
  313. }
  314. func (m *MutateConversionActionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  315. return xxx_messageInfo_MutateConversionActionsResponse.Marshal(b, m, deterministic)
  316. }
  317. func (dst *MutateConversionActionsResponse) XXX_Merge(src proto.Message) {
  318. xxx_messageInfo_MutateConversionActionsResponse.Merge(dst, src)
  319. }
  320. func (m *MutateConversionActionsResponse) XXX_Size() int {
  321. return xxx_messageInfo_MutateConversionActionsResponse.Size(m)
  322. }
  323. func (m *MutateConversionActionsResponse) XXX_DiscardUnknown() {
  324. xxx_messageInfo_MutateConversionActionsResponse.DiscardUnknown(m)
  325. }
  326. var xxx_messageInfo_MutateConversionActionsResponse proto.InternalMessageInfo
  327. func (m *MutateConversionActionsResponse) GetPartialFailureError() *status.Status {
  328. if m != nil {
  329. return m.PartialFailureError
  330. }
  331. return nil
  332. }
  333. func (m *MutateConversionActionsResponse) GetResults() []*MutateConversionActionResult {
  334. if m != nil {
  335. return m.Results
  336. }
  337. return nil
  338. }
  339. // The result for the conversion action mutate.
  340. type MutateConversionActionResult struct {
  341. // Returned for successful operations.
  342. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  343. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  344. XXX_unrecognized []byte `json:"-"`
  345. XXX_sizecache int32 `json:"-"`
  346. }
  347. func (m *MutateConversionActionResult) Reset() { *m = MutateConversionActionResult{} }
  348. func (m *MutateConversionActionResult) String() string { return proto.CompactTextString(m) }
  349. func (*MutateConversionActionResult) ProtoMessage() {}
  350. func (*MutateConversionActionResult) Descriptor() ([]byte, []int) {
  351. return fileDescriptor_conversion_action_service_a3114b9b067f0aff, []int{4}
  352. }
  353. func (m *MutateConversionActionResult) XXX_Unmarshal(b []byte) error {
  354. return xxx_messageInfo_MutateConversionActionResult.Unmarshal(m, b)
  355. }
  356. func (m *MutateConversionActionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  357. return xxx_messageInfo_MutateConversionActionResult.Marshal(b, m, deterministic)
  358. }
  359. func (dst *MutateConversionActionResult) XXX_Merge(src proto.Message) {
  360. xxx_messageInfo_MutateConversionActionResult.Merge(dst, src)
  361. }
  362. func (m *MutateConversionActionResult) XXX_Size() int {
  363. return xxx_messageInfo_MutateConversionActionResult.Size(m)
  364. }
  365. func (m *MutateConversionActionResult) XXX_DiscardUnknown() {
  366. xxx_messageInfo_MutateConversionActionResult.DiscardUnknown(m)
  367. }
  368. var xxx_messageInfo_MutateConversionActionResult proto.InternalMessageInfo
  369. func (m *MutateConversionActionResult) GetResourceName() string {
  370. if m != nil {
  371. return m.ResourceName
  372. }
  373. return ""
  374. }
  375. func init() {
  376. proto.RegisterType((*GetConversionActionRequest)(nil), "google.ads.googleads.v0.services.GetConversionActionRequest")
  377. proto.RegisterType((*MutateConversionActionsRequest)(nil), "google.ads.googleads.v0.services.MutateConversionActionsRequest")
  378. proto.RegisterType((*ConversionActionOperation)(nil), "google.ads.googleads.v0.services.ConversionActionOperation")
  379. proto.RegisterType((*MutateConversionActionsResponse)(nil), "google.ads.googleads.v0.services.MutateConversionActionsResponse")
  380. proto.RegisterType((*MutateConversionActionResult)(nil), "google.ads.googleads.v0.services.MutateConversionActionResult")
  381. }
  382. // Reference imports to suppress errors if they are not otherwise used.
  383. var _ context.Context
  384. var _ grpc.ClientConn
  385. // This is a compile-time assertion to ensure that this generated file
  386. // is compatible with the grpc package it is being compiled against.
  387. const _ = grpc.SupportPackageIsVersion4
  388. // ConversionActionServiceClient is the client API for ConversionActionService service.
  389. //
  390. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  391. type ConversionActionServiceClient interface {
  392. // Returns the requested conversion action.
  393. GetConversionAction(ctx context.Context, in *GetConversionActionRequest, opts ...grpc.CallOption) (*resources.ConversionAction, error)
  394. // Creates, updates or removes conversion actions. Operation statuses are
  395. // returned.
  396. MutateConversionActions(ctx context.Context, in *MutateConversionActionsRequest, opts ...grpc.CallOption) (*MutateConversionActionsResponse, error)
  397. }
  398. type conversionActionServiceClient struct {
  399. cc *grpc.ClientConn
  400. }
  401. func NewConversionActionServiceClient(cc *grpc.ClientConn) ConversionActionServiceClient {
  402. return &conversionActionServiceClient{cc}
  403. }
  404. func (c *conversionActionServiceClient) GetConversionAction(ctx context.Context, in *GetConversionActionRequest, opts ...grpc.CallOption) (*resources.ConversionAction, error) {
  405. out := new(resources.ConversionAction)
  406. err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.ConversionActionService/GetConversionAction", in, out, opts...)
  407. if err != nil {
  408. return nil, err
  409. }
  410. return out, nil
  411. }
  412. func (c *conversionActionServiceClient) MutateConversionActions(ctx context.Context, in *MutateConversionActionsRequest, opts ...grpc.CallOption) (*MutateConversionActionsResponse, error) {
  413. out := new(MutateConversionActionsResponse)
  414. err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.ConversionActionService/MutateConversionActions", in, out, opts...)
  415. if err != nil {
  416. return nil, err
  417. }
  418. return out, nil
  419. }
  420. // ConversionActionServiceServer is the server API for ConversionActionService service.
  421. type ConversionActionServiceServer interface {
  422. // Returns the requested conversion action.
  423. GetConversionAction(context.Context, *GetConversionActionRequest) (*resources.ConversionAction, error)
  424. // Creates, updates or removes conversion actions. Operation statuses are
  425. // returned.
  426. MutateConversionActions(context.Context, *MutateConversionActionsRequest) (*MutateConversionActionsResponse, error)
  427. }
  428. func RegisterConversionActionServiceServer(s *grpc.Server, srv ConversionActionServiceServer) {
  429. s.RegisterService(&_ConversionActionService_serviceDesc, srv)
  430. }
  431. func _ConversionActionService_GetConversionAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  432. in := new(GetConversionActionRequest)
  433. if err := dec(in); err != nil {
  434. return nil, err
  435. }
  436. if interceptor == nil {
  437. return srv.(ConversionActionServiceServer).GetConversionAction(ctx, in)
  438. }
  439. info := &grpc.UnaryServerInfo{
  440. Server: srv,
  441. FullMethod: "/google.ads.googleads.v0.services.ConversionActionService/GetConversionAction",
  442. }
  443. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  444. return srv.(ConversionActionServiceServer).GetConversionAction(ctx, req.(*GetConversionActionRequest))
  445. }
  446. return interceptor(ctx, in, info, handler)
  447. }
  448. func _ConversionActionService_MutateConversionActions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  449. in := new(MutateConversionActionsRequest)
  450. if err := dec(in); err != nil {
  451. return nil, err
  452. }
  453. if interceptor == nil {
  454. return srv.(ConversionActionServiceServer).MutateConversionActions(ctx, in)
  455. }
  456. info := &grpc.UnaryServerInfo{
  457. Server: srv,
  458. FullMethod: "/google.ads.googleads.v0.services.ConversionActionService/MutateConversionActions",
  459. }
  460. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  461. return srv.(ConversionActionServiceServer).MutateConversionActions(ctx, req.(*MutateConversionActionsRequest))
  462. }
  463. return interceptor(ctx, in, info, handler)
  464. }
  465. var _ConversionActionService_serviceDesc = grpc.ServiceDesc{
  466. ServiceName: "google.ads.googleads.v0.services.ConversionActionService",
  467. HandlerType: (*ConversionActionServiceServer)(nil),
  468. Methods: []grpc.MethodDesc{
  469. {
  470. MethodName: "GetConversionAction",
  471. Handler: _ConversionActionService_GetConversionAction_Handler,
  472. },
  473. {
  474. MethodName: "MutateConversionActions",
  475. Handler: _ConversionActionService_MutateConversionActions_Handler,
  476. },
  477. },
  478. Streams: []grpc.StreamDesc{},
  479. Metadata: "google/ads/googleads/v0/services/conversion_action_service.proto",
  480. }
  481. func init() {
  482. proto.RegisterFile("google/ads/googleads/v0/services/conversion_action_service.proto", fileDescriptor_conversion_action_service_a3114b9b067f0aff)
  483. }
  484. var fileDescriptor_conversion_action_service_a3114b9b067f0aff = []byte{
  485. // 716 bytes of a gzipped FileDescriptorProto
  486. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x4f, 0xd4, 0x4c,
  487. 0x18, 0xc0, 0xdf, 0x76, 0xdf, 0xa0, 0x4c, 0x51, 0x93, 0x21, 0x86, 0x75, 0x43, 0x60, 0x53, 0x49,
  488. 0x24, 0x7b, 0x68, 0x37, 0x4b, 0x34, 0xb1, 0x2b, 0x86, 0x42, 0x04, 0x3c, 0x20, 0xa4, 0x24, 0xc4,
  489. 0xe8, 0x26, 0xcd, 0xd0, 0x0e, 0x9b, 0x86, 0xb6, 0x53, 0x67, 0xa6, 0x6b, 0x08, 0xe1, 0xa2, 0x1f,
  490. 0xc1, 0xb3, 0x17, 0x8f, 0x7e, 0x0d, 0xc3, 0xc5, 0xab, 0x9f, 0xc0, 0xc4, 0x93, 0xf1, 0x43, 0x98,
  491. 0xe9, 0x74, 0x56, 0x58, 0xa8, 0x6b, 0xe0, 0xb4, 0xcf, 0x3e, 0xcf, 0x33, 0xbf, 0xe7, 0xef, 0x4c,
  492. 0xc1, 0x4a, 0x9f, 0x90, 0x7e, 0x8c, 0x6d, 0x14, 0x32, 0x5b, 0x8a, 0x42, 0x1a, 0xb4, 0x6d, 0x86,
  493. 0xe9, 0x20, 0x0a, 0x30, 0xb3, 0x03, 0x92, 0x0e, 0x30, 0x65, 0x11, 0x49, 0x7d, 0x14, 0x70, 0xf1,
  494. 0x53, 0x9a, 0xac, 0x8c, 0x12, 0x4e, 0x60, 0x53, 0x1e, 0xb3, 0x50, 0xc8, 0xac, 0x21, 0xc1, 0x1a,
  495. 0xb4, 0x2d, 0x45, 0x68, 0x3c, 0xae, 0x8a, 0x41, 0x31, 0x23, 0x39, 0xbd, 0x34, 0x88, 0x84, 0x37,
  496. 0x66, 0xd5, 0xd1, 0x2c, 0xb2, 0x51, 0x9a, 0x12, 0x8e, 0x84, 0x91, 0x95, 0xd6, 0x32, 0xb4, 0x5d,
  497. 0xfc, 0xdb, 0xcf, 0x0f, 0xec, 0x83, 0x08, 0xc7, 0xa1, 0x9f, 0x20, 0x76, 0x58, 0x7a, 0xcc, 0x8d,
  498. 0x7a, 0xbc, 0xa5, 0x28, 0xcb, 0x30, 0x55, 0x84, 0x99, 0xd2, 0x4e, 0xb3, 0xc0, 0x66, 0x1c, 0xf1,
  499. 0xbc, 0x34, 0x98, 0x2e, 0x68, 0x6c, 0x60, 0xbe, 0x36, 0x4c, 0xcb, 0x2d, 0xb2, 0xf2, 0xf0, 0x9b,
  500. 0x1c, 0x33, 0x0e, 0xef, 0x83, 0x5b, 0x2a, 0x77, 0x3f, 0x45, 0x09, 0xae, 0x6b, 0x4d, 0x6d, 0x71,
  501. 0xd2, 0x9b, 0x52, 0xca, 0x17, 0x28, 0xc1, 0xe6, 0x2f, 0x0d, 0xcc, 0x6d, 0xe5, 0x1c, 0x71, 0x3c,
  502. 0x8a, 0x61, 0x8a, 0x33, 0x0f, 0x8c, 0x20, 0x67, 0x9c, 0x24, 0x98, 0xfa, 0x51, 0x58, 0x52, 0x80,
  503. 0x52, 0x3d, 0x0f, 0xe1, 0x6b, 0x00, 0x48, 0x86, 0xa9, 0xac, 0xba, 0xae, 0x37, 0x6b, 0x8b, 0x46,
  504. 0xa7, 0x6b, 0x8d, 0xeb, 0xb8, 0x35, 0x1a, 0x70, 0x5b, 0x31, 0xbc, 0x33, 0x38, 0xf8, 0x00, 0xdc,
  505. 0xc9, 0x10, 0xe5, 0x11, 0x8a, 0xfd, 0x03, 0x14, 0xc5, 0x39, 0xc5, 0xf5, 0x5a, 0x53, 0x5b, 0xbc,
  506. 0xe9, 0xdd, 0x2e, 0xd5, 0xeb, 0x52, 0x2b, 0xca, 0x1d, 0xa0, 0x38, 0x0a, 0x11, 0xc7, 0x3e, 0x49,
  507. 0xe3, 0xa3, 0xfa, 0xff, 0x85, 0xdb, 0x94, 0x52, 0x6e, 0xa7, 0xf1, 0x91, 0xf9, 0x51, 0x07, 0xf7,
  508. 0x2a, 0xe3, 0xc2, 0x2e, 0x30, 0xf2, 0xac, 0x00, 0x88, 0xe9, 0x14, 0x00, 0xa3, 0xd3, 0x50, 0x95,
  509. 0xa8, 0xf1, 0x58, 0xeb, 0x62, 0x80, 0x5b, 0x88, 0x1d, 0x7a, 0x40, 0xba, 0x0b, 0x19, 0x6e, 0x81,
  510. 0x89, 0x80, 0x62, 0xc4, 0x65, 0x9f, 0x8d, 0xce, 0x52, 0x65, 0x07, 0x86, 0x1b, 0x75, 0xa1, 0x05,
  511. 0x9b, 0xff, 0x79, 0x25, 0x44, 0xe0, 0x24, 0xbc, 0xae, 0x5f, 0x0b, 0x27, 0x21, 0xb0, 0x0e, 0x26,
  512. 0x28, 0x4e, 0xc8, 0x40, 0x76, 0x6f, 0x52, 0x58, 0xe4, 0xff, 0x55, 0x03, 0x4c, 0x0e, 0xdb, 0x6d,
  513. 0x7e, 0xd1, 0xc0, 0x7c, 0xe5, 0x3a, 0xb0, 0x8c, 0xa4, 0x0c, 0xc3, 0x75, 0x70, 0x77, 0x64, 0x22,
  514. 0x3e, 0xa6, 0x94, 0xd0, 0x82, 0x6c, 0x74, 0xa0, 0x4a, 0x94, 0x66, 0x81, 0xb5, 0x5b, 0xac, 0xab,
  515. 0x37, 0x7d, 0x7e, 0x56, 0xcf, 0x84, 0x3b, 0x7c, 0x09, 0x6e, 0x50, 0xcc, 0xf2, 0x98, 0xab, 0x9d,
  516. 0x79, 0x3a, 0x7e, 0x67, 0x2e, 0xcf, 0xcd, 0x2b, 0x30, 0x9e, 0xc2, 0x99, 0x6b, 0x60, 0xf6, 0x6f,
  517. 0x8e, 0xff, 0x74, 0x33, 0x3a, 0xa7, 0x35, 0x30, 0x33, 0x7a, 0x7e, 0x57, 0xe6, 0x01, 0x4f, 0x35,
  518. 0x30, 0x7d, 0xc9, 0xcd, 0x83, 0x4f, 0xc6, 0x57, 0x50, 0x7d, 0x61, 0x1b, 0x57, 0x19, 0xb1, 0xd9,
  519. 0x7d, 0xf7, 0xed, 0xc7, 0x07, 0xfd, 0x21, 0x5c, 0x12, 0x6f, 0xd5, 0xf1, 0xb9, 0xb2, 0x96, 0xd5,
  520. 0x1d, 0x65, 0x76, 0xeb, 0xcc, 0xe3, 0x55, 0xce, 0xd3, 0x6e, 0x9d, 0xc0, 0xef, 0x1a, 0x98, 0xa9,
  521. 0x18, 0x37, 0x5c, 0xb9, 0xea, 0x34, 0xd4, 0xc3, 0xd1, 0x70, 0xaf, 0x41, 0x90, 0xbb, 0x66, 0xba,
  522. 0x45, 0x75, 0x5d, 0xf3, 0x91, 0xa8, 0xee, 0x4f, 0x39, 0xc7, 0x67, 0x1e, 0xa4, 0xe5, 0xd6, 0xc9,
  523. 0xc5, 0xe2, 0x9c, 0xa4, 0x00, 0x3b, 0x5a, 0x6b, 0xf5, 0xbd, 0x0e, 0x16, 0x02, 0x92, 0x8c, 0xcd,
  524. 0x65, 0x75, 0xb6, 0x62, 0xda, 0x3b, 0xe2, 0xde, 0xef, 0x68, 0xaf, 0x36, 0x4b, 0x42, 0x9f, 0xc4,
  525. 0x28, 0xed, 0x5b, 0x84, 0xf6, 0xed, 0x3e, 0x4e, 0x8b, 0x57, 0x41, 0x7d, 0x31, 0xb2, 0x88, 0x55,
  526. 0x7f, 0xa4, 0xba, 0x4a, 0xf8, 0xa4, 0xd7, 0x36, 0x5c, 0xf7, 0xb3, 0xde, 0xdc, 0x90, 0x40, 0x37,
  527. 0x64, 0x96, 0x14, 0x85, 0xb4, 0xd7, 0xb6, 0xca, 0xc0, 0xec, 0xab, 0x72, 0xe9, 0xb9, 0x21, 0xeb,
  528. 0x0d, 0x5d, 0x7a, 0x7b, 0xed, 0x9e, 0x72, 0xf9, 0xa9, 0x2f, 0x48, 0xbd, 0xe3, 0xb8, 0x21, 0x73,
  529. 0x9c, 0xa1, 0x93, 0xe3, 0xec, 0xb5, 0x1d, 0x47, 0xb9, 0xed, 0x4f, 0x14, 0x79, 0x2e, 0xfd, 0x0e,
  530. 0x00, 0x00, 0xff, 0xff, 0x5f, 0x8d, 0xab, 0xce, 0x4b, 0x07, 0x00, 0x00,
  531. }