|
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: google/ads/googleads/v0/services/keyword_plan_negative_keyword_service.proto
-
- package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services"
-
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import _ "github.com/golang/protobuf/ptypes/wrappers"
- import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources"
- import _ "google.golang.org/genproto/googleapis/api/annotations"
- import status "google.golang.org/genproto/googleapis/rpc/status"
- import field_mask "google.golang.org/genproto/protobuf/field_mask"
-
- import (
- context "golang.org/x/net/context"
- grpc "google.golang.org/grpc"
- )
-
- // 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.ProtoPackageIsVersion2 // please upgrade the proto package
-
- // Request message for
- // [KeywordPlanNegativeKeywordService.GetKeywordPlanNegativeKeyword][google.ads.googleads.v0.services.KeywordPlanNegativeKeywordService.GetKeywordPlanNegativeKeyword].
- type GetKeywordPlanNegativeKeywordRequest struct {
- // The resource name of the plan 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 *GetKeywordPlanNegativeKeywordRequest) Reset() { *m = GetKeywordPlanNegativeKeywordRequest{} }
- func (m *GetKeywordPlanNegativeKeywordRequest) String() string { return proto.CompactTextString(m) }
- func (*GetKeywordPlanNegativeKeywordRequest) ProtoMessage() {}
- func (*GetKeywordPlanNegativeKeywordRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_keyword_plan_negative_keyword_service_acb4f884bb90c91c, []int{0}
- }
- func (m *GetKeywordPlanNegativeKeywordRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetKeywordPlanNegativeKeywordRequest.Unmarshal(m, b)
- }
- func (m *GetKeywordPlanNegativeKeywordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetKeywordPlanNegativeKeywordRequest.Marshal(b, m, deterministic)
- }
- func (dst *GetKeywordPlanNegativeKeywordRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetKeywordPlanNegativeKeywordRequest.Merge(dst, src)
- }
- func (m *GetKeywordPlanNegativeKeywordRequest) XXX_Size() int {
- return xxx_messageInfo_GetKeywordPlanNegativeKeywordRequest.Size(m)
- }
- func (m *GetKeywordPlanNegativeKeywordRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetKeywordPlanNegativeKeywordRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_GetKeywordPlanNegativeKeywordRequest proto.InternalMessageInfo
-
- func (m *GetKeywordPlanNegativeKeywordRequest) GetResourceName() string {
- if m != nil {
- return m.ResourceName
- }
- return ""
- }
-
- // Request message for
- // [KeywordPlanNegativeKeywordService.MutateKeywordPlanNegativeKeywords][google.ads.googleads.v0.services.KeywordPlanNegativeKeywordService.MutateKeywordPlanNegativeKeywords].
- type MutateKeywordPlanNegativeKeywordsRequest struct {
- // The ID of the customer whose negative keywords are being modified.
- CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
- // The list of operations to perform on individual Keyword Plan negative
- // keywords.
- Operations []*KeywordPlanNegativeKeywordOperation `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 *MutateKeywordPlanNegativeKeywordsRequest) Reset() {
- *m = MutateKeywordPlanNegativeKeywordsRequest{}
- }
- func (m *MutateKeywordPlanNegativeKeywordsRequest) String() string { return proto.CompactTextString(m) }
- func (*MutateKeywordPlanNegativeKeywordsRequest) ProtoMessage() {}
- func (*MutateKeywordPlanNegativeKeywordsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_keyword_plan_negative_keyword_service_acb4f884bb90c91c, []int{1}
- }
- func (m *MutateKeywordPlanNegativeKeywordsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MutateKeywordPlanNegativeKeywordsRequest.Unmarshal(m, b)
- }
- func (m *MutateKeywordPlanNegativeKeywordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MutateKeywordPlanNegativeKeywordsRequest.Marshal(b, m, deterministic)
- }
- func (dst *MutateKeywordPlanNegativeKeywordsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MutateKeywordPlanNegativeKeywordsRequest.Merge(dst, src)
- }
- func (m *MutateKeywordPlanNegativeKeywordsRequest) XXX_Size() int {
- return xxx_messageInfo_MutateKeywordPlanNegativeKeywordsRequest.Size(m)
- }
- func (m *MutateKeywordPlanNegativeKeywordsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_MutateKeywordPlanNegativeKeywordsRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_MutateKeywordPlanNegativeKeywordsRequest proto.InternalMessageInfo
-
- func (m *MutateKeywordPlanNegativeKeywordsRequest) GetCustomerId() string {
- if m != nil {
- return m.CustomerId
- }
- return ""
- }
-
- func (m *MutateKeywordPlanNegativeKeywordsRequest) GetOperations() []*KeywordPlanNegativeKeywordOperation {
- if m != nil {
- return m.Operations
- }
- return nil
- }
-
- func (m *MutateKeywordPlanNegativeKeywordsRequest) GetPartialFailure() bool {
- if m != nil {
- return m.PartialFailure
- }
- return false
- }
-
- func (m *MutateKeywordPlanNegativeKeywordsRequest) GetValidateOnly() bool {
- if m != nil {
- return m.ValidateOnly
- }
- return false
- }
-
- // A single operation (create, update, remove) on a Keyword Plan negative
- // keyword.
- type KeywordPlanNegativeKeywordOperation 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:
- // *KeywordPlanNegativeKeywordOperation_Create
- // *KeywordPlanNegativeKeywordOperation_Update
- // *KeywordPlanNegativeKeywordOperation_Remove
- Operation isKeywordPlanNegativeKeywordOperation_Operation `protobuf_oneof:"operation"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *KeywordPlanNegativeKeywordOperation) Reset() { *m = KeywordPlanNegativeKeywordOperation{} }
- func (m *KeywordPlanNegativeKeywordOperation) String() string { return proto.CompactTextString(m) }
- func (*KeywordPlanNegativeKeywordOperation) ProtoMessage() {}
- func (*KeywordPlanNegativeKeywordOperation) Descriptor() ([]byte, []int) {
- return fileDescriptor_keyword_plan_negative_keyword_service_acb4f884bb90c91c, []int{2}
- }
- func (m *KeywordPlanNegativeKeywordOperation) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_KeywordPlanNegativeKeywordOperation.Unmarshal(m, b)
- }
- func (m *KeywordPlanNegativeKeywordOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_KeywordPlanNegativeKeywordOperation.Marshal(b, m, deterministic)
- }
- func (dst *KeywordPlanNegativeKeywordOperation) XXX_Merge(src proto.Message) {
- xxx_messageInfo_KeywordPlanNegativeKeywordOperation.Merge(dst, src)
- }
- func (m *KeywordPlanNegativeKeywordOperation) XXX_Size() int {
- return xxx_messageInfo_KeywordPlanNegativeKeywordOperation.Size(m)
- }
- func (m *KeywordPlanNegativeKeywordOperation) XXX_DiscardUnknown() {
- xxx_messageInfo_KeywordPlanNegativeKeywordOperation.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_KeywordPlanNegativeKeywordOperation proto.InternalMessageInfo
-
- func (m *KeywordPlanNegativeKeywordOperation) GetUpdateMask() *field_mask.FieldMask {
- if m != nil {
- return m.UpdateMask
- }
- return nil
- }
-
- type isKeywordPlanNegativeKeywordOperation_Operation interface {
- isKeywordPlanNegativeKeywordOperation_Operation()
- }
-
- type KeywordPlanNegativeKeywordOperation_Create struct {
- Create *resources.KeywordPlanNegativeKeyword `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
- }
-
- type KeywordPlanNegativeKeywordOperation_Update struct {
- Update *resources.KeywordPlanNegativeKeyword `protobuf:"bytes,2,opt,name=update,proto3,oneof"`
- }
-
- type KeywordPlanNegativeKeywordOperation_Remove struct {
- Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"`
- }
-
- func (*KeywordPlanNegativeKeywordOperation_Create) isKeywordPlanNegativeKeywordOperation_Operation() {}
-
- func (*KeywordPlanNegativeKeywordOperation_Update) isKeywordPlanNegativeKeywordOperation_Operation() {}
-
- func (*KeywordPlanNegativeKeywordOperation_Remove) isKeywordPlanNegativeKeywordOperation_Operation() {}
-
- func (m *KeywordPlanNegativeKeywordOperation) GetOperation() isKeywordPlanNegativeKeywordOperation_Operation {
- if m != nil {
- return m.Operation
- }
- return nil
- }
-
- func (m *KeywordPlanNegativeKeywordOperation) GetCreate() *resources.KeywordPlanNegativeKeyword {
- if x, ok := m.GetOperation().(*KeywordPlanNegativeKeywordOperation_Create); ok {
- return x.Create
- }
- return nil
- }
-
- func (m *KeywordPlanNegativeKeywordOperation) GetUpdate() *resources.KeywordPlanNegativeKeyword {
- if x, ok := m.GetOperation().(*KeywordPlanNegativeKeywordOperation_Update); ok {
- return x.Update
- }
- return nil
- }
-
- func (m *KeywordPlanNegativeKeywordOperation) GetRemove() string {
- if x, ok := m.GetOperation().(*KeywordPlanNegativeKeywordOperation_Remove); ok {
- return x.Remove
- }
- return ""
- }
-
- // XXX_OneofFuncs is for the internal use of the proto package.
- func (*KeywordPlanNegativeKeywordOperation) 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{}) {
- return _KeywordPlanNegativeKeywordOperation_OneofMarshaler, _KeywordPlanNegativeKeywordOperation_OneofUnmarshaler, _KeywordPlanNegativeKeywordOperation_OneofSizer, []interface{}{
- (*KeywordPlanNegativeKeywordOperation_Create)(nil),
- (*KeywordPlanNegativeKeywordOperation_Update)(nil),
- (*KeywordPlanNegativeKeywordOperation_Remove)(nil),
- }
- }
-
- func _KeywordPlanNegativeKeywordOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*KeywordPlanNegativeKeywordOperation)
- // operation
- switch x := m.Operation.(type) {
- case *KeywordPlanNegativeKeywordOperation_Create:
- b.EncodeVarint(1<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.Create); err != nil {
- return err
- }
- case *KeywordPlanNegativeKeywordOperation_Update:
- b.EncodeVarint(2<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.Update); err != nil {
- return err
- }
- case *KeywordPlanNegativeKeywordOperation_Remove:
- b.EncodeVarint(3<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.Remove)
- case nil:
- default:
- return fmt.Errorf("KeywordPlanNegativeKeywordOperation.Operation has unexpected type %T", x)
- }
- return nil
- }
-
- func _KeywordPlanNegativeKeywordOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*KeywordPlanNegativeKeywordOperation)
- switch tag {
- case 1: // operation.create
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(resources.KeywordPlanNegativeKeyword)
- err := b.DecodeMessage(msg)
- m.Operation = &KeywordPlanNegativeKeywordOperation_Create{msg}
- return true, err
- case 2: // operation.update
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(resources.KeywordPlanNegativeKeyword)
- err := b.DecodeMessage(msg)
- m.Operation = &KeywordPlanNegativeKeywordOperation_Update{msg}
- return true, err
- case 3: // operation.remove
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.Operation = &KeywordPlanNegativeKeywordOperation_Remove{x}
- return true, err
- default:
- return false, nil
- }
- }
-
- func _KeywordPlanNegativeKeywordOperation_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*KeywordPlanNegativeKeywordOperation)
- // operation
- switch x := m.Operation.(type) {
- case *KeywordPlanNegativeKeywordOperation_Create:
- s := proto.Size(x.Create)
- n += 1 // tag and wire
- n += proto.SizeVarint(uint64(s))
- n += s
- case *KeywordPlanNegativeKeywordOperation_Update:
- s := proto.Size(x.Update)
- n += 1 // tag and wire
- n += proto.SizeVarint(uint64(s))
- n += s
- case *KeywordPlanNegativeKeywordOperation_Remove:
- n += 1 // tag and wire
- n += proto.SizeVarint(uint64(len(x.Remove)))
- n += len(x.Remove)
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
- }
-
- // Response message for a Keyword Plan negative keyword mutate.
- type MutateKeywordPlanNegativeKeywordsResponse 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 []*MutateKeywordPlanNegativeKeywordResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *MutateKeywordPlanNegativeKeywordsResponse) Reset() {
- *m = MutateKeywordPlanNegativeKeywordsResponse{}
- }
- func (m *MutateKeywordPlanNegativeKeywordsResponse) String() string { return proto.CompactTextString(m) }
- func (*MutateKeywordPlanNegativeKeywordsResponse) ProtoMessage() {}
- func (*MutateKeywordPlanNegativeKeywordsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_keyword_plan_negative_keyword_service_acb4f884bb90c91c, []int{3}
- }
- func (m *MutateKeywordPlanNegativeKeywordsResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MutateKeywordPlanNegativeKeywordsResponse.Unmarshal(m, b)
- }
- func (m *MutateKeywordPlanNegativeKeywordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MutateKeywordPlanNegativeKeywordsResponse.Marshal(b, m, deterministic)
- }
- func (dst *MutateKeywordPlanNegativeKeywordsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MutateKeywordPlanNegativeKeywordsResponse.Merge(dst, src)
- }
- func (m *MutateKeywordPlanNegativeKeywordsResponse) XXX_Size() int {
- return xxx_messageInfo_MutateKeywordPlanNegativeKeywordsResponse.Size(m)
- }
- func (m *MutateKeywordPlanNegativeKeywordsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MutateKeywordPlanNegativeKeywordsResponse.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_MutateKeywordPlanNegativeKeywordsResponse proto.InternalMessageInfo
-
- func (m *MutateKeywordPlanNegativeKeywordsResponse) GetPartialFailureError() *status.Status {
- if m != nil {
- return m.PartialFailureError
- }
- return nil
- }
-
- func (m *MutateKeywordPlanNegativeKeywordsResponse) GetResults() []*MutateKeywordPlanNegativeKeywordResult {
- if m != nil {
- return m.Results
- }
- return nil
- }
-
- // The result for the Keyword Plan negative keyword mutate.
- type MutateKeywordPlanNegativeKeywordResult 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 *MutateKeywordPlanNegativeKeywordResult) Reset() {
- *m = MutateKeywordPlanNegativeKeywordResult{}
- }
- func (m *MutateKeywordPlanNegativeKeywordResult) String() string { return proto.CompactTextString(m) }
- func (*MutateKeywordPlanNegativeKeywordResult) ProtoMessage() {}
- func (*MutateKeywordPlanNegativeKeywordResult) Descriptor() ([]byte, []int) {
- return fileDescriptor_keyword_plan_negative_keyword_service_acb4f884bb90c91c, []int{4}
- }
- func (m *MutateKeywordPlanNegativeKeywordResult) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MutateKeywordPlanNegativeKeywordResult.Unmarshal(m, b)
- }
- func (m *MutateKeywordPlanNegativeKeywordResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MutateKeywordPlanNegativeKeywordResult.Marshal(b, m, deterministic)
- }
- func (dst *MutateKeywordPlanNegativeKeywordResult) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MutateKeywordPlanNegativeKeywordResult.Merge(dst, src)
- }
- func (m *MutateKeywordPlanNegativeKeywordResult) XXX_Size() int {
- return xxx_messageInfo_MutateKeywordPlanNegativeKeywordResult.Size(m)
- }
- func (m *MutateKeywordPlanNegativeKeywordResult) XXX_DiscardUnknown() {
- xxx_messageInfo_MutateKeywordPlanNegativeKeywordResult.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_MutateKeywordPlanNegativeKeywordResult proto.InternalMessageInfo
-
- func (m *MutateKeywordPlanNegativeKeywordResult) GetResourceName() string {
- if m != nil {
- return m.ResourceName
- }
- return ""
- }
-
- func init() {
- proto.RegisterType((*GetKeywordPlanNegativeKeywordRequest)(nil), "google.ads.googleads.v0.services.GetKeywordPlanNegativeKeywordRequest")
- proto.RegisterType((*MutateKeywordPlanNegativeKeywordsRequest)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanNegativeKeywordsRequest")
- proto.RegisterType((*KeywordPlanNegativeKeywordOperation)(nil), "google.ads.googleads.v0.services.KeywordPlanNegativeKeywordOperation")
- proto.RegisterType((*MutateKeywordPlanNegativeKeywordsResponse)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanNegativeKeywordsResponse")
- proto.RegisterType((*MutateKeywordPlanNegativeKeywordResult)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanNegativeKeywordResult")
- }
-
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc.ClientConn
-
- // 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.SupportPackageIsVersion4
-
- // KeywordPlanNegativeKeywordServiceClient is the client API for KeywordPlanNegativeKeywordService service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
- type KeywordPlanNegativeKeywordServiceClient interface {
- // Returns the requested plan in full detail.
- GetKeywordPlanNegativeKeyword(ctx context.Context, in *GetKeywordPlanNegativeKeywordRequest, opts ...grpc.CallOption) (*resources.KeywordPlanNegativeKeyword, error)
- // Creates, updates, or removes Keyword Plan negative keywords. Operation
- // statuses are returned.
- MutateKeywordPlanNegativeKeywords(ctx context.Context, in *MutateKeywordPlanNegativeKeywordsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanNegativeKeywordsResponse, error)
- }
-
- type keywordPlanNegativeKeywordServiceClient struct {
- cc *grpc.ClientConn
- }
-
- func NewKeywordPlanNegativeKeywordServiceClient(cc *grpc.ClientConn) KeywordPlanNegativeKeywordServiceClient {
- return &keywordPlanNegativeKeywordServiceClient{cc}
- }
-
- func (c *keywordPlanNegativeKeywordServiceClient) GetKeywordPlanNegativeKeyword(ctx context.Context, in *GetKeywordPlanNegativeKeywordRequest, opts ...grpc.CallOption) (*resources.KeywordPlanNegativeKeyword, error) {
- out := new(resources.KeywordPlanNegativeKeyword)
- err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanNegativeKeywordService/GetKeywordPlanNegativeKeyword", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *keywordPlanNegativeKeywordServiceClient) MutateKeywordPlanNegativeKeywords(ctx context.Context, in *MutateKeywordPlanNegativeKeywordsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanNegativeKeywordsResponse, error) {
- out := new(MutateKeywordPlanNegativeKeywordsResponse)
- err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanNegativeKeywordService/MutateKeywordPlanNegativeKeywords", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- // KeywordPlanNegativeKeywordServiceServer is the server API for KeywordPlanNegativeKeywordService service.
- type KeywordPlanNegativeKeywordServiceServer interface {
- // Returns the requested plan in full detail.
- GetKeywordPlanNegativeKeyword(context.Context, *GetKeywordPlanNegativeKeywordRequest) (*resources.KeywordPlanNegativeKeyword, error)
- // Creates, updates, or removes Keyword Plan negative keywords. Operation
- // statuses are returned.
- MutateKeywordPlanNegativeKeywords(context.Context, *MutateKeywordPlanNegativeKeywordsRequest) (*MutateKeywordPlanNegativeKeywordsResponse, error)
- }
-
- func RegisterKeywordPlanNegativeKeywordServiceServer(s *grpc.Server, srv KeywordPlanNegativeKeywordServiceServer) {
- s.RegisterService(&_KeywordPlanNegativeKeywordService_serviceDesc, srv)
- }
-
- func _KeywordPlanNegativeKeywordService_GetKeywordPlanNegativeKeyword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetKeywordPlanNegativeKeywordRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(KeywordPlanNegativeKeywordServiceServer).GetKeywordPlanNegativeKeyword(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.ads.googleads.v0.services.KeywordPlanNegativeKeywordService/GetKeywordPlanNegativeKeyword",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(KeywordPlanNegativeKeywordServiceServer).GetKeywordPlanNegativeKeyword(ctx, req.(*GetKeywordPlanNegativeKeywordRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _KeywordPlanNegativeKeywordService_MutateKeywordPlanNegativeKeywords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MutateKeywordPlanNegativeKeywordsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(KeywordPlanNegativeKeywordServiceServer).MutateKeywordPlanNegativeKeywords(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.ads.googleads.v0.services.KeywordPlanNegativeKeywordService/MutateKeywordPlanNegativeKeywords",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(KeywordPlanNegativeKeywordServiceServer).MutateKeywordPlanNegativeKeywords(ctx, req.(*MutateKeywordPlanNegativeKeywordsRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- var _KeywordPlanNegativeKeywordService_serviceDesc = grpc.ServiceDesc{
- ServiceName: "google.ads.googleads.v0.services.KeywordPlanNegativeKeywordService",
- HandlerType: (*KeywordPlanNegativeKeywordServiceServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "GetKeywordPlanNegativeKeyword",
- Handler: _KeywordPlanNegativeKeywordService_GetKeywordPlanNegativeKeyword_Handler,
- },
- {
- MethodName: "MutateKeywordPlanNegativeKeywords",
- Handler: _KeywordPlanNegativeKeywordService_MutateKeywordPlanNegativeKeywords_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "google/ads/googleads/v0/services/keyword_plan_negative_keyword_service.proto",
- }
-
- func init() {
- proto.RegisterFile("google/ads/googleads/v0/services/keyword_plan_negative_keyword_service.proto", fileDescriptor_keyword_plan_negative_keyword_service_acb4f884bb90c91c)
- }
-
- var fileDescriptor_keyword_plan_negative_keyword_service_acb4f884bb90c91c = []byte{
- // 736 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xcd, 0x6a, 0xdb, 0x4a,
- 0x14, 0xc7, 0xaf, 0x94, 0x90, 0x7b, 0x33, 0xca, 0x6d, 0x61, 0x4a, 0xa9, 0x31, 0xfd, 0x70, 0x94,
- 0x90, 0xba, 0x5e, 0x48, 0xc6, 0xdd, 0x29, 0x98, 0xd6, 0x01, 0x3b, 0x69, 0xdd, 0x7c, 0xa0, 0x40,
- 0x0a, 0xc5, 0x20, 0x26, 0xd6, 0x44, 0x88, 0x48, 0x1a, 0x75, 0x66, 0xe4, 0x10, 0x42, 0xa0, 0x74,
- 0xd7, 0x45, 0x57, 0x7d, 0x80, 0x42, 0x97, 0x7d, 0x85, 0xbe, 0x41, 0xb7, 0x5d, 0xf4, 0x05, 0xba,
- 0x2a, 0xf4, 0x1d, 0x8a, 0x34, 0x33, 0x6e, 0x12, 0xea, 0xc8, 0x90, 0xec, 0x8e, 0xce, 0xfc, 0xf5,
- 0x3b, 0x67, 0xce, 0x39, 0x3a, 0x02, 0x2f, 0x02, 0x42, 0x82, 0x08, 0xdb, 0xc8, 0x67, 0xb6, 0x30,
- 0x73, 0x6b, 0xd4, 0xb4, 0x19, 0xa6, 0xa3, 0x70, 0x88, 0x99, 0x7d, 0x88, 0x8f, 0x8f, 0x08, 0xf5,
- 0xbd, 0x34, 0x42, 0x89, 0x97, 0xe0, 0x00, 0xf1, 0x70, 0x84, 0x3d, 0xe5, 0x95, 0x32, 0x2b, 0xa5,
- 0x84, 0x13, 0x58, 0x13, 0x08, 0x0b, 0xf9, 0xcc, 0x1a, 0xd3,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