blob: f3b4477e7aa1355637e451f7d34246f1a0fc3c2b [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/services/ad_group_bid_modifier_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/v1/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 [AdGroupBidModifierService.GetAdGroupBidModifier][google.ads.googleads.v1.services.AdGroupBidModifierService.GetAdGroupBidModifier].
type GetAdGroupBidModifierRequest struct {
// The resource name of the ad group bid modifier 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 *GetAdGroupBidModifierRequest) Reset() { *m = GetAdGroupBidModifierRequest{} }
func (m *GetAdGroupBidModifierRequest) String() string { return proto.CompactTextString(m) }
func (*GetAdGroupBidModifierRequest) ProtoMessage() {}
func (*GetAdGroupBidModifierRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_66526f749bb8a530, []int{0}
}
func (m *GetAdGroupBidModifierRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetAdGroupBidModifierRequest.Unmarshal(m, b)
}
func (m *GetAdGroupBidModifierRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetAdGroupBidModifierRequest.Marshal(b, m, deterministic)
}
func (m *GetAdGroupBidModifierRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetAdGroupBidModifierRequest.Merge(m, src)
}
func (m *GetAdGroupBidModifierRequest) XXX_Size() int {
return xxx_messageInfo_GetAdGroupBidModifierRequest.Size(m)
}
func (m *GetAdGroupBidModifierRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetAdGroupBidModifierRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetAdGroupBidModifierRequest proto.InternalMessageInfo
func (m *GetAdGroupBidModifierRequest) GetResourceName() string {
if m != nil {
return m.ResourceName
}
return ""
}
// Request message for [AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v1.services.AdGroupBidModifierService.MutateAdGroupBidModifiers].
type MutateAdGroupBidModifiersRequest struct {
// ID of the customer whose ad group bid modifiers 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 ad group bid modifiers.
Operations []*AdGroupBidModifierOperation `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 *MutateAdGroupBidModifiersRequest) Reset() { *m = MutateAdGroupBidModifiersRequest{} }
func (m *MutateAdGroupBidModifiersRequest) String() string { return proto.CompactTextString(m) }
func (*MutateAdGroupBidModifiersRequest) ProtoMessage() {}
func (*MutateAdGroupBidModifiersRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_66526f749bb8a530, []int{1}
}
func (m *MutateAdGroupBidModifiersRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MutateAdGroupBidModifiersRequest.Unmarshal(m, b)
}
func (m *MutateAdGroupBidModifiersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MutateAdGroupBidModifiersRequest.Marshal(b, m, deterministic)
}
func (m *MutateAdGroupBidModifiersRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MutateAdGroupBidModifiersRequest.Merge(m, src)
}
func (m *MutateAdGroupBidModifiersRequest) XXX_Size() int {
return xxx_messageInfo_MutateAdGroupBidModifiersRequest.Size(m)
}
func (m *MutateAdGroupBidModifiersRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MutateAdGroupBidModifiersRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MutateAdGroupBidModifiersRequest proto.InternalMessageInfo
func (m *MutateAdGroupBidModifiersRequest) GetCustomerId() string {
if m != nil {
return m.CustomerId
}
return ""
}
func (m *MutateAdGroupBidModifiersRequest) GetOperations() []*AdGroupBidModifierOperation {
if m != nil {
return m.Operations
}
return nil
}
func (m *MutateAdGroupBidModifiersRequest) GetPartialFailure() bool {
if m != nil {
return m.PartialFailure
}
return false
}
func (m *MutateAdGroupBidModifiersRequest) GetValidateOnly() bool {
if m != nil {
return m.ValidateOnly
}
return false
}
// A single operation (create, remove, update) on an ad group bid modifier.
type AdGroupBidModifierOperation struct {
// 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:
// *AdGroupBidModifierOperation_Create
// *AdGroupBidModifierOperation_Update
// *AdGroupBidModifierOperation_Remove
Operation isAdGroupBidModifierOperation_Operation `protobuf_oneof:"operation"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AdGroupBidModifierOperation) Reset() { *m = AdGroupBidModifierOperation{} }
func (m *AdGroupBidModifierOperation) String() string { return proto.CompactTextString(m) }
func (*AdGroupBidModifierOperation) ProtoMessage() {}
func (*AdGroupBidModifierOperation) Descriptor() ([]byte, []int) {
return fileDescriptor_66526f749bb8a530, []int{2}
}
func (m *AdGroupBidModifierOperation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AdGroupBidModifierOperation.Unmarshal(m, b)
}
func (m *AdGroupBidModifierOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AdGroupBidModifierOperation.Marshal(b, m, deterministic)
}
func (m *AdGroupBidModifierOperation) XXX_Merge(src proto.Message) {
xxx_messageInfo_AdGroupBidModifierOperation.Merge(m, src)
}
func (m *AdGroupBidModifierOperation) XXX_Size() int {
return xxx_messageInfo_AdGroupBidModifierOperation.Size(m)
}
func (m *AdGroupBidModifierOperation) XXX_DiscardUnknown() {
xxx_messageInfo_AdGroupBidModifierOperation.DiscardUnknown(m)
}
var xxx_messageInfo_AdGroupBidModifierOperation proto.InternalMessageInfo
func (m *AdGroupBidModifierOperation) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
type isAdGroupBidModifierOperation_Operation interface {
isAdGroupBidModifierOperation_Operation()
}
type AdGroupBidModifierOperation_Create struct {
Create *resources.AdGroupBidModifier `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}
type AdGroupBidModifierOperation_Update struct {
Update *resources.AdGroupBidModifier `protobuf:"bytes,2,opt,name=update,proto3,oneof"`
}
type AdGroupBidModifierOperation_Remove struct {
Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"`
}
func (*AdGroupBidModifierOperation_Create) isAdGroupBidModifierOperation_Operation() {}
func (*AdGroupBidModifierOperation_Update) isAdGroupBidModifierOperation_Operation() {}
func (*AdGroupBidModifierOperation_Remove) isAdGroupBidModifierOperation_Operation() {}
func (m *AdGroupBidModifierOperation) GetOperation() isAdGroupBidModifierOperation_Operation {
if m != nil {
return m.Operation
}
return nil
}
func (m *AdGroupBidModifierOperation) GetCreate() *resources.AdGroupBidModifier {
if x, ok := m.GetOperation().(*AdGroupBidModifierOperation_Create); ok {
return x.Create
}
return nil
}
func (m *AdGroupBidModifierOperation) GetUpdate() *resources.AdGroupBidModifier {
if x, ok := m.GetOperation().(*AdGroupBidModifierOperation_Update); ok {
return x.Update
}
return nil
}
func (m *AdGroupBidModifierOperation) GetRemove() string {
if x, ok := m.GetOperation().(*AdGroupBidModifierOperation_Remove); ok {
return x.Remove
}
return ""
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*AdGroupBidModifierOperation) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*AdGroupBidModifierOperation_Create)(nil),
(*AdGroupBidModifierOperation_Update)(nil),
(*AdGroupBidModifierOperation_Remove)(nil),
}
}
// Response message for ad group bid modifiers mutate.
type MutateAdGroupBidModifiersResponse 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 []*MutateAdGroupBidModifierResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MutateAdGroupBidModifiersResponse) Reset() { *m = MutateAdGroupBidModifiersResponse{} }
func (m *MutateAdGroupBidModifiersResponse) String() string { return proto.CompactTextString(m) }
func (*MutateAdGroupBidModifiersResponse) ProtoMessage() {}
func (*MutateAdGroupBidModifiersResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_66526f749bb8a530, []int{3}
}
func (m *MutateAdGroupBidModifiersResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MutateAdGroupBidModifiersResponse.Unmarshal(m, b)
}
func (m *MutateAdGroupBidModifiersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MutateAdGroupBidModifiersResponse.Marshal(b, m, deterministic)
}
func (m *MutateAdGroupBidModifiersResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MutateAdGroupBidModifiersResponse.Merge(m, src)
}
func (m *MutateAdGroupBidModifiersResponse) XXX_Size() int {
return xxx_messageInfo_MutateAdGroupBidModifiersResponse.Size(m)
}
func (m *MutateAdGroupBidModifiersResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MutateAdGroupBidModifiersResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MutateAdGroupBidModifiersResponse proto.InternalMessageInfo
func (m *MutateAdGroupBidModifiersResponse) GetPartialFailureError() *status.Status {
if m != nil {
return m.PartialFailureError
}
return nil
}
func (m *MutateAdGroupBidModifiersResponse) GetResults() []*MutateAdGroupBidModifierResult {
if m != nil {
return m.Results
}
return nil
}
// The result for the criterion mutate.
type MutateAdGroupBidModifierResult 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 *MutateAdGroupBidModifierResult) Reset() { *m = MutateAdGroupBidModifierResult{} }
func (m *MutateAdGroupBidModifierResult) String() string { return proto.CompactTextString(m) }
func (*MutateAdGroupBidModifierResult) ProtoMessage() {}
func (*MutateAdGroupBidModifierResult) Descriptor() ([]byte, []int) {
return fileDescriptor_66526f749bb8a530, []int{4}
}
func (m *MutateAdGroupBidModifierResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MutateAdGroupBidModifierResult.Unmarshal(m, b)
}
func (m *MutateAdGroupBidModifierResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MutateAdGroupBidModifierResult.Marshal(b, m, deterministic)
}
func (m *MutateAdGroupBidModifierResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_MutateAdGroupBidModifierResult.Merge(m, src)
}
func (m *MutateAdGroupBidModifierResult) XXX_Size() int {
return xxx_messageInfo_MutateAdGroupBidModifierResult.Size(m)
}
func (m *MutateAdGroupBidModifierResult) XXX_DiscardUnknown() {
xxx_messageInfo_MutateAdGroupBidModifierResult.DiscardUnknown(m)
}
var xxx_messageInfo_MutateAdGroupBidModifierResult proto.InternalMessageInfo
func (m *MutateAdGroupBidModifierResult) GetResourceName() string {
if m != nil {
return m.ResourceName
}
return ""
}
func init() {
proto.RegisterType((*GetAdGroupBidModifierRequest)(nil), "google.ads.googleads.v1.services.GetAdGroupBidModifierRequest")
proto.RegisterType((*MutateAdGroupBidModifiersRequest)(nil), "google.ads.googleads.v1.services.MutateAdGroupBidModifiersRequest")
proto.RegisterType((*AdGroupBidModifierOperation)(nil), "google.ads.googleads.v1.services.AdGroupBidModifierOperation")
proto.RegisterType((*MutateAdGroupBidModifiersResponse)(nil), "google.ads.googleads.v1.services.MutateAdGroupBidModifiersResponse")
proto.RegisterType((*MutateAdGroupBidModifierResult)(nil), "google.ads.googleads.v1.services.MutateAdGroupBidModifierResult")
}
func init() {
proto.RegisterFile("google/ads/googleads/v1/services/ad_group_bid_modifier_service.proto", fileDescriptor_66526f749bb8a530)
}
var fileDescriptor_66526f749bb8a530 = []byte{
// 739 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x6b, 0x13, 0x4f,
0x18, 0xc7, 0x7f, 0xbb, 0xf9, 0x51, 0xed, 0xa4, 0x2a, 0x8c, 0x14, 0xd3, 0xb4, 0xd4, 0xb8, 0x16,
0x2c, 0x39, 0xec, 0x92, 0x48, 0x51, 0xb6, 0x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, 0x59, 0xc7, 0xe7, 0x9e, 0xab, 0x46, 0xf5, 0xe4, 0xaa, 0x22, 0xed, 0x28, 0x83,
0xdb, 0x5a, 0xb5, 0x3c, 0x7f, 0xda, 0x2c, 0x9d, 0x25, 0x90, 0x5b, 0x49, 0xc0, 0x4c, 0x8f, 0x44,
0xad, 0x0f, 0x3a, 0x58, 0xf2, 0x48, 0x34, 0x31, 0xd9, 0xd6, 0xe2, 0xc8, 0xe5, 0xd8, 0x11, 0x4f,
0xc6, 0x8e, 0xb6, 0xbf, 0x99, 0x33, 0x7a, 0x24, 0x44, 0x71, 0xcf, 0x24, 0xb4, 0x67, 0xf5, 0x70,
0x9c, 0x3d, 0x28, 0xd6, 0x59, 0xd4, 0xd1, 0x7f, 0x74, 0xab, 0xca, 0xf8, 0xa4, 0x17, 0xda, 0xcd,
0xe6, 0x17, 0xbd, 0xd2, 0x96, 0xc0, 0xa6, 0xcf, 0x4c, 0x69, 0x0a, 0x6b, 0xaf, 0x66, 0xe6, 0x81,
0xd9, 0xa9, 0x92, 0x74, 0x9a, 0x3e, 0xeb, 0x0c, 0x24, 0x9d, 0xbd, 0x5a, 0x47, 0x49, 0x7e, 0xe9,
0x4b, 0xd2, 0x6f, 0xdb, 0x4d, 0x9f, 0xd9, 0xf6, 0x40, 0x64, 0xdb, 0x7b, 0x35, 0xdb, 0x56, 0xb2,
0x83, 0xa9, 0x2c, 0xcf, 0xa7, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x37, 0x16, 0x67, 0x8f,
0x07, 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
// AdGroupBidModifierServiceClient is the client API for AdGroupBidModifierService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type AdGroupBidModifierServiceClient interface {
// Returns the requested ad group bid modifier in full detail.
GetAdGroupBidModifier(ctx context.Context, in *GetAdGroupBidModifierRequest, opts ...grpc.CallOption) (*resources.AdGroupBidModifier, error)
// Creates, updates, or removes ad group bid modifiers.
// Operation statuses are returned.
MutateAdGroupBidModifiers(ctx context.Context, in *MutateAdGroupBidModifiersRequest, opts ...grpc.CallOption) (*MutateAdGroupBidModifiersResponse, error)
}
type adGroupBidModifierServiceClient struct {
cc grpc.ClientConnInterface
}
func NewAdGroupBidModifierServiceClient(cc grpc.ClientConnInterface) AdGroupBidModifierServiceClient {
return &adGroupBidModifierServiceClient{cc}
}
func (c *adGroupBidModifierServiceClient) GetAdGroupBidModifier(ctx context.Context, in *GetAdGroupBidModifierRequest, opts ...grpc.CallOption) (*resources.AdGroupBidModifier, error) {
out := new(resources.AdGroupBidModifier)
err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupBidModifierService/GetAdGroupBidModifier", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *adGroupBidModifierServiceClient) MutateAdGroupBidModifiers(ctx context.Context, in *MutateAdGroupBidModifiersRequest, opts ...grpc.CallOption) (*MutateAdGroupBidModifiersResponse, error) {
out := new(MutateAdGroupBidModifiersResponse)
err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupBidModifierService/MutateAdGroupBidModifiers", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// AdGroupBidModifierServiceServer is the server API for AdGroupBidModifierService service.
type AdGroupBidModifierServiceServer interface {
// Returns the requested ad group bid modifier in full detail.
GetAdGroupBidModifier(context.Context, *GetAdGroupBidModifierRequest) (*resources.AdGroupBidModifier, error)
// Creates, updates, or removes ad group bid modifiers.
// Operation statuses are returned.
MutateAdGroupBidModifiers(context.Context, *MutateAdGroupBidModifiersRequest) (*MutateAdGroupBidModifiersResponse, error)
}
// UnimplementedAdGroupBidModifierServiceServer can be embedded to have forward compatible implementations.
type UnimplementedAdGroupBidModifierServiceServer struct {
}
func (*UnimplementedAdGroupBidModifierServiceServer) GetAdGroupBidModifier(ctx context.Context, req *GetAdGroupBidModifierRequest) (*resources.AdGroupBidModifier, error) {
return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupBidModifier not implemented")
}
func (*UnimplementedAdGroupBidModifierServiceServer) MutateAdGroupBidModifiers(ctx context.Context, req *MutateAdGroupBidModifiersRequest) (*MutateAdGroupBidModifiersResponse, error) {
return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupBidModifiers not implemented")
}
func RegisterAdGroupBidModifierServiceServer(s *grpc.Server, srv AdGroupBidModifierServiceServer) {
s.RegisterService(&_AdGroupBidModifierService_serviceDesc, srv)
}
func _AdGroupBidModifierService_GetAdGroupBidModifier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetAdGroupBidModifierRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdGroupBidModifierServiceServer).GetAdGroupBidModifier(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.ads.googleads.v1.services.AdGroupBidModifierService/GetAdGroupBidModifier",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdGroupBidModifierServiceServer).GetAdGroupBidModifier(ctx, req.(*GetAdGroupBidModifierRequest))
}
return interceptor(ctx, in, info, handler)
}
func _AdGroupBidModifierService_MutateAdGroupBidModifiers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MutateAdGroupBidModifiersRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdGroupBidModifierServiceServer).MutateAdGroupBidModifiers(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.ads.googleads.v1.services.AdGroupBidModifierService/MutateAdGroupBidModifiers",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdGroupBidModifierServiceServer).MutateAdGroupBidModifiers(ctx, req.(*MutateAdGroupBidModifiersRequest))
}
return interceptor(ctx, in, info, handler)
}
var _AdGroupBidModifierService_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.ads.googleads.v1.services.AdGroupBidModifierService",
HandlerType: (*AdGroupBidModifierServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetAdGroupBidModifier",
Handler: _AdGroupBidModifierService_GetAdGroupBidModifier_Handler,
},
{
MethodName: "MutateAdGroupBidModifiers",
Handler: _AdGroupBidModifierService_MutateAdGroupBidModifiers_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/ads/googleads/v1/services/ad_group_bid_modifier_service.proto",
}