| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v2/services/keyword_plan_campaign_service.proto |
| |
| package services |
| |
| import ( |
| context "context" |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| status "google.golang.org/genproto/googleapis/rpc/status" |
| field_mask "google.golang.org/genproto/protobuf/field_mask" |
| grpc "google.golang.org/grpc" |
| codes "google.golang.org/grpc/codes" |
| status1 "google.golang.org/grpc/status" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // Request message for [KeywordPlanCampaignService.GetKeywordPlanCampaign][google.ads.googleads.v2.services.KeywordPlanCampaignService.GetKeywordPlanCampaign]. |
| type GetKeywordPlanCampaignRequest struct { |
| // Required. The resource name of the Keyword Plan campaign to fetch. |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetKeywordPlanCampaignRequest) Reset() { *m = GetKeywordPlanCampaignRequest{} } |
| func (m *GetKeywordPlanCampaignRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetKeywordPlanCampaignRequest) ProtoMessage() {} |
| func (*GetKeywordPlanCampaignRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_76f9707a66ea3279, []int{0} |
| } |
| |
| func (m *GetKeywordPlanCampaignRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetKeywordPlanCampaignRequest.Unmarshal(m, b) |
| } |
| func (m *GetKeywordPlanCampaignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetKeywordPlanCampaignRequest.Marshal(b, m, deterministic) |
| } |
| func (m *GetKeywordPlanCampaignRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetKeywordPlanCampaignRequest.Merge(m, src) |
| } |
| func (m *GetKeywordPlanCampaignRequest) XXX_Size() int { |
| return xxx_messageInfo_GetKeywordPlanCampaignRequest.Size(m) |
| } |
| func (m *GetKeywordPlanCampaignRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetKeywordPlanCampaignRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetKeywordPlanCampaignRequest proto.InternalMessageInfo |
| |
| func (m *GetKeywordPlanCampaignRequest) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| // Request message for |
| // [KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v2.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns]. |
| type MutateKeywordPlanCampaignsRequest struct { |
| // Required. The ID of the customer whose Keyword Plan campaigns are being modified. |
| CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` |
| // Required. The list of operations to perform on individual Keyword Plan campaigns. |
| Operations []*KeywordPlanCampaignOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` |
| // If true, successful operations will be carried out and invalid |
| // operations will return errors. If false, all operations will be carried |
| // out in one transaction if and only if they are all valid. |
| // Default is false. |
| PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"` |
| // If true, the request is validated but not executed. Only errors are |
| // returned, not results. |
| ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *MutateKeywordPlanCampaignsRequest) Reset() { *m = MutateKeywordPlanCampaignsRequest{} } |
| func (m *MutateKeywordPlanCampaignsRequest) String() string { return proto.CompactTextString(m) } |
| func (*MutateKeywordPlanCampaignsRequest) ProtoMessage() {} |
| func (*MutateKeywordPlanCampaignsRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_76f9707a66ea3279, []int{1} |
| } |
| |
| func (m *MutateKeywordPlanCampaignsRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MutateKeywordPlanCampaignsRequest.Unmarshal(m, b) |
| } |
| func (m *MutateKeywordPlanCampaignsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MutateKeywordPlanCampaignsRequest.Marshal(b, m, deterministic) |
| } |
| func (m *MutateKeywordPlanCampaignsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateKeywordPlanCampaignsRequest.Merge(m, src) |
| } |
| func (m *MutateKeywordPlanCampaignsRequest) XXX_Size() int { |
| return xxx_messageInfo_MutateKeywordPlanCampaignsRequest.Size(m) |
| } |
| func (m *MutateKeywordPlanCampaignsRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_MutateKeywordPlanCampaignsRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MutateKeywordPlanCampaignsRequest proto.InternalMessageInfo |
| |
| func (m *MutateKeywordPlanCampaignsRequest) GetCustomerId() string { |
| if m != nil { |
| return m.CustomerId |
| } |
| return "" |
| } |
| |
| func (m *MutateKeywordPlanCampaignsRequest) GetOperations() []*KeywordPlanCampaignOperation { |
| if m != nil { |
| return m.Operations |
| } |
| return nil |
| } |
| |
| func (m *MutateKeywordPlanCampaignsRequest) GetPartialFailure() bool { |
| if m != nil { |
| return m.PartialFailure |
| } |
| return false |
| } |
| |
| func (m *MutateKeywordPlanCampaignsRequest) GetValidateOnly() bool { |
| if m != nil { |
| return m.ValidateOnly |
| } |
| return false |
| } |
| |
| // A single operation (create, update, remove) on a Keyword Plan campaign. |
| type KeywordPlanCampaignOperation struct { |
| // The FieldMask that determines which resource fields are modified in an |
| // update. |
| UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| // The mutate operation. |
| // |
| // Types that are valid to be assigned to Operation: |
| // *KeywordPlanCampaignOperation_Create |
| // *KeywordPlanCampaignOperation_Update |
| // *KeywordPlanCampaignOperation_Remove |
| Operation isKeywordPlanCampaignOperation_Operation `protobuf_oneof:"operation"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *KeywordPlanCampaignOperation) Reset() { *m = KeywordPlanCampaignOperation{} } |
| func (m *KeywordPlanCampaignOperation) String() string { return proto.CompactTextString(m) } |
| func (*KeywordPlanCampaignOperation) ProtoMessage() {} |
| func (*KeywordPlanCampaignOperation) Descriptor() ([]byte, []int) { |
| return fileDescriptor_76f9707a66ea3279, []int{2} |
| } |
| |
| func (m *KeywordPlanCampaignOperation) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_KeywordPlanCampaignOperation.Unmarshal(m, b) |
| } |
| func (m *KeywordPlanCampaignOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_KeywordPlanCampaignOperation.Marshal(b, m, deterministic) |
| } |
| func (m *KeywordPlanCampaignOperation) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_KeywordPlanCampaignOperation.Merge(m, src) |
| } |
| func (m *KeywordPlanCampaignOperation) XXX_Size() int { |
| return xxx_messageInfo_KeywordPlanCampaignOperation.Size(m) |
| } |
| func (m *KeywordPlanCampaignOperation) XXX_DiscardUnknown() { |
| xxx_messageInfo_KeywordPlanCampaignOperation.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_KeywordPlanCampaignOperation proto.InternalMessageInfo |
| |
| func (m *KeywordPlanCampaignOperation) GetUpdateMask() *field_mask.FieldMask { |
| if m != nil { |
| return m.UpdateMask |
| } |
| return nil |
| } |
| |
| type isKeywordPlanCampaignOperation_Operation interface { |
| isKeywordPlanCampaignOperation_Operation() |
| } |
| |
| type KeywordPlanCampaignOperation_Create struct { |
| Create *resources.KeywordPlanCampaign `protobuf:"bytes,1,opt,name=create,proto3,oneof"` |
| } |
| |
| type KeywordPlanCampaignOperation_Update struct { |
| Update *resources.KeywordPlanCampaign `protobuf:"bytes,2,opt,name=update,proto3,oneof"` |
| } |
| |
| type KeywordPlanCampaignOperation_Remove struct { |
| Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` |
| } |
| |
| func (*KeywordPlanCampaignOperation_Create) isKeywordPlanCampaignOperation_Operation() {} |
| |
| func (*KeywordPlanCampaignOperation_Update) isKeywordPlanCampaignOperation_Operation() {} |
| |
| func (*KeywordPlanCampaignOperation_Remove) isKeywordPlanCampaignOperation_Operation() {} |
| |
| func (m *KeywordPlanCampaignOperation) GetOperation() isKeywordPlanCampaignOperation_Operation { |
| if m != nil { |
| return m.Operation |
| } |
| return nil |
| } |
| |
| func (m *KeywordPlanCampaignOperation) GetCreate() *resources.KeywordPlanCampaign { |
| if x, ok := m.GetOperation().(*KeywordPlanCampaignOperation_Create); ok { |
| return x.Create |
| } |
| return nil |
| } |
| |
| func (m *KeywordPlanCampaignOperation) GetUpdate() *resources.KeywordPlanCampaign { |
| if x, ok := m.GetOperation().(*KeywordPlanCampaignOperation_Update); ok { |
| return x.Update |
| } |
| return nil |
| } |
| |
| func (m *KeywordPlanCampaignOperation) GetRemove() string { |
| if x, ok := m.GetOperation().(*KeywordPlanCampaignOperation_Remove); ok { |
| return x.Remove |
| } |
| return "" |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*KeywordPlanCampaignOperation) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*KeywordPlanCampaignOperation_Create)(nil), |
| (*KeywordPlanCampaignOperation_Update)(nil), |
| (*KeywordPlanCampaignOperation_Remove)(nil), |
| } |
| } |
| |
| // Response message for a Keyword Plan campaign mutate. |
| type MutateKeywordPlanCampaignsResponse struct { |
| // Errors that pertain to operation failures in the partial failure mode. |
| // Returned only when partial_failure = true and all errors occur inside the |
| // operations. If any errors occur outside the operations (e.g. auth errors), |
| // we return an RPC level error. |
| PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` |
| // All results for the mutate. |
| Results []*MutateKeywordPlanCampaignResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *MutateKeywordPlanCampaignsResponse) Reset() { *m = MutateKeywordPlanCampaignsResponse{} } |
| func (m *MutateKeywordPlanCampaignsResponse) String() string { return proto.CompactTextString(m) } |
| func (*MutateKeywordPlanCampaignsResponse) ProtoMessage() {} |
| func (*MutateKeywordPlanCampaignsResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_76f9707a66ea3279, []int{3} |
| } |
| |
| func (m *MutateKeywordPlanCampaignsResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MutateKeywordPlanCampaignsResponse.Unmarshal(m, b) |
| } |
| func (m *MutateKeywordPlanCampaignsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MutateKeywordPlanCampaignsResponse.Marshal(b, m, deterministic) |
| } |
| func (m *MutateKeywordPlanCampaignsResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateKeywordPlanCampaignsResponse.Merge(m, src) |
| } |
| func (m *MutateKeywordPlanCampaignsResponse) XXX_Size() int { |
| return xxx_messageInfo_MutateKeywordPlanCampaignsResponse.Size(m) |
| } |
| func (m *MutateKeywordPlanCampaignsResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_MutateKeywordPlanCampaignsResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MutateKeywordPlanCampaignsResponse proto.InternalMessageInfo |
| |
| func (m *MutateKeywordPlanCampaignsResponse) GetPartialFailureError() *status.Status { |
| if m != nil { |
| return m.PartialFailureError |
| } |
| return nil |
| } |
| |
| func (m *MutateKeywordPlanCampaignsResponse) GetResults() []*MutateKeywordPlanCampaignResult { |
| if m != nil { |
| return m.Results |
| } |
| return nil |
| } |
| |
| // The result for the Keyword Plan campaign mutate. |
| type MutateKeywordPlanCampaignResult struct { |
| // Returned for successful operations. |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *MutateKeywordPlanCampaignResult) Reset() { *m = MutateKeywordPlanCampaignResult{} } |
| func (m *MutateKeywordPlanCampaignResult) String() string { return proto.CompactTextString(m) } |
| func (*MutateKeywordPlanCampaignResult) ProtoMessage() {} |
| func (*MutateKeywordPlanCampaignResult) Descriptor() ([]byte, []int) { |
| return fileDescriptor_76f9707a66ea3279, []int{4} |
| } |
| |
| func (m *MutateKeywordPlanCampaignResult) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MutateKeywordPlanCampaignResult.Unmarshal(m, b) |
| } |
| func (m *MutateKeywordPlanCampaignResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MutateKeywordPlanCampaignResult.Marshal(b, m, deterministic) |
| } |
| func (m *MutateKeywordPlanCampaignResult) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateKeywordPlanCampaignResult.Merge(m, src) |
| } |
| func (m *MutateKeywordPlanCampaignResult) XXX_Size() int { |
| return xxx_messageInfo_MutateKeywordPlanCampaignResult.Size(m) |
| } |
| func (m *MutateKeywordPlanCampaignResult) XXX_DiscardUnknown() { |
| xxx_messageInfo_MutateKeywordPlanCampaignResult.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MutateKeywordPlanCampaignResult proto.InternalMessageInfo |
| |
| func (m *MutateKeywordPlanCampaignResult) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterType((*GetKeywordPlanCampaignRequest)(nil), "google.ads.googleads.v2.services.GetKeywordPlanCampaignRequest") |
| proto.RegisterType((*MutateKeywordPlanCampaignsRequest)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanCampaignsRequest") |
| proto.RegisterType((*KeywordPlanCampaignOperation)(nil), "google.ads.googleads.v2.services.KeywordPlanCampaignOperation") |
| proto.RegisterType((*MutateKeywordPlanCampaignsResponse)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanCampaignsResponse") |
| proto.RegisterType((*MutateKeywordPlanCampaignResult)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanCampaignResult") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v2/services/keyword_plan_campaign_service.proto", fileDescriptor_76f9707a66ea3279) |
| } |
| |
| var fileDescriptor_76f9707a66ea3279 = []byte{ |
| // 794 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x4f, 0x4f, 0xf4, 0x44, |
| 0x18, 0xb7, 0xdd, 0x37, 0x28, 0xb3, 0x2f, 0x9a, 0x8c, 0x11, 0xd7, 0x8a, 0x61, 0xad, 0x24, 0x92, |
| 0x0d, 0x69, 0x93, 0x6a, 0x88, 0x96, 0x80, 0xe9, 0x82, 0x0b, 0xc6, 0x00, 0x9b, 0x92, 0x90, 0xa8, |
| 0x6b, 0x9a, 0xa1, 0x1d, 0xd6, 0x86, 0xb6, 0x53, 0x67,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| 0x20, 0xdb, 0x3e, 0xb5, 0x6c, 0x5b, 0xc2, 0xce, 0x16, 0xca, 0x38, 0x3f, 0xf9, 0x3f, 0x00, 0x00, |
| 0xff, 0xff, 0x7e, 0x6d, 0x94, 0xfb, 0x47, 0x08, 0x00, 0x00, |
| } |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ context.Context |
| var _ grpc.ClientConnInterface |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the grpc package it is being compiled against. |
| const _ = grpc.SupportPackageIsVersion6 |
| |
| // KeywordPlanCampaignServiceClient is the client API for KeywordPlanCampaignService service. |
| // |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| type KeywordPlanCampaignServiceClient interface { |
| // Returns the requested Keyword Plan campaign in full detail. |
| GetKeywordPlanCampaign(ctx context.Context, in *GetKeywordPlanCampaignRequest, opts ...grpc.CallOption) (*resources.KeywordPlanCampaign, error) |
| // Creates, updates, or removes Keyword Plan campaigns. Operation statuses are |
| // returned. |
| MutateKeywordPlanCampaigns(ctx context.Context, in *MutateKeywordPlanCampaignsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanCampaignsResponse, error) |
| } |
| |
| type keywordPlanCampaignServiceClient struct { |
| cc grpc.ClientConnInterface |
| } |
| |
| func NewKeywordPlanCampaignServiceClient(cc grpc.ClientConnInterface) KeywordPlanCampaignServiceClient { |
| return &keywordPlanCampaignServiceClient{cc} |
| } |
| |
| func (c *keywordPlanCampaignServiceClient) GetKeywordPlanCampaign(ctx context.Context, in *GetKeywordPlanCampaignRequest, opts ...grpc.CallOption) (*resources.KeywordPlanCampaign, error) { |
| out := new(resources.KeywordPlanCampaign) |
| err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.KeywordPlanCampaignService/GetKeywordPlanCampaign", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *keywordPlanCampaignServiceClient) MutateKeywordPlanCampaigns(ctx context.Context, in *MutateKeywordPlanCampaignsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanCampaignsResponse, error) { |
| out := new(MutateKeywordPlanCampaignsResponse) |
| err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.KeywordPlanCampaignService/MutateKeywordPlanCampaigns", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // KeywordPlanCampaignServiceServer is the server API for KeywordPlanCampaignService service. |
| type KeywordPlanCampaignServiceServer interface { |
| // Returns the requested Keyword Plan campaign in full detail. |
| GetKeywordPlanCampaign(context.Context, *GetKeywordPlanCampaignRequest) (*resources.KeywordPlanCampaign, error) |
| // Creates, updates, or removes Keyword Plan campaigns. Operation statuses are |
| // returned. |
| MutateKeywordPlanCampaigns(context.Context, *MutateKeywordPlanCampaignsRequest) (*MutateKeywordPlanCampaignsResponse, error) |
| } |
| |
| // UnimplementedKeywordPlanCampaignServiceServer can be embedded to have forward compatible implementations. |
| type UnimplementedKeywordPlanCampaignServiceServer struct { |
| } |
| |
| func (*UnimplementedKeywordPlanCampaignServiceServer) GetKeywordPlanCampaign(ctx context.Context, req *GetKeywordPlanCampaignRequest) (*resources.KeywordPlanCampaign, error) { |
| return nil, status1.Errorf(codes.Unimplemented, "method GetKeywordPlanCampaign not implemented") |
| } |
| func (*UnimplementedKeywordPlanCampaignServiceServer) MutateKeywordPlanCampaigns(ctx context.Context, req *MutateKeywordPlanCampaignsRequest) (*MutateKeywordPlanCampaignsResponse, error) { |
| return nil, status1.Errorf(codes.Unimplemented, "method MutateKeywordPlanCampaigns not implemented") |
| } |
| |
| func RegisterKeywordPlanCampaignServiceServer(s *grpc.Server, srv KeywordPlanCampaignServiceServer) { |
| s.RegisterService(&_KeywordPlanCampaignService_serviceDesc, srv) |
| } |
| |
| func _KeywordPlanCampaignService_GetKeywordPlanCampaign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetKeywordPlanCampaignRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(KeywordPlanCampaignServiceServer).GetKeywordPlanCampaign(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.ads.googleads.v2.services.KeywordPlanCampaignService/GetKeywordPlanCampaign", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(KeywordPlanCampaignServiceServer).GetKeywordPlanCampaign(ctx, req.(*GetKeywordPlanCampaignRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _KeywordPlanCampaignService_MutateKeywordPlanCampaigns_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(MutateKeywordPlanCampaignsRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(KeywordPlanCampaignServiceServer).MutateKeywordPlanCampaigns(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.ads.googleads.v2.services.KeywordPlanCampaignService/MutateKeywordPlanCampaigns", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(KeywordPlanCampaignServiceServer).MutateKeywordPlanCampaigns(ctx, req.(*MutateKeywordPlanCampaignsRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _KeywordPlanCampaignService_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "google.ads.googleads.v2.services.KeywordPlanCampaignService", |
| HandlerType: (*KeywordPlanCampaignServiceServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "GetKeywordPlanCampaign", |
| Handler: _KeywordPlanCampaignService_GetKeywordPlanCampaign_Handler, |
| }, |
| { |
| MethodName: "MutateKeywordPlanCampaigns", |
| Handler: _KeywordPlanCampaignService_MutateKeywordPlanCampaigns_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: "google/ads/googleads/v2/services/keyword_plan_campaign_service.proto", |
| } |