| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v2/services/keyword_plan_ad_group_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" |
| ) |
| |
| // 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 [KeywordPlanAdGroupService.GetKeywordPlanAdGroup][google.ads.googleads.v2.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_434211b86860564e, []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 (m *GetKeywordPlanAdGroupRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetKeywordPlanAdGroupRequest.Merge(m, 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.v2.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_434211b86860564e, []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 (m *MutateKeywordPlanAdGroupsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Merge(m, 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_434211b86860564e, []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 (m *KeywordPlanAdGroupOperation) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_KeywordPlanAdGroupOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. |
| func (*KeywordPlanAdGroupOperation) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*KeywordPlanAdGroupOperation_Create)(nil), |
| (*KeywordPlanAdGroupOperation_Update)(nil), |
| (*KeywordPlanAdGroupOperation_Remove)(nil), |
| } |
| } |
| |
| // 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_434211b86860564e, []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 (m *MutateKeywordPlanAdGroupsResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Merge(m, 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_434211b86860564e, []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 (m *MutateKeywordPlanAdGroupResult) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateKeywordPlanAdGroupResult.Merge(m, 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.v2.services.GetKeywordPlanAdGroupRequest") |
| proto.RegisterType((*MutateKeywordPlanAdGroupsRequest)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanAdGroupsRequest") |
| proto.RegisterType((*KeywordPlanAdGroupOperation)(nil), "google.ads.googleads.v2.services.KeywordPlanAdGroupOperation") |
| proto.RegisterType((*MutateKeywordPlanAdGroupsResponse)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanAdGroupsResponse") |
| proto.RegisterType((*MutateKeywordPlanAdGroupResult)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanAdGroupResult") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v2/services/keyword_plan_ad_group_service.proto", fileDescriptor_434211b86860564e) |
| } |
| |
| var fileDescriptor_434211b86860564e = []byte{ |
| // 741 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xdf, 0x6a, 0xd4, 0x4a, |
| 0x1c, 0xc7, 0x4f, 0xb2, 0x87, 0x9e, 0xd3, 0xd9, 0x9e, 0x23, 0x8c, 0x14, 0xb7, 0xdb, 0x52, 0xd7, |
| 0x58, 0xb0, 0xec, 0x45, 0x02, 0x91, 0xa2, 0xa4, 0xac, 0xb8, 0x5b, 0xdb, 0xad, 0x48, 0x6d, 0x49, |
| 0xa1, 0x17, 0x65, 0x25, 0x4c, 0x93, 0xe9, 0x12, 0x9a, 0x64, 0xe2, 0xcc, 0x64, 0xa5, 0x94, 0xde, |
| 0x08, 0x3e, 0x81, 0x6f, 0xa0, 0x77, 0xbe, 0x88, 0x50, 0xf0, 0xca, 0x57, 0xf0, 0x46, 0xaf, 0xbc, |
| 0xf0, 0x01, 0x64, 0x32, 0x99, 0xed, 0xdf, 0xec, 0x4a, 0x7b, 0xf7, 0xdb, 0x99, 0x6f, 0x3e, 0xbf, |
| 0xbf, 0xf3, 0x5b, 0xf0, 0xac, 0x4f, 0x48, 0x3f, 0xc2, 0x16, 0x0a, 0x98, 0x25, 0x4d, 0x61, 0x0d, |
| 0x6c, 0x8b, 0x61, 0x3a, 0x08, 0x7d, 0xcc, 0xac, 0x03, 0x7c, 0xf8, 0x86, 0xd0, 0xc0, 0x4b, 0x23, |
| 0x94, 0x78, 0x28, 0xf0, 0xfa, 0x94, 0x64, 0xa9, 0x57, 0x5c, 0x9b, 0x29, 0x25, 0x9c, 0xc0, 0x86, |
| 0xfc, 0xd4, 0x44, 0x01, 0x33, 0x87, 0x14, 0x73, 0x60, 0x9b, 0x8a, 0x52, 0x6f, 0x95, 0xf9, 0xa1, |
| 0x98, 0x91, 0x8c, 0x96, 0x3a, 0x92, 0x0e, 0xea, 0x73, 0xea, 0xf3, 0x34, 0xb4, 0x50, 0x92, 0x10, |
| 0x8e, 0x78, 0x48, 0x12, 0x56, 0xdc, 0x16, 0xee, 0xad, 0xfc, 0xd7, 0x5e, 0xb6, 0x6f, 0xed, 0x87, |
| 0x38, 0x0a, 0xbc, 0x18, 0xb1, 0x83, 0x42, 0x71, 0xa7, 0x50, 0xd0, 0xd4, 0xb7, 0x18, 0x47, 0x3c, |
| 0x63, 0x17, 0x2e, 0x04, 0xd8, 0x8f, 0x42, 0x9c, 0x70, 0x79, 0x61, 0xac, 0x80, 0xb9, 0x2e, 0xe6, |
|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 0x1d, 0xb5, 0x54, 0xea, 0x2b, 0x37, 0x62, 0xc8, 0xf9, 0x33, 0x56, 0xf2, 0x2c, |
| 0x5b, 0xc6, 0x63, 0x91, 0xe5, 0x69, 0x5a, 0x47, 0x67, 0xd6, 0x55, 0xab, 0x79, 0x7c, 0x55, 0x92, |
| 0x4e, 0x9c, 0xc3, 0x1d, 0xad, 0x59, 0x9f, 0x3d, 0x69, 0xd7, 0x4e, 0x03, 0x28, 0xac, 0x34, 0x64, |
| 0xa6, 0x4f, 0xe2, 0xce, 0x3b, 0x1d, 0x2c, 0xf8, 0x24, 0x1e, 0x1b, 0x6c, 0x67, 0xbe, 0x74, 0x38, |
| 0xb6, 0xc4, 0xca, 0xd8, 0xd2, 0x76, 0xd7, 0x0b, 0x46, 0x9f, 0x44, 0x28, 0xe9, 0x9b, 0x84, 0xf6, |
| 0xad, 0x3e, 0x4e, 0xf2, 0x85, 0x62, 0x9d, 0x7a, 0x2d, 0xff, 0xa3, 0x5b, 0x56, 0xc6, 0x07, 0xbd, |
| 0xd2, 0x6d, 0xb7, 0x3f, 0xe9, 0x8d, 0xae, 0x04, 0xb6, 0x03, 0x66, 0x4a, 0x53, 0x58, 0x3b, 0xb6, |
| 0x59, 0x38, 0x66, 0x27, 0x4a, 0xd2, 0x6b, 0x07, 0xac, 0x37, 0x94, 0xf4, 0x76, 0xec, 0x9e, 0x92, |
| 0xfc, 0xd0, 0x17, 0xe4, 0xb9, 0xe3, 0xb4, 0x03, 0xe6, 0x38, 0x43, 0x91, 0xe3, 0xec, 0xd8, 0x8e, |
| 0xa3, 0x64, 0x7b, 0x13, 0x79, 0x9c, 0x0f, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x77, 0xf5, 0xd7, |
| 0x56, 0x8f, 0x07, 0x00, 0x00, |
| } |
| |
| // 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.v2.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.v2.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.v2.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.v2.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.v2.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/v2/services/keyword_plan_ad_group_service.proto", |
| } |