|
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: google/ads/googleads/v0/services/keyword_plan_ad_group_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
- // [KeywordPlanAdGroupService.GetKeywordPlanAdGroup][google.ads.googleads.v0.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup].
- type GetKeywordPlanAdGroupRequest struct {
- // The resource name of the Keyword Plan ad group 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 *GetKeywordPlanAdGroupRequest) Reset() { *m = GetKeywordPlanAdGroupRequest{} }
- func (m *GetKeywordPlanAdGroupRequest) String() string { return proto.CompactTextString(m) }
- func (*GetKeywordPlanAdGroupRequest) ProtoMessage() {}
- func (*GetKeywordPlanAdGroupRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_keyword_plan_ad_group_service_23167d7785051dea, []int{0}
- }
- func (m *GetKeywordPlanAdGroupRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetKeywordPlanAdGroupRequest.Unmarshal(m, b)
- }
- func (m *GetKeywordPlanAdGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetKeywordPlanAdGroupRequest.Marshal(b, m, deterministic)
- }
- func (dst *GetKeywordPlanAdGroupRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetKeywordPlanAdGroupRequest.Merge(dst, src)
- }
- func (m *GetKeywordPlanAdGroupRequest) XXX_Size() int {
- return xxx_messageInfo_GetKeywordPlanAdGroupRequest.Size(m)
- }
- func (m *GetKeywordPlanAdGroupRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetKeywordPlanAdGroupRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_GetKeywordPlanAdGroupRequest proto.InternalMessageInfo
-
- func (m *GetKeywordPlanAdGroupRequest) GetResourceName() string {
- if m != nil {
- return m.ResourceName
- }
- return ""
- }
-
- // Request message for
- // [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v0.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups].
- type MutateKeywordPlanAdGroupsRequest struct {
- // The ID of the customer whose Keyword Plan ad groups 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 ad groups.
- Operations []*KeywordPlanAdGroupOperation `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 *MutateKeywordPlanAdGroupsRequest) Reset() { *m = MutateKeywordPlanAdGroupsRequest{} }
- func (m *MutateKeywordPlanAdGroupsRequest) String() string { return proto.CompactTextString(m) }
- func (*MutateKeywordPlanAdGroupsRequest) ProtoMessage() {}
- func (*MutateKeywordPlanAdGroupsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_keyword_plan_ad_group_service_23167d7785051dea, []int{1}
- }
- func (m *MutateKeywordPlanAdGroupsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Unmarshal(m, b)
- }
- func (m *MutateKeywordPlanAdGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Marshal(b, m, deterministic)
- }
- func (dst *MutateKeywordPlanAdGroupsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Merge(dst, src)
- }
- func (m *MutateKeywordPlanAdGroupsRequest) XXX_Size() int {
- return xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Size(m)
- }
- func (m *MutateKeywordPlanAdGroupsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_MutateKeywordPlanAdGroupsRequest proto.InternalMessageInfo
-
- func (m *MutateKeywordPlanAdGroupsRequest) GetCustomerId() string {
- if m != nil {
- return m.CustomerId
- }
- return ""
- }
-
- func (m *MutateKeywordPlanAdGroupsRequest) GetOperations() []*KeywordPlanAdGroupOperation {
- if m != nil {
- return m.Operations
- }
- return nil
- }
-
- func (m *MutateKeywordPlanAdGroupsRequest) GetPartialFailure() bool {
- if m != nil {
- return m.PartialFailure
- }
- return false
- }
-
- func (m *MutateKeywordPlanAdGroupsRequest) GetValidateOnly() bool {
- if m != nil {
- return m.ValidateOnly
- }
- return false
- }
-
- // A single operation (create, update, remove) on a Keyword Plan ad group.
- type KeywordPlanAdGroupOperation 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:
- // *KeywordPlanAdGroupOperation_Create
- // *KeywordPlanAdGroupOperation_Update
- // *KeywordPlanAdGroupOperation_Remove
- Operation isKeywordPlanAdGroupOperation_Operation `protobuf_oneof:"operation"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *KeywordPlanAdGroupOperation) Reset() { *m = KeywordPlanAdGroupOperation{} }
- func (m *KeywordPlanAdGroupOperation) String() string { return proto.CompactTextString(m) }
- func (*KeywordPlanAdGroupOperation) ProtoMessage() {}
- func (*KeywordPlanAdGroupOperation) Descriptor() ([]byte, []int) {
- return fileDescriptor_keyword_plan_ad_group_service_23167d7785051dea, []int{2}
- }
- func (m *KeywordPlanAdGroupOperation) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_KeywordPlanAdGroupOperation.Unmarshal(m, b)
- }
- func (m *KeywordPlanAdGroupOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_KeywordPlanAdGroupOperation.Marshal(b, m, deterministic)
- }
- func (dst *KeywordPlanAdGroupOperation) XXX_Merge(src proto.Message) {
- xxx_messageInfo_KeywordPlanAdGroupOperation.Merge(dst, src)
- }
- func (m *KeywordPlanAdGroupOperation) XXX_Size() int {
- return xxx_messageInfo_KeywordPlanAdGroupOperation.Size(m)
- }
- func (m *KeywordPlanAdGroupOperation) XXX_DiscardUnknown() {
- xxx_messageInfo_KeywordPlanAdGroupOperation.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_KeywordPlanAdGroupOperation proto.InternalMessageInfo
-
- func (m *KeywordPlanAdGroupOperation) GetUpdateMask() *field_mask.FieldMask {
- if m != nil {
- return m.UpdateMask
- }
- return nil
- }
-
- type isKeywordPlanAdGroupOperation_Operation interface {
- isKeywordPlanAdGroupOperation_Operation()
- }
-
- type KeywordPlanAdGroupOperation_Create struct {
- Create *resources.KeywordPlanAdGroup `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
- }
-
- type KeywordPlanAdGroupOperation_Update struct {
- Update *resources.KeywordPlanAdGroup `protobuf:"bytes,2,opt,name=update,proto3,oneof"`
- }
-
- type KeywordPlanAdGroupOperation_Remove struct {
- Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"`
- }
-
- func (*KeywordPlanAdGroupOperation_Create) isKeywordPlanAdGroupOperation_Operation() {}
-
- func (*KeywordPlanAdGroupOperation_Update) isKeywordPlanAdGroupOperation_Operation() {}
-
- func (*KeywordPlanAdGroupOperation_Remove) isKeywordPlanAdGroupOperation_Operation() {}
-
- func (m *KeywordPlanAdGroupOperation) GetOperation() isKeywordPlanAdGroupOperation_Operation {
- if m != nil {
- return m.Operation
- }
- return nil
- }
-
- func (m *KeywordPlanAdGroupOperation) GetCreate() *resources.KeywordPlanAdGroup {
- if x, ok := m.GetOperation().(*KeywordPlanAdGroupOperation_Create); ok {
- return x.Create
- }
- return nil
- }
-
- func (m *KeywordPlanAdGroupOperation) GetUpdate() *resources.KeywordPlanAdGroup {
- if x, ok := m.GetOperation().(*KeywordPlanAdGroupOperation_Update); ok {
- return x.Update
- }
- return nil
- }
-
- func (m *KeywordPlanAdGroupOperation) GetRemove() string {
- if x, ok := m.GetOperation().(*KeywordPlanAdGroupOperation_Remove); ok {
- return x.Remove
- }
- return ""
- }
-
- // XXX_OneofFuncs is for the internal use of the proto package.
- func (*KeywordPlanAdGroupOperation) 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 _KeywordPlanAdGroupOperation_OneofMarshaler, _KeywordPlanAdGroupOperation_OneofUnmarshaler, _KeywordPlanAdGroupOperation_OneofSizer, []interface{}{
- (*KeywordPlanAdGroupOperation_Create)(nil),
- (*KeywordPlanAdGroupOperation_Update)(nil),
- (*KeywordPlanAdGroupOperation_Remove)(nil),
- }
- }
-
- func _KeywordPlanAdGroupOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*KeywordPlanAdGroupOperation)
- // operation
- switch x := m.Operation.(type) {
- case *KeywordPlanAdGroupOperation_Create:
- b.EncodeVarint(1<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.Create); err != nil {
- return err
- }
- case *KeywordPlanAdGroupOperation_Update:
- b.EncodeVarint(2<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.Update); err != nil {
- return err
- }
- case *KeywordPlanAdGroupOperation_Remove:
- b.EncodeVarint(3<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.Remove)
- case nil:
- default:
- return fmt.Errorf("KeywordPlanAdGroupOperation.Operation has unexpected type %T", x)
- }
- return nil
- }
-
- func _KeywordPlanAdGroupOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*KeywordPlanAdGroupOperation)
- switch tag {
- case 1: // operation.create
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(resources.KeywordPlanAdGroup)
- err := b.DecodeMessage(msg)
- m.Operation = &KeywordPlanAdGroupOperation_Create{msg}
- return true, err
- case 2: // operation.update
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(resources.KeywordPlanAdGroup)
- err := b.DecodeMessage(msg)
- m.Operation = &KeywordPlanAdGroupOperation_Update{msg}
- return true, err
- case 3: // operation.remove
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.Operation = &KeywordPlanAdGroupOperation_Remove{x}
- return true, err
- default:
- return false, nil
- }
- }
-
- func _KeywordPlanAdGroupOperation_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*KeywordPlanAdGroupOperation)
- // operation
- switch x := m.Operation.(type) {
- case *KeywordPlanAdGroupOperation_Create:
- s := proto.Size(x.Create)
- n += 1 // tag and wire
- n += proto.SizeVarint(uint64(s))
- n += s
- case *KeywordPlanAdGroupOperation_Update:
- s := proto.Size(x.Update)
- n += 1 // tag and wire
- n += proto.SizeVarint(uint64(s))
- n += s
- case *KeywordPlanAdGroupOperation_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 ad group mutate.
- type MutateKeywordPlanAdGroupsResponse 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 []*MutateKeywordPlanAdGroupResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *MutateKeywordPlanAdGroupsResponse) Reset() { *m = MutateKeywordPlanAdGroupsResponse{} }
- func (m *MutateKeywordPlanAdGroupsResponse) String() string { return proto.CompactTextString(m) }
- func (*MutateKeywordPlanAdGroupsResponse) ProtoMessage() {}
- func (*MutateKeywordPlanAdGroupsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_keyword_plan_ad_group_service_23167d7785051dea, []int{3}
- }
- func (m *MutateKeywordPlanAdGroupsResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Unmarshal(m, b)
- }
- func (m *MutateKeywordPlanAdGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Marshal(b, m, deterministic)
- }
- func (dst *MutateKeywordPlanAdGroupsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Merge(dst, src)
- }
- func (m *MutateKeywordPlanAdGroupsResponse) XXX_Size() int {
- return xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Size(m)
- }
- func (m *MutateKeywordPlanAdGroupsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_MutateKeywordPlanAdGroupsResponse proto.InternalMessageInfo
-
- func (m *MutateKeywordPlanAdGroupsResponse) GetPartialFailureError() *status.Status {
- if m != nil {
- return m.PartialFailureError
- }
- return nil
- }
-
- func (m *MutateKeywordPlanAdGroupsResponse) GetResults() []*MutateKeywordPlanAdGroupResult {
- if m != nil {
- return m.Results
- }
- return nil
- }
-
- // The result for the Keyword Plan ad group mutate.
- type MutateKeywordPlanAdGroupResult 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 *MutateKeywordPlanAdGroupResult) Reset() { *m = MutateKeywordPlanAdGroupResult{} }
- func (m *MutateKeywordPlanAdGroupResult) String() string { return proto.CompactTextString(m) }
- func (*MutateKeywordPlanAdGroupResult) ProtoMessage() {}
- func (*MutateKeywordPlanAdGroupResult) Descriptor() ([]byte, []int) {
- return fileDescriptor_keyword_plan_ad_group_service_23167d7785051dea, []int{4}
- }
- func (m *MutateKeywordPlanAdGroupResult) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MutateKeywordPlanAdGroupResult.Unmarshal(m, b)
- }
- func (m *MutateKeywordPlanAdGroupResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MutateKeywordPlanAdGroupResult.Marshal(b, m, deterministic)
- }
- func (dst *MutateKeywordPlanAdGroupResult) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MutateKeywordPlanAdGroupResult.Merge(dst, src)
- }
- func (m *MutateKeywordPlanAdGroupResult) XXX_Size() int {
- return xxx_messageInfo_MutateKeywordPlanAdGroupResult.Size(m)
- }
- func (m *MutateKeywordPlanAdGroupResult) XXX_DiscardUnknown() {
- xxx_messageInfo_MutateKeywordPlanAdGroupResult.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_MutateKeywordPlanAdGroupResult proto.InternalMessageInfo
-
- func (m *MutateKeywordPlanAdGroupResult) GetResourceName() string {
- if m != nil {
- return m.ResourceName
- }
- return ""
- }
-
- func init() {
- proto.RegisterType((*GetKeywordPlanAdGroupRequest)(nil), "google.ads.googleads.v0.services.GetKeywordPlanAdGroupRequest")
- proto.RegisterType((*MutateKeywordPlanAdGroupsRequest)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanAdGroupsRequest")
- proto.RegisterType((*KeywordPlanAdGroupOperation)(nil), "google.ads.googleads.v0.services.KeywordPlanAdGroupOperation")
- proto.RegisterType((*MutateKeywordPlanAdGroupsResponse)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanAdGroupsResponse")
- proto.RegisterType((*MutateKeywordPlanAdGroupResult)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanAdGroupResult")
- }
-
- // 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
-
- // KeywordPlanAdGroupServiceClient is the client API for KeywordPlanAdGroupService service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
- type KeywordPlanAdGroupServiceClient interface {
- // Returns the requested Keyword Plan ad group in full detail.
- GetKeywordPlanAdGroup(ctx context.Context, in *GetKeywordPlanAdGroupRequest, opts ...grpc.CallOption) (*resources.KeywordPlanAdGroup, error)
- // Creates, updates, or removes Keyword Plan ad groups. Operation statuses are
- // returned.
- MutateKeywordPlanAdGroups(ctx context.Context, in *MutateKeywordPlanAdGroupsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanAdGroupsResponse, error)
- }
-
- type keywordPlanAdGroupServiceClient struct {
- cc *grpc.ClientConn
- }
-
- func NewKeywordPlanAdGroupServiceClient(cc *grpc.ClientConn) KeywordPlanAdGroupServiceClient {
- return &keywordPlanAdGroupServiceClient{cc}
- }
-
- func (c *keywordPlanAdGroupServiceClient) GetKeywordPlanAdGroup(ctx context.Context, in *GetKeywordPlanAdGroupRequest, opts ...grpc.CallOption) (*resources.KeywordPlanAdGroup, error) {
- out := new(resources.KeywordPlanAdGroup)
- err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanAdGroupService/GetKeywordPlanAdGroup", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *keywordPlanAdGroupServiceClient) MutateKeywordPlanAdGroups(ctx context.Context, in *MutateKeywordPlanAdGroupsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanAdGroupsResponse, error) {
- out := new(MutateKeywordPlanAdGroupsResponse)
- err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- // KeywordPlanAdGroupServiceServer is the server API for KeywordPlanAdGroupService service.
- type KeywordPlanAdGroupServiceServer interface {
- // Returns the requested Keyword Plan ad group in full detail.
- GetKeywordPlanAdGroup(context.Context, *GetKeywordPlanAdGroupRequest) (*resources.KeywordPlanAdGroup, error)
- // Creates, updates, or removes Keyword Plan ad groups. Operation statuses are
- // returned.
- MutateKeywordPlanAdGroups(context.Context, *MutateKeywordPlanAdGroupsRequest) (*MutateKeywordPlanAdGroupsResponse, error)
- }
-
- func RegisterKeywordPlanAdGroupServiceServer(s *grpc.Server, srv KeywordPlanAdGroupServiceServer) {
- s.RegisterService(&_KeywordPlanAdGroupService_serviceDesc, srv)
- }
-
- func _KeywordPlanAdGroupService_GetKeywordPlanAdGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetKeywordPlanAdGroupRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(KeywordPlanAdGroupServiceServer).GetKeywordPlanAdGroup(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.ads.googleads.v0.services.KeywordPlanAdGroupService/GetKeywordPlanAdGroup",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(KeywordPlanAdGroupServiceServer).GetKeywordPlanAdGroup(ctx, req.(*GetKeywordPlanAdGroupRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _KeywordPlanAdGroupService_MutateKeywordPlanAdGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MutateKeywordPlanAdGroupsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(KeywordPlanAdGroupServiceServer).MutateKeywordPlanAdGroups(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.ads.googleads.v0.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(KeywordPlanAdGroupServiceServer).MutateKeywordPlanAdGroups(ctx, req.(*MutateKeywordPlanAdGroupsRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- var _KeywordPlanAdGroupService_serviceDesc = grpc.ServiceDesc{
- ServiceName: "google.ads.googleads.v0.services.KeywordPlanAdGroupService",
- HandlerType: (*KeywordPlanAdGroupServiceServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "GetKeywordPlanAdGroup",
- Handler: _KeywordPlanAdGroupService_GetKeywordPlanAdGroup_Handler,
- },
- {
- MethodName: "MutateKeywordPlanAdGroups",
- Handler: _KeywordPlanAdGroupService_MutateKeywordPlanAdGroups_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "google/ads/googleads/v0/services/keyword_plan_ad_group_service.proto",
- }
-
- func init() {
- proto.RegisterFile("google/ads/googleads/v0/services/keyword_plan_ad_group_service.proto", fileDescriptor_keyword_plan_ad_group_service_23167d7785051dea)
- }
-
- var fileDescriptor_keyword_plan_ad_group_service_23167d7785051dea = []byte{
- // 730 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xdd, 0x6a, 0xd4, 0x4e,
- 0x14, 0xc0, 0xff, 0xc9, 0xfe, 0xa9, 0x76, 0xb6, 0x2a, 0x8c, 0x14, 0xb7, 0x6b, 0xa9, 0x6b, 0x2c,
- 0x58, 0xf6, 0x22, 0x59, 0x56, 0x8a, 0x92, 0xb2, 0xe2, 0x6e, 0x6d, 0xb7, 0x22, 0xb5, 0x25, 0x85,
- 0x5e, 0x94, 0x95, 0x30, 0xdd, 0x4c, 0x43, 0x68, 0x92, 0x89, 0x33, 0x93, 0x2d, 0xa5, 0xf4, 0x46,
- 0xf0, 0x09, 0x7c, 0x03, 0xbd, 0xf3, 0x45, 0x04, 0xc1, 0x2b, 0x2f, 0x7c, 0x01, 0x6f, 0xf4, 0xca,
- 0x47, 0x90, 0xc9, 0x64, 0xd6, 0x7e, 0x65, 0x57, 0xda, 0xbb, 0x93, 0x33, 0x27, 0xbf, 0xf3, 0x39,
- 0x67, 0xc0, 0x73, 0x9f, 0x10, 0x3f, 0xc4,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