| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v2/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/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 [AdGroupBidModifierService.GetAdGroupBidModifier][google.ads.googleads.v2.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_5ce35a3f86b3e472, []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.v2.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_5ce35a3f86b3e472, []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_5ce35a3f86b3e472, []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_5ce35a3f86b3e472, []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_5ce35a3f86b3e472, []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.v2.services.GetAdGroupBidModifierRequest") |
| proto.RegisterType((*MutateAdGroupBidModifiersRequest)(nil), "google.ads.googleads.v2.services.MutateAdGroupBidModifiersRequest") |
| proto.RegisterType((*AdGroupBidModifierOperation)(nil), "google.ads.googleads.v2.services.AdGroupBidModifierOperation") |
| proto.RegisterType((*MutateAdGroupBidModifiersResponse)(nil), "google.ads.googleads.v2.services.MutateAdGroupBidModifiersResponse") |
| proto.RegisterType((*MutateAdGroupBidModifierResult)(nil), "google.ads.googleads.v2.services.MutateAdGroupBidModifierResult") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v2/services/ad_group_bid_modifier_service.proto", fileDescriptor_5ce35a3f86b3e472) |
| } |
| |
| var fileDescriptor_5ce35a3f86b3e472 = []byte{ |
| // 738 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, 0xc2, 0x4a, 0x51, 0xb6, 0x44, 0x4c, 0x6a, 0x9b, 0x7a, 0xa8, 0x2d, 0x5b, 0xe8, |
| 0xa1, 0x44, 0x96, 0xe9, 0xee, 0x24, 0x2c, 0xdd, 0xdd, 0x59, 0x67, 0x66, 0x03, 0xa5, 0xf4, 0x22, |
| 0xf8, 0x0a, 0x7c, 0x07, 0x7a, 0xf3, 0x8d, 0x08, 0x05, 0x4f, 0xbe, 0x05, 0x2f, 0x7a, 0xf2, 0xe0, |
| 0x0b, 0x90, 0xd9, 0xd9, 0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d2, 0x90, 0x99, 0x3e, 0x89, 0x5b, |
| 0x1f, 0x74, 0xb0, 0xe4, 0x93, 0x78, 0x62, 0xb2, 0xad, 0xc5, 0x91, 0xcb, 0xb1, 0x23, 0x9e, 0x8c, |
| 0x1d, 0x6d, 0x7f, 0xb3, 0x60, 0xf4, 0x48, 0x84, 0x92, 0x9e, 0x49, 0x68, 0xcf, 0xea, 0xe1, 0x24, |
| 0x7f, 0x50, 0xac, 0xb3, 0xa8, 0xa3, 0xff, 0xe8, 0x56, 0x95, 0xf1, 0x49, 0x2f, 0xb5, 0x9b, 0xcd, |
| 0x2f, 0x7a, 0xad, 0x2d, 0x81, 0xcd, 0x80, 0x99, 0xd2, 0x14, 0xd6, 0x9e, 0x6d, 0x16, 0x81, 0xd9, |
| 0xa9, 0x92, 0x74, 0x9a, 0x01, 0xeb, 0x0c, 0x24, 0x9d, 0x3d, 0xbb, 0xa3, 0x24, 0xbf, 0xf4, 0x25, |
| 0xe9, 0x77, 0x9c, 0x66, 0xc0, 0x1c, 0x67, 0x20, 0x72, 0x9c, 0x3d, 0xdb, 0x71, 0x94, 0xec, 0x60, |
| 0x2a, 0xcf, 0xf3, 0xe9, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x04, 0x1e, 0x1c, 0xc9, 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.v2.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.v2.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.v2.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.v2.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.v2.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/v2/services/ad_group_bid_modifier_service.proto", |
| } |