1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v3/services/keyword_plan_ad_group_service.proto
3
4package services
5
6import (
7	context "context"
8	fmt "fmt"
9	math "math"
10
11	proto "github.com/golang/protobuf/proto"
12	resources "google.golang.org/genproto/googleapis/ads/googleads/v3/resources"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14	status "google.golang.org/genproto/googleapis/rpc/status"
15	field_mask "google.golang.org/genproto/protobuf/field_mask"
16	grpc "google.golang.org/grpc"
17	codes "google.golang.org/grpc/codes"
18	status1 "google.golang.org/grpc/status"
19)
20
21// Reference imports to suppress errors if they are not otherwise used.
22var _ = proto.Marshal
23var _ = fmt.Errorf
24var _ = math.Inf
25
26// This is a compile-time assertion to ensure that this generated file
27// is compatible with the proto package it is being compiled against.
28// A compilation error at this line likely means your copy of the
29// proto package needs to be updated.
30const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
31
32// Request message for [KeywordPlanAdGroupService.GetKeywordPlanAdGroup][google.ads.googleads.v3.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup].
33type GetKeywordPlanAdGroupRequest struct {
34	// Required. The resource name of the Keyword Plan ad group to fetch.
35	ResourceName         string   `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
36	XXX_NoUnkeyedLiteral struct{} `json:"-"`
37	XXX_unrecognized     []byte   `json:"-"`
38	XXX_sizecache        int32    `json:"-"`
39}
40
41func (m *GetKeywordPlanAdGroupRequest) Reset()         { *m = GetKeywordPlanAdGroupRequest{} }
42func (m *GetKeywordPlanAdGroupRequest) String() string { return proto.CompactTextString(m) }
43func (*GetKeywordPlanAdGroupRequest) ProtoMessage()    {}
44func (*GetKeywordPlanAdGroupRequest) Descriptor() ([]byte, []int) {
45	return fileDescriptor_276f25299ec71286, []int{0}
46}
47
48func (m *GetKeywordPlanAdGroupRequest) XXX_Unmarshal(b []byte) error {
49	return xxx_messageInfo_GetKeywordPlanAdGroupRequest.Unmarshal(m, b)
50}
51func (m *GetKeywordPlanAdGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
52	return xxx_messageInfo_GetKeywordPlanAdGroupRequest.Marshal(b, m, deterministic)
53}
54func (m *GetKeywordPlanAdGroupRequest) XXX_Merge(src proto.Message) {
55	xxx_messageInfo_GetKeywordPlanAdGroupRequest.Merge(m, src)
56}
57func (m *GetKeywordPlanAdGroupRequest) XXX_Size() int {
58	return xxx_messageInfo_GetKeywordPlanAdGroupRequest.Size(m)
59}
60func (m *GetKeywordPlanAdGroupRequest) XXX_DiscardUnknown() {
61	xxx_messageInfo_GetKeywordPlanAdGroupRequest.DiscardUnknown(m)
62}
63
64var xxx_messageInfo_GetKeywordPlanAdGroupRequest proto.InternalMessageInfo
65
66func (m *GetKeywordPlanAdGroupRequest) GetResourceName() string {
67	if m != nil {
68		return m.ResourceName
69	}
70	return ""
71}
72
73// Request message for [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v3.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups].
74type MutateKeywordPlanAdGroupsRequest struct {
75	// Required. The ID of the customer whose Keyword Plan ad groups are being modified.
76	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
77	// Required. The list of operations to perform on individual Keyword Plan ad groups.
78	Operations []*KeywordPlanAdGroupOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"`
79	// If true, successful operations will be carried out and invalid
80	// operations will return errors. If false, all operations will be carried
81	// out in one transaction if and only if they are all valid.
82	// Default is false.
83	PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"`
84	// If true, the request is validated but not executed. Only errors are
85	// returned, not results.
86	ValidateOnly         bool     `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
87	XXX_NoUnkeyedLiteral struct{} `json:"-"`
88	XXX_unrecognized     []byte   `json:"-"`
89	XXX_sizecache        int32    `json:"-"`
90}
91
92func (m *MutateKeywordPlanAdGroupsRequest) Reset()         { *m = MutateKeywordPlanAdGroupsRequest{} }
93func (m *MutateKeywordPlanAdGroupsRequest) String() string { return proto.CompactTextString(m) }
94func (*MutateKeywordPlanAdGroupsRequest) ProtoMessage()    {}
95func (*MutateKeywordPlanAdGroupsRequest) Descriptor() ([]byte, []int) {
96	return fileDescriptor_276f25299ec71286, []int{1}
97}
98
99func (m *MutateKeywordPlanAdGroupsRequest) XXX_Unmarshal(b []byte) error {
100	return xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Unmarshal(m, b)
101}
102func (m *MutateKeywordPlanAdGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
103	return xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Marshal(b, m, deterministic)
104}
105func (m *MutateKeywordPlanAdGroupsRequest) XXX_Merge(src proto.Message) {
106	xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Merge(m, src)
107}
108func (m *MutateKeywordPlanAdGroupsRequest) XXX_Size() int {
109	return xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Size(m)
110}
111func (m *MutateKeywordPlanAdGroupsRequest) XXX_DiscardUnknown() {
112	xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.DiscardUnknown(m)
113}
114
115var xxx_messageInfo_MutateKeywordPlanAdGroupsRequest proto.InternalMessageInfo
116
117func (m *MutateKeywordPlanAdGroupsRequest) GetCustomerId() string {
118	if m != nil {
119		return m.CustomerId
120	}
121	return ""
122}
123
124func (m *MutateKeywordPlanAdGroupsRequest) GetOperations() []*KeywordPlanAdGroupOperation {
125	if m != nil {
126		return m.Operations
127	}
128	return nil
129}
130
131func (m *MutateKeywordPlanAdGroupsRequest) GetPartialFailure() bool {
132	if m != nil {
133		return m.PartialFailure
134	}
135	return false
136}
137
138func (m *MutateKeywordPlanAdGroupsRequest) GetValidateOnly() bool {
139	if m != nil {
140		return m.ValidateOnly
141	}
142	return false
143}
144
145// A single operation (create, update, remove) on a Keyword Plan ad group.
146type KeywordPlanAdGroupOperation struct {
147	// The FieldMask that determines which resource fields are modified in an
148	// update.
149	UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
150	// The mutate operation.
151	//
152	// Types that are valid to be assigned to Operation:
153	//	*KeywordPlanAdGroupOperation_Create
154	//	*KeywordPlanAdGroupOperation_Update
155	//	*KeywordPlanAdGroupOperation_Remove
156	Operation            isKeywordPlanAdGroupOperation_Operation `protobuf_oneof:"operation"`
157	XXX_NoUnkeyedLiteral struct{}                                `json:"-"`
158	XXX_unrecognized     []byte                                  `json:"-"`
159	XXX_sizecache        int32                                   `json:"-"`
160}
161
162func (m *KeywordPlanAdGroupOperation) Reset()         { *m = KeywordPlanAdGroupOperation{} }
163func (m *KeywordPlanAdGroupOperation) String() string { return proto.CompactTextString(m) }
164func (*KeywordPlanAdGroupOperation) ProtoMessage()    {}
165func (*KeywordPlanAdGroupOperation) Descriptor() ([]byte, []int) {
166	return fileDescriptor_276f25299ec71286, []int{2}
167}
168
169func (m *KeywordPlanAdGroupOperation) XXX_Unmarshal(b []byte) error {
170	return xxx_messageInfo_KeywordPlanAdGroupOperation.Unmarshal(m, b)
171}
172func (m *KeywordPlanAdGroupOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
173	return xxx_messageInfo_KeywordPlanAdGroupOperation.Marshal(b, m, deterministic)
174}
175func (m *KeywordPlanAdGroupOperation) XXX_Merge(src proto.Message) {
176	xxx_messageInfo_KeywordPlanAdGroupOperation.Merge(m, src)
177}
178func (m *KeywordPlanAdGroupOperation) XXX_Size() int {
179	return xxx_messageInfo_KeywordPlanAdGroupOperation.Size(m)
180}
181func (m *KeywordPlanAdGroupOperation) XXX_DiscardUnknown() {
182	xxx_messageInfo_KeywordPlanAdGroupOperation.DiscardUnknown(m)
183}
184
185var xxx_messageInfo_KeywordPlanAdGroupOperation proto.InternalMessageInfo
186
187func (m *KeywordPlanAdGroupOperation) GetUpdateMask() *field_mask.FieldMask {
188	if m != nil {
189		return m.UpdateMask
190	}
191	return nil
192}
193
194type isKeywordPlanAdGroupOperation_Operation interface {
195	isKeywordPlanAdGroupOperation_Operation()
196}
197
198type KeywordPlanAdGroupOperation_Create struct {
199	Create *resources.KeywordPlanAdGroup `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
200}
201
202type KeywordPlanAdGroupOperation_Update struct {
203	Update *resources.KeywordPlanAdGroup `protobuf:"bytes,2,opt,name=update,proto3,oneof"`
204}
205
206type KeywordPlanAdGroupOperation_Remove struct {
207	Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"`
208}
209
210func (*KeywordPlanAdGroupOperation_Create) isKeywordPlanAdGroupOperation_Operation() {}
211
212func (*KeywordPlanAdGroupOperation_Update) isKeywordPlanAdGroupOperation_Operation() {}
213
214func (*KeywordPlanAdGroupOperation_Remove) isKeywordPlanAdGroupOperation_Operation() {}
215
216func (m *KeywordPlanAdGroupOperation) GetOperation() isKeywordPlanAdGroupOperation_Operation {
217	if m != nil {
218		return m.Operation
219	}
220	return nil
221}
222
223func (m *KeywordPlanAdGroupOperation) GetCreate() *resources.KeywordPlanAdGroup {
224	if x, ok := m.GetOperation().(*KeywordPlanAdGroupOperation_Create); ok {
225		return x.Create
226	}
227	return nil
228}
229
230func (m *KeywordPlanAdGroupOperation) GetUpdate() *resources.KeywordPlanAdGroup {
231	if x, ok := m.GetOperation().(*KeywordPlanAdGroupOperation_Update); ok {
232		return x.Update
233	}
234	return nil
235}
236
237func (m *KeywordPlanAdGroupOperation) GetRemove() string {
238	if x, ok := m.GetOperation().(*KeywordPlanAdGroupOperation_Remove); ok {
239		return x.Remove
240	}
241	return ""
242}
243
244// XXX_OneofWrappers is for the internal use of the proto package.
245func (*KeywordPlanAdGroupOperation) XXX_OneofWrappers() []interface{} {
246	return []interface{}{
247		(*KeywordPlanAdGroupOperation_Create)(nil),
248		(*KeywordPlanAdGroupOperation_Update)(nil),
249		(*KeywordPlanAdGroupOperation_Remove)(nil),
250	}
251}
252
253// Response message for a Keyword Plan ad group mutate.
254type MutateKeywordPlanAdGroupsResponse struct {
255	// Errors that pertain to operation failures in the partial failure mode.
256	// Returned only when partial_failure = true and all errors occur inside the
257	// operations. If any errors occur outside the operations (e.g. auth errors),
258	// we return an RPC level error.
259	PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"`
260	// All results for the mutate.
261	Results              []*MutateKeywordPlanAdGroupResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
262	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
263	XXX_unrecognized     []byte                            `json:"-"`
264	XXX_sizecache        int32                             `json:"-"`
265}
266
267func (m *MutateKeywordPlanAdGroupsResponse) Reset()         { *m = MutateKeywordPlanAdGroupsResponse{} }
268func (m *MutateKeywordPlanAdGroupsResponse) String() string { return proto.CompactTextString(m) }
269func (*MutateKeywordPlanAdGroupsResponse) ProtoMessage()    {}
270func (*MutateKeywordPlanAdGroupsResponse) Descriptor() ([]byte, []int) {
271	return fileDescriptor_276f25299ec71286, []int{3}
272}
273
274func (m *MutateKeywordPlanAdGroupsResponse) XXX_Unmarshal(b []byte) error {
275	return xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Unmarshal(m, b)
276}
277func (m *MutateKeywordPlanAdGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
278	return xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Marshal(b, m, deterministic)
279}
280func (m *MutateKeywordPlanAdGroupsResponse) XXX_Merge(src proto.Message) {
281	xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Merge(m, src)
282}
283func (m *MutateKeywordPlanAdGroupsResponse) XXX_Size() int {
284	return xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Size(m)
285}
286func (m *MutateKeywordPlanAdGroupsResponse) XXX_DiscardUnknown() {
287	xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.DiscardUnknown(m)
288}
289
290var xxx_messageInfo_MutateKeywordPlanAdGroupsResponse proto.InternalMessageInfo
291
292func (m *MutateKeywordPlanAdGroupsResponse) GetPartialFailureError() *status.Status {
293	if m != nil {
294		return m.PartialFailureError
295	}
296	return nil
297}
298
299func (m *MutateKeywordPlanAdGroupsResponse) GetResults() []*MutateKeywordPlanAdGroupResult {
300	if m != nil {
301		return m.Results
302	}
303	return nil
304}
305
306// The result for the Keyword Plan ad group mutate.
307type MutateKeywordPlanAdGroupResult struct {
308	// Returned for successful operations.
309	ResourceName         string   `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
310	XXX_NoUnkeyedLiteral struct{} `json:"-"`
311	XXX_unrecognized     []byte   `json:"-"`
312	XXX_sizecache        int32    `json:"-"`
313}
314
315func (m *MutateKeywordPlanAdGroupResult) Reset()         { *m = MutateKeywordPlanAdGroupResult{} }
316func (m *MutateKeywordPlanAdGroupResult) String() string { return proto.CompactTextString(m) }
317func (*MutateKeywordPlanAdGroupResult) ProtoMessage()    {}
318func (*MutateKeywordPlanAdGroupResult) Descriptor() ([]byte, []int) {
319	return fileDescriptor_276f25299ec71286, []int{4}
320}
321
322func (m *MutateKeywordPlanAdGroupResult) XXX_Unmarshal(b []byte) error {
323	return xxx_messageInfo_MutateKeywordPlanAdGroupResult.Unmarshal(m, b)
324}
325func (m *MutateKeywordPlanAdGroupResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
326	return xxx_messageInfo_MutateKeywordPlanAdGroupResult.Marshal(b, m, deterministic)
327}
328func (m *MutateKeywordPlanAdGroupResult) XXX_Merge(src proto.Message) {
329	xxx_messageInfo_MutateKeywordPlanAdGroupResult.Merge(m, src)
330}
331func (m *MutateKeywordPlanAdGroupResult) XXX_Size() int {
332	return xxx_messageInfo_MutateKeywordPlanAdGroupResult.Size(m)
333}
334func (m *MutateKeywordPlanAdGroupResult) XXX_DiscardUnknown() {
335	xxx_messageInfo_MutateKeywordPlanAdGroupResult.DiscardUnknown(m)
336}
337
338var xxx_messageInfo_MutateKeywordPlanAdGroupResult proto.InternalMessageInfo
339
340func (m *MutateKeywordPlanAdGroupResult) GetResourceName() string {
341	if m != nil {
342		return m.ResourceName
343	}
344	return ""
345}
346
347func init() {
348	proto.RegisterType((*GetKeywordPlanAdGroupRequest)(nil), "google.ads.googleads.v3.services.GetKeywordPlanAdGroupRequest")
349	proto.RegisterType((*MutateKeywordPlanAdGroupsRequest)(nil), "google.ads.googleads.v3.services.MutateKeywordPlanAdGroupsRequest")
350	proto.RegisterType((*KeywordPlanAdGroupOperation)(nil), "google.ads.googleads.v3.services.KeywordPlanAdGroupOperation")
351	proto.RegisterType((*MutateKeywordPlanAdGroupsResponse)(nil), "google.ads.googleads.v3.services.MutateKeywordPlanAdGroupsResponse")
352	proto.RegisterType((*MutateKeywordPlanAdGroupResult)(nil), "google.ads.googleads.v3.services.MutateKeywordPlanAdGroupResult")
353}
354
355func init() {
356	proto.RegisterFile("google/ads/googleads/v3/services/keyword_plan_ad_group_service.proto", fileDescriptor_276f25299ec71286)
357}
358
359var fileDescriptor_276f25299ec71286 = []byte{
360	// 803 bytes of a gzipped FileDescriptorProto
361	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcf, 0x6b, 0xe3, 0x46,
362	0x14, 0xae, 0xe4, 0x90, 0x36, 0xe3, 0xa4, 0x85, 0x29, 0x69, 0x1d, 0x27, 0xa4, 0xae, 0x1a, 0x68,
363	0x70, 0x5b, 0x09, 0x6c, 0x42, 0x8b, 0x82, 0x4b, 0xe5, 0x36, 0x71, 0xca, 0x92, 0x4d, 0x50, 0x20,
364	0x2c, 0xc1, 0x20, 0xc6, 0xd2, 0xc4, 0x2b, 0x22, 0x69, 0xb4, 0x33, 0x92, 0x77, 0x43, 0xc8, 0x25,
365	0xb0, 0x7f, 0xc1, 0x9e, 0xf7, 0xb2, 0x7b, 0xdb, 0x7f, 0x64, 0x21, 0xd7, 0xbd, 0x05, 0x16, 0x72,
366	0xd8, 0xd3, 0xfe, 0x09, 0x39, 0x2d, 0xd2, 0x68, 0xfc, 0x23, 0xb1, 0x6c, 0x48, 0x6e, 0xcf, 0xf3,
367	0x3e, 0x7d, 0xdf, 0x7c, 0xef, 0xbd, 0x79, 0x06, 0xff, 0x75, 0x09, 0xe9, 0x7a, 0x58, 0x43, 0x0e,
368	0xd3, 0x78, 0x98, 0x44, 0xbd, 0xba, 0xc6, 0x30, 0xed, 0xb9, 0x36, 0x66, 0xda, 0x09, 0x3e, 0x7d,
369	0x4e, 0xa8, 0x63, 0x85, 0x1e, 0x0a, 0x2c, 0xe4, 0x58, 0x5d, 0x4a, 0xe2, 0xd0, 0xca, 0xd2, 0x6a,
370	0x48, 0x49, 0x44, 0x60, 0x85, 0x7f, 0xaa, 0x22, 0x87, 0xa9, 0x7d, 0x16, 0xb5, 0x57, 0x57, 0x05,
371	0x4b, 0xb9, 0x91, 0xa7, 0x43, 0x31, 0x23, 0x31, 0xcd, 0x15, 0xe2, 0x02, 0xe5, 0x15, 0xf1, 0x79,
372	0xe8, 0x6a, 0x28, 0x08, 0x48, 0x84, 0x22, 0x97, 0x04, 0x2c, 0xcb, 0xfe, 0x38, 0x94, 0xb5, 0x3d,
373	0x17, 0x07, 0x51, 0x96, 0xf8, 0x69, 0x28, 0x71, 0xec, 0x62, 0xcf, 0xb1, 0x3a, 0xf8, 0x29, 0xea,
374	0xb9, 0x84, 0x66, 0x80, 0xa5, 0x21, 0x80, 0xb8, 0x49, 0x96, 0xca, 0x3c, 0x69, 0xe9, 0xaf, 0x4e,
375	0x7c, 0x9c, 0x11, 0xf8, 0x88, 0x9d, 0xdc, 0x92, 0xa5, 0xa1, 0xad, 0xb1, 0x08, 0x45, 0x71, 0x76,
376	0x1f, 0xe5, 0x05, 0x58, 0x69, 0xe1, 0x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, 0x29, 0x8a, 0xb5, 0xb2, 0xb0,
388	0x24, 0xfa, 0xac, 0x6e, 0x27, 0x7d, 0xde, 0x45, 0xec, 0xc4, 0x04, 0x1c, 0x9e, 0xc4, 0x70, 0x0f,
389	0xcc, 0xda, 0x14, 0xa3, 0x88, 0x37, 0xab, 0x58, 0xdb, 0xc8, 0x2d, 0x45, 0x7f, 0xa2, 0xc7, 0xd4,
390	0x62, 0xe7, 0x2b, 0x33, 0xa3, 0x49, 0x08, 0x39, 0x7d, 0x49, 0x7e, 0x20, 0x21, 0xa7, 0x81, 0x25,
391	0x30, 0x4b, 0xb1, 0x4f, 0x7a, 0xbc, 0x86, 0x73, 0x49, 0x86, 0xff, 0x6e, 0x16, 0xc1, 0x5c, 0xbf,
392	0xe8, 0xca, 0x7b, 0x09, 0xfc, 0x3c, 0x61, 0x44, 0x58, 0x48, 0x02, 0x86, 0xe1, 0x36, 0x58, 0xbc,
393	0xd5, 0x19, 0x0b, 0x53, 0x4a, 0x68, 0xca, 0x5d, 0xac, 0x41, 0x71, 0x59, 0x1a, 0xda, 0xea, 0x41,
394	0x3a, 0xfb, 0xe6, 0xf7, 0xa3, 0x3d, 0xdb, 0x4a, 0xe0, 0xf0, 0x08, 0x7c, 0x4d, 0x31, 0x8b, 0xbd,
395	0x48, 0x8c, 0xd0, 0x3f, 0xd3, 0x47, 0x28, 0xef, 0x76, 0x66, 0x4a, 0x64, 0x0a, 0x42, 0x65, 0x0b,
396	0xac, 0x4e, 0x86, 0x26, 0x63, 0x33, 0xe6, 0xa1, 0x8d, 0xbe, 0x99, 0xda, 0xeb, 0x19, 0xb0, 0x74,
397	0x97, 0xe1, 0x80, 0xdf, 0x06, 0x7e, 0x94, 0xc0, 0xe2, 0xd8, 0xc7, 0x0c, 0xff, 0x9e, 0xee, 0x64,
398	0xd2, 0x16, 0x28, 0xdf, 0xaf, 0xe1, 0xca, 0xee, 0x95, 0x31, 0x6a, 0xea, 0xe2, 0xc3, 0xa7, 0x57,
399	0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0x7b, 0xd6, 0xbf, 0x04, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x8d, 0xac, 0x16, 0x33,
411	0x08, 0x00, 0x00,
412}
413
414// Reference imports to suppress errors if they are not otherwise used.
415var _ context.Context
416var _ grpc.ClientConnInterface
417
418// This is a compile-time assertion to ensure that this generated file
419// is compatible with the grpc package it is being compiled against.
420const _ = grpc.SupportPackageIsVersion6
421
422// KeywordPlanAdGroupServiceClient is the client API for KeywordPlanAdGroupService service.
423//
424// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
425type KeywordPlanAdGroupServiceClient interface {
426	// Returns the requested Keyword Plan ad group in full detail.
427	GetKeywordPlanAdGroup(ctx context.Context, in *GetKeywordPlanAdGroupRequest, opts ...grpc.CallOption) (*resources.KeywordPlanAdGroup, error)
428	// Creates, updates, or removes Keyword Plan ad groups. Operation statuses are
429	// returned.
430	MutateKeywordPlanAdGroups(ctx context.Context, in *MutateKeywordPlanAdGroupsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanAdGroupsResponse, error)
431}
432
433type keywordPlanAdGroupServiceClient struct {
434	cc grpc.ClientConnInterface
435}
436
437func NewKeywordPlanAdGroupServiceClient(cc grpc.ClientConnInterface) KeywordPlanAdGroupServiceClient {
438	return &keywordPlanAdGroupServiceClient{cc}
439}
440
441func (c *keywordPlanAdGroupServiceClient) GetKeywordPlanAdGroup(ctx context.Context, in *GetKeywordPlanAdGroupRequest, opts ...grpc.CallOption) (*resources.KeywordPlanAdGroup, error) {
442	out := new(resources.KeywordPlanAdGroup)
443	err := c.cc.Invoke(ctx, "/google.ads.googleads.v3.services.KeywordPlanAdGroupService/GetKeywordPlanAdGroup", in, out, opts...)
444	if err != nil {
445		return nil, err
446	}
447	return out, nil
448}
449
450func (c *keywordPlanAdGroupServiceClient) MutateKeywordPlanAdGroups(ctx context.Context, in *MutateKeywordPlanAdGroupsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanAdGroupsResponse, error) {
451	out := new(MutateKeywordPlanAdGroupsResponse)
452	err := c.cc.Invoke(ctx, "/google.ads.googleads.v3.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups", in, out, opts...)
453	if err != nil {
454		return nil, err
455	}
456	return out, nil
457}
458
459// KeywordPlanAdGroupServiceServer is the server API for KeywordPlanAdGroupService service.
460type KeywordPlanAdGroupServiceServer interface {
461	// Returns the requested Keyword Plan ad group in full detail.
462	GetKeywordPlanAdGroup(context.Context, *GetKeywordPlanAdGroupRequest) (*resources.KeywordPlanAdGroup, error)
463	// Creates, updates, or removes Keyword Plan ad groups. Operation statuses are
464	// returned.
465	MutateKeywordPlanAdGroups(context.Context, *MutateKeywordPlanAdGroupsRequest) (*MutateKeywordPlanAdGroupsResponse, error)
466}
467
468// UnimplementedKeywordPlanAdGroupServiceServer can be embedded to have forward compatible implementations.
469type UnimplementedKeywordPlanAdGroupServiceServer struct {
470}
471
472func (*UnimplementedKeywordPlanAdGroupServiceServer) GetKeywordPlanAdGroup(ctx context.Context, req *GetKeywordPlanAdGroupRequest) (*resources.KeywordPlanAdGroup, error) {
473	return nil, status1.Errorf(codes.Unimplemented, "method GetKeywordPlanAdGroup not implemented")
474}
475func (*UnimplementedKeywordPlanAdGroupServiceServer) MutateKeywordPlanAdGroups(ctx context.Context, req *MutateKeywordPlanAdGroupsRequest) (*MutateKeywordPlanAdGroupsResponse, error) {
476	return nil, status1.Errorf(codes.Unimplemented, "method MutateKeywordPlanAdGroups not implemented")
477}
478
479func RegisterKeywordPlanAdGroupServiceServer(s *grpc.Server, srv KeywordPlanAdGroupServiceServer) {
480	s.RegisterService(&_KeywordPlanAdGroupService_serviceDesc, srv)
481}
482
483func _KeywordPlanAdGroupService_GetKeywordPlanAdGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
484	in := new(GetKeywordPlanAdGroupRequest)
485	if err := dec(in); err != nil {
486		return nil, err
487	}
488	if interceptor == nil {
489		return srv.(KeywordPlanAdGroupServiceServer).GetKeywordPlanAdGroup(ctx, in)
490	}
491	info := &grpc.UnaryServerInfo{
492		Server:     srv,
493		FullMethod: "/google.ads.googleads.v3.services.KeywordPlanAdGroupService/GetKeywordPlanAdGroup",
494	}
495	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
496		return srv.(KeywordPlanAdGroupServiceServer).GetKeywordPlanAdGroup(ctx, req.(*GetKeywordPlanAdGroupRequest))
497	}
498	return interceptor(ctx, in, info, handler)
499}
500
501func _KeywordPlanAdGroupService_MutateKeywordPlanAdGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
502	in := new(MutateKeywordPlanAdGroupsRequest)
503	if err := dec(in); err != nil {
504		return nil, err
505	}
506	if interceptor == nil {
507		return srv.(KeywordPlanAdGroupServiceServer).MutateKeywordPlanAdGroups(ctx, in)
508	}
509	info := &grpc.UnaryServerInfo{
510		Server:     srv,
511		FullMethod: "/google.ads.googleads.v3.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups",
512	}
513	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
514		return srv.(KeywordPlanAdGroupServiceServer).MutateKeywordPlanAdGroups(ctx, req.(*MutateKeywordPlanAdGroupsRequest))
515	}
516	return interceptor(ctx, in, info, handler)
517}
518
519var _KeywordPlanAdGroupService_serviceDesc = grpc.ServiceDesc{
520	ServiceName: "google.ads.googleads.v3.services.KeywordPlanAdGroupService",
521	HandlerType: (*KeywordPlanAdGroupServiceServer)(nil),
522	Methods: []grpc.MethodDesc{
523		{
524			MethodName: "GetKeywordPlanAdGroup",
525			Handler:    _KeywordPlanAdGroupService_GetKeywordPlanAdGroup_Handler,
526		},
527		{
528			MethodName: "MutateKeywordPlanAdGroups",
529			Handler:    _KeywordPlanAdGroupService_MutateKeywordPlanAdGroups_Handler,
530		},
531	},
532	Streams:  []grpc.StreamDesc{},
533	Metadata: "google/ads/googleads/v3/services/keyword_plan_ad_group_service.proto",
534}
535