| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/services/bidding_strategy_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/v3/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 [BiddingStrategyService.GetBiddingStrategy][google.ads.googleads.v3.services.BiddingStrategyService.GetBiddingStrategy]. |
| type GetBiddingStrategyRequest struct { |
| // Required. The resource name of the bidding strategy 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 *GetBiddingStrategyRequest) Reset() { *m = GetBiddingStrategyRequest{} } |
| func (m *GetBiddingStrategyRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetBiddingStrategyRequest) ProtoMessage() {} |
| func (*GetBiddingStrategyRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_527fe3c2a1fca4fa, []int{0} |
| } |
| |
| func (m *GetBiddingStrategyRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetBiddingStrategyRequest.Unmarshal(m, b) |
| } |
| func (m *GetBiddingStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetBiddingStrategyRequest.Marshal(b, m, deterministic) |
| } |
| func (m *GetBiddingStrategyRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetBiddingStrategyRequest.Merge(m, src) |
| } |
| func (m *GetBiddingStrategyRequest) XXX_Size() int { |
| return xxx_messageInfo_GetBiddingStrategyRequest.Size(m) |
| } |
| func (m *GetBiddingStrategyRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetBiddingStrategyRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetBiddingStrategyRequest proto.InternalMessageInfo |
| |
| func (m *GetBiddingStrategyRequest) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| // Request message for [BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v3.services.BiddingStrategyService.MutateBiddingStrategies]. |
| type MutateBiddingStrategiesRequest struct { |
| // Required. The ID of the customer whose bidding strategies are being modified. |
| CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` |
| // Required. The list of operations to perform on individual bidding strategies. |
| Operations []*BiddingStrategyOperation `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 *MutateBiddingStrategiesRequest) Reset() { *m = MutateBiddingStrategiesRequest{} } |
| func (m *MutateBiddingStrategiesRequest) String() string { return proto.CompactTextString(m) } |
| func (*MutateBiddingStrategiesRequest) ProtoMessage() {} |
| func (*MutateBiddingStrategiesRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_527fe3c2a1fca4fa, []int{1} |
| } |
| |
| func (m *MutateBiddingStrategiesRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MutateBiddingStrategiesRequest.Unmarshal(m, b) |
| } |
| func (m *MutateBiddingStrategiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MutateBiddingStrategiesRequest.Marshal(b, m, deterministic) |
| } |
| func (m *MutateBiddingStrategiesRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateBiddingStrategiesRequest.Merge(m, src) |
| } |
| func (m *MutateBiddingStrategiesRequest) XXX_Size() int { |
| return xxx_messageInfo_MutateBiddingStrategiesRequest.Size(m) |
| } |
| func (m *MutateBiddingStrategiesRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_MutateBiddingStrategiesRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MutateBiddingStrategiesRequest proto.InternalMessageInfo |
| |
| func (m *MutateBiddingStrategiesRequest) GetCustomerId() string { |
| if m != nil { |
| return m.CustomerId |
| } |
| return "" |
| } |
| |
| func (m *MutateBiddingStrategiesRequest) GetOperations() []*BiddingStrategyOperation { |
| if m != nil { |
| return m.Operations |
| } |
| return nil |
| } |
| |
| func (m *MutateBiddingStrategiesRequest) GetPartialFailure() bool { |
| if m != nil { |
| return m.PartialFailure |
| } |
| return false |
| } |
| |
| func (m *MutateBiddingStrategiesRequest) GetValidateOnly() bool { |
| if m != nil { |
| return m.ValidateOnly |
| } |
| return false |
| } |
| |
| // A single operation (create, update, remove) on a bidding strategy. |
| type BiddingStrategyOperation 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: |
| // *BiddingStrategyOperation_Create |
| // *BiddingStrategyOperation_Update |
| // *BiddingStrategyOperation_Remove |
| Operation isBiddingStrategyOperation_Operation `protobuf_oneof:"operation"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *BiddingStrategyOperation) Reset() { *m = BiddingStrategyOperation{} } |
| func (m *BiddingStrategyOperation) String() string { return proto.CompactTextString(m) } |
| func (*BiddingStrategyOperation) ProtoMessage() {} |
| func (*BiddingStrategyOperation) Descriptor() ([]byte, []int) { |
| return fileDescriptor_527fe3c2a1fca4fa, []int{2} |
| } |
| |
| func (m *BiddingStrategyOperation) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BiddingStrategyOperation.Unmarshal(m, b) |
| } |
| func (m *BiddingStrategyOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BiddingStrategyOperation.Marshal(b, m, deterministic) |
| } |
| func (m *BiddingStrategyOperation) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BiddingStrategyOperation.Merge(m, src) |
| } |
| func (m *BiddingStrategyOperation) XXX_Size() int { |
| return xxx_messageInfo_BiddingStrategyOperation.Size(m) |
| } |
| func (m *BiddingStrategyOperation) XXX_DiscardUnknown() { |
| xxx_messageInfo_BiddingStrategyOperation.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BiddingStrategyOperation proto.InternalMessageInfo |
| |
| func (m *BiddingStrategyOperation) GetUpdateMask() *field_mask.FieldMask { |
| if m != nil { |
| return m.UpdateMask |
| } |
| return nil |
| } |
| |
| type isBiddingStrategyOperation_Operation interface { |
| isBiddingStrategyOperation_Operation() |
| } |
| |
| type BiddingStrategyOperation_Create struct { |
| Create *resources.BiddingStrategy `protobuf:"bytes,1,opt,name=create,proto3,oneof"` |
| } |
| |
| type BiddingStrategyOperation_Update struct { |
| Update *resources.BiddingStrategy `protobuf:"bytes,2,opt,name=update,proto3,oneof"` |
| } |
| |
| type BiddingStrategyOperation_Remove struct { |
| Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` |
| } |
| |
| func (*BiddingStrategyOperation_Create) isBiddingStrategyOperation_Operation() {} |
| |
| func (*BiddingStrategyOperation_Update) isBiddingStrategyOperation_Operation() {} |
| |
| func (*BiddingStrategyOperation_Remove) isBiddingStrategyOperation_Operation() {} |
| |
| func (m *BiddingStrategyOperation) GetOperation() isBiddingStrategyOperation_Operation { |
| if m != nil { |
| return m.Operation |
| } |
| return nil |
| } |
| |
| func (m *BiddingStrategyOperation) GetCreate() *resources.BiddingStrategy { |
| if x, ok := m.GetOperation().(*BiddingStrategyOperation_Create); ok { |
| return x.Create |
| } |
| return nil |
| } |
| |
| func (m *BiddingStrategyOperation) GetUpdate() *resources.BiddingStrategy { |
| if x, ok := m.GetOperation().(*BiddingStrategyOperation_Update); ok { |
| return x.Update |
| } |
| return nil |
| } |
| |
| func (m *BiddingStrategyOperation) GetRemove() string { |
| if x, ok := m.GetOperation().(*BiddingStrategyOperation_Remove); ok { |
| return x.Remove |
| } |
| return "" |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*BiddingStrategyOperation) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*BiddingStrategyOperation_Create)(nil), |
| (*BiddingStrategyOperation_Update)(nil), |
| (*BiddingStrategyOperation_Remove)(nil), |
| } |
| } |
| |
| // Response message for bidding strategy mutate. |
| type MutateBiddingStrategiesResponse 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 []*MutateBiddingStrategyResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *MutateBiddingStrategiesResponse) Reset() { *m = MutateBiddingStrategiesResponse{} } |
| func (m *MutateBiddingStrategiesResponse) String() string { return proto.CompactTextString(m) } |
| func (*MutateBiddingStrategiesResponse) ProtoMessage() {} |
| func (*MutateBiddingStrategiesResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_527fe3c2a1fca4fa, []int{3} |
| } |
| |
| func (m *MutateBiddingStrategiesResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MutateBiddingStrategiesResponse.Unmarshal(m, b) |
| } |
| func (m *MutateBiddingStrategiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MutateBiddingStrategiesResponse.Marshal(b, m, deterministic) |
| } |
| func (m *MutateBiddingStrategiesResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateBiddingStrategiesResponse.Merge(m, src) |
| } |
| func (m *MutateBiddingStrategiesResponse) XXX_Size() int { |
| return xxx_messageInfo_MutateBiddingStrategiesResponse.Size(m) |
| } |
| func (m *MutateBiddingStrategiesResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_MutateBiddingStrategiesResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MutateBiddingStrategiesResponse proto.InternalMessageInfo |
| |
| func (m *MutateBiddingStrategiesResponse) GetPartialFailureError() *status.Status { |
| if m != nil { |
| return m.PartialFailureError |
| } |
| return nil |
| } |
| |
| func (m *MutateBiddingStrategiesResponse) GetResults() []*MutateBiddingStrategyResult { |
| if m != nil { |
| return m.Results |
| } |
| return nil |
| } |
| |
| // The result for the bidding strategy mutate. |
| type MutateBiddingStrategyResult 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 *MutateBiddingStrategyResult) Reset() { *m = MutateBiddingStrategyResult{} } |
| func (m *MutateBiddingStrategyResult) String() string { return proto.CompactTextString(m) } |
| func (*MutateBiddingStrategyResult) ProtoMessage() {} |
| func (*MutateBiddingStrategyResult) Descriptor() ([]byte, []int) { |
| return fileDescriptor_527fe3c2a1fca4fa, []int{4} |
| } |
| |
| func (m *MutateBiddingStrategyResult) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MutateBiddingStrategyResult.Unmarshal(m, b) |
| } |
| func (m *MutateBiddingStrategyResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MutateBiddingStrategyResult.Marshal(b, m, deterministic) |
| } |
| func (m *MutateBiddingStrategyResult) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateBiddingStrategyResult.Merge(m, src) |
| } |
| func (m *MutateBiddingStrategyResult) XXX_Size() int { |
| return xxx_messageInfo_MutateBiddingStrategyResult.Size(m) |
| } |
| func (m *MutateBiddingStrategyResult) XXX_DiscardUnknown() { |
| xxx_messageInfo_MutateBiddingStrategyResult.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MutateBiddingStrategyResult proto.InternalMessageInfo |
| |
| func (m *MutateBiddingStrategyResult) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterType((*GetBiddingStrategyRequest)(nil), "google.ads.googleads.v3.services.GetBiddingStrategyRequest") |
| proto.RegisterType((*MutateBiddingStrategiesRequest)(nil), "google.ads.googleads.v3.services.MutateBiddingStrategiesRequest") |
| proto.RegisterType((*BiddingStrategyOperation)(nil), "google.ads.googleads.v3.services.BiddingStrategyOperation") |
| proto.RegisterType((*MutateBiddingStrategiesResponse)(nil), "google.ads.googleads.v3.services.MutateBiddingStrategiesResponse") |
| proto.RegisterType((*MutateBiddingStrategyResult)(nil), "google.ads.googleads.v3.services.MutateBiddingStrategyResult") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/services/bidding_strategy_service.proto", fileDescriptor_527fe3c2a1fca4fa) |
| } |
| |
| var fileDescriptor_527fe3c2a1fca4fa = []byte{ |
| // 771 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcd, 0x6b, 0xe3, 0x46, |
| 0x14, 0xaf, 0xe4, 0x90, 0x36, 0xe3, 0xa4, 0x85, 0x29, 0x4d, 0x54, 0xa7, 0x34, 0x46, 0x0d, 0xd4, |
| 0x98, 0x22, 0x81, 0x4d, 0x4b, 0x91, 0x09, 0xad, 0x0c, 0xf9, 0x28, 0x6d, 0x9a, 0xa0, 0x40, 0x0a, |
| 0xc1, 0x20, 0xc6, 0xd2, 0x44, 0x15, 0x91, 0x34, 0xea, 0xcc, 0xc8, 0x60, 0x42, 0x2e, 0xb9, 0xf4, |
| 0x0f, 0xe8, 0xad, 0xc7, 0x3d, 0xee, 0x9f, 0xb1, 0xc7, 0x1c, 0x77, 0x6f, 0x39, 0xed, 0x61, 0x4f, |
| 0x7b, 0xdf, 0xcb, 0x9e, 0x16, 0x69, 0x34, 0xfe, 0x8a, 0xbd, 0x86, 0xe4, 0xf6, 0x34, 0xef, 0x37, |
| 0xbf, 0xf7, 0xf1, 0x7b, 0xf3, 0x04, 0x7e, 0x09, 0x08, 0x09, 0x22, 0x6c, 0x22, 0x9f, 0x99, 0xc2, |
| 0xcc, 0xad, 0x41, 0xdb, 0x64, 0x98, 0x0e, 0x42, 0x0f, 0x33, 0xb3, 0x1f, 0xfa, 0x7e, 0x98, 0x04, |
| 0x2e, 0xe3, 0x14, 0x71, 0x1c, 0x0c, 0xdd, 0xd2, 0x63, 0xa4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 0x99, 0x02, 0x4e, |
| 0x24, 0x45, 0x19, 0x60, 0x4c, 0x09, 0xbf, 0x07, 0x5f, 0xa4, 0x88, 0xf2, 0x10, 0x45, 0xee, 0x25, |
| 0x0a, 0xa3, 0x8c, 0x62, 0xad, 0x52, 0x57, 0x1a, 0x9f, 0x39, 0x9f, 0x97, 0xc7, 0x07, 0xe2, 0x14, |
| 0x7e, 0x07, 0x36, 0x06, 0x28, 0x0a, 0x7d, 0xc4, 0xb1, 0x4b, 0x92, 0x68, 0xa8, 0xad, 0x14, 0xb0, |
| 0x75, 0x79, 0x78, 0x92, 0x44, 0x43, 0xfd, 0x7f, 0x15, 0x68, 0x8b, 0x62, 0xc3, 0x0e, 0xa8, 0x66, |
| 0x69, 0x71, 0x3f, 0x57, 0xa2, 0xb8, 0x5f, 0x6d, 0xd5, 0x64, 0x31, 0x52, 0x2c, 0xe3, 0x20, 0x17, |
| 0xeb, 0x18, 0xb1, 0x2b, 0x07, 0x08, 0x78, 0x6e, 0xc3, 0x3f, 0xc0, 0xaa, 0x47, 0x31, 0xe2, 0xa2, |
| 0xe9, 0xd5, 0x56, 0x6b, 0x61, 0x13, 0x46, 0x63, 0x37, 0xdb, 0x85, 0xa3, 0x4f, 0x9c, 0x92, 0x23, |
| 0x67, 0x13, 0xdc, 0x9a, 0xfa, 0x14, 0x36, 0xc1, 0x01, 0x35, 0xb0, 0x4a, 0x71, 0x4c, 0x06, 0xa2, |
| 0x75, 0x6b, 0xb9, 0x47, 0x7c, 0x77, 0xab, 0x60, 0x6d, 0xd4, 0x6b, 0xfd, 0x85, 0x02, 0x76, 0x16, |
| 0x0e, 0x05, 0x4b, 0x49, 0xc2, 0x30, 0x3c, 0x00, 0x5f, 0xcd, 0xc8, 0xe1, 0x62, 0x4a, 0x09, 0x2d, |
| 0x98, 0xab, 0x2d, 0x28, 0xf3, 0xa4, 0xa9, 0x67, 0x9c, 0x15, 0x83, 0xeb, 0x7c, 0x39, 0x2d, 0xd4, |
| 0x7e,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69, 0x9c, 0x2a, 0x17, 0x47, 0x25, 0x41, 0x40, 0x22, 0x94, 0x04, 0x06, 0xa1, 0x81, 0x19, |
| 0xe0, 0xa4, 0x58, 0x29, 0xe6, 0x38, 0xe4, 0xe2, 0xbf, 0x60, 0x47, 0x1a, 0xcf, 0xd4, 0xca, 0xa1, |
| 0x6d, 0x3f, 0x57, 0xeb, 0x87, 0x82, 0xd0, 0xf6, 0x99, 0x21, 0xcc, 0xdc, 0x3a, 0x6f, 0x1b, 0x65, |
| 0x60, 0x76, 0x27, 0x21, 0x3d, 0xdb, 0x67, 0xbd, 0x11, 0xa4, 0x77, 0xde, 0xee, 0x49, 0xc8, 0x5b, |
| 0x75, 0x57, 0x9c, 0x5b, 0x96, 0xed, 0x33, 0xcb, 0x1a, 0x81, 0x2c, 0xeb, 0xbc, 0x6d, 0x59, 0x12, |
| 0xd6, 0x5f, 0x2d, 0xf2, 0x6c, 0x7f, 0x08, 0x00, 0x00, 0xff, 0xff, 0xed, 0x02, 0xf8, 0x92, 0xac, |
| 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 |
| |
| // BiddingStrategyServiceClient is the client API for BiddingStrategyService service. |
| // |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| type BiddingStrategyServiceClient interface { |
| // Returns the requested bidding strategy in full detail. |
| GetBiddingStrategy(ctx context.Context, in *GetBiddingStrategyRequest, opts ...grpc.CallOption) (*resources.BiddingStrategy, error) |
| // Creates, updates, or removes bidding strategies. Operation statuses are |
| // returned. |
| MutateBiddingStrategies(ctx context.Context, in *MutateBiddingStrategiesRequest, opts ...grpc.CallOption) (*MutateBiddingStrategiesResponse, error) |
| } |
| |
| type biddingStrategyServiceClient struct { |
| cc grpc.ClientConnInterface |
| } |
| |
| func NewBiddingStrategyServiceClient(cc grpc.ClientConnInterface) BiddingStrategyServiceClient { |
| return &biddingStrategyServiceClient{cc} |
| } |
| |
| func (c *biddingStrategyServiceClient) GetBiddingStrategy(ctx context.Context, in *GetBiddingStrategyRequest, opts ...grpc.CallOption) (*resources.BiddingStrategy, error) { |
| out := new(resources.BiddingStrategy) |
| err := c.cc.Invoke(ctx, "/google.ads.googleads.v3.services.BiddingStrategyService/GetBiddingStrategy", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *biddingStrategyServiceClient) MutateBiddingStrategies(ctx context.Context, in *MutateBiddingStrategiesRequest, opts ...grpc.CallOption) (*MutateBiddingStrategiesResponse, error) { |
| out := new(MutateBiddingStrategiesResponse) |
| err := c.cc.Invoke(ctx, "/google.ads.googleads.v3.services.BiddingStrategyService/MutateBiddingStrategies", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // BiddingStrategyServiceServer is the server API for BiddingStrategyService service. |
| type BiddingStrategyServiceServer interface { |
| // Returns the requested bidding strategy in full detail. |
| GetBiddingStrategy(context.Context, *GetBiddingStrategyRequest) (*resources.BiddingStrategy, error) |
| // Creates, updates, or removes bidding strategies. Operation statuses are |
| // returned. |
| MutateBiddingStrategies(context.Context, *MutateBiddingStrategiesRequest) (*MutateBiddingStrategiesResponse, error) |
| } |
| |
| // UnimplementedBiddingStrategyServiceServer can be embedded to have forward compatible implementations. |
| type UnimplementedBiddingStrategyServiceServer struct { |
| } |
| |
| func (*UnimplementedBiddingStrategyServiceServer) GetBiddingStrategy(ctx context.Context, req *GetBiddingStrategyRequest) (*resources.BiddingStrategy, error) { |
| return nil, status1.Errorf(codes.Unimplemented, "method GetBiddingStrategy not implemented") |
| } |
| func (*UnimplementedBiddingStrategyServiceServer) MutateBiddingStrategies(ctx context.Context, req *MutateBiddingStrategiesRequest) (*MutateBiddingStrategiesResponse, error) { |
| return nil, status1.Errorf(codes.Unimplemented, "method MutateBiddingStrategies not implemented") |
| } |
| |
| func RegisterBiddingStrategyServiceServer(s *grpc.Server, srv BiddingStrategyServiceServer) { |
| s.RegisterService(&_BiddingStrategyService_serviceDesc, srv) |
| } |
| |
| func _BiddingStrategyService_GetBiddingStrategy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetBiddingStrategyRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(BiddingStrategyServiceServer).GetBiddingStrategy(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.ads.googleads.v3.services.BiddingStrategyService/GetBiddingStrategy", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(BiddingStrategyServiceServer).GetBiddingStrategy(ctx, req.(*GetBiddingStrategyRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _BiddingStrategyService_MutateBiddingStrategies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(MutateBiddingStrategiesRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(BiddingStrategyServiceServer).MutateBiddingStrategies(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.ads.googleads.v3.services.BiddingStrategyService/MutateBiddingStrategies", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(BiddingStrategyServiceServer).MutateBiddingStrategies(ctx, req.(*MutateBiddingStrategiesRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _BiddingStrategyService_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "google.ads.googleads.v3.services.BiddingStrategyService", |
| HandlerType: (*BiddingStrategyServiceServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "GetBiddingStrategy", |
| Handler: _BiddingStrategyService_GetBiddingStrategy_Handler, |
| }, |
| { |
| MethodName: "MutateBiddingStrategies", |
| Handler: _BiddingStrategyService_MutateBiddingStrategies_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: "google/ads/googleads/v3/services/bidding_strategy_service.proto", |
| } |