1// Copyright 2020 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Code generated by protoc-gen-go. DO NOT EDIT.
16// versions:
17// 	protoc-gen-go v1.22.0
18// 	protoc        v3.11.2
19// source: google/ads/googleads/v1/services/keyword_plan_ad_group_service.proto
20
21package services
22
23import (
24	context "context"
25	reflect "reflect"
26	sync "sync"
27
28	proto "github.com/golang/protobuf/proto"
29	resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources"
30	_ "google.golang.org/genproto/googleapis/api/annotations"
31	status "google.golang.org/genproto/googleapis/rpc/status"
32	field_mask "google.golang.org/genproto/protobuf/field_mask"
33	grpc "google.golang.org/grpc"
34	codes "google.golang.org/grpc/codes"
35	status1 "google.golang.org/grpc/status"
36	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
37	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
38)
39
40const (
41	// Verify that this generated code is sufficiently up-to-date.
42	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
43	// Verify that runtime/protoimpl is sufficiently up-to-date.
44	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
45)
46
47// This is a compile-time assertion that a sufficiently up-to-date version
48// of the legacy proto package is being used.
49const _ = proto.ProtoPackageIsVersion4
50
51// Request message for [KeywordPlanAdGroupService.GetKeywordPlanAdGroup][google.ads.googleads.v1.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup].
52type GetKeywordPlanAdGroupRequest struct {
53	state         protoimpl.MessageState
54	sizeCache     protoimpl.SizeCache
55	unknownFields protoimpl.UnknownFields
56
57	// Required. The resource name of the Keyword Plan ad group to fetch.
58	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
59}
60
61func (x *GetKeywordPlanAdGroupRequest) Reset() {
62	*x = GetKeywordPlanAdGroupRequest{}
63	if protoimpl.UnsafeEnabled {
64		mi := &file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[0]
65		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
66		ms.StoreMessageInfo(mi)
67	}
68}
69
70func (x *GetKeywordPlanAdGroupRequest) String() string {
71	return protoimpl.X.MessageStringOf(x)
72}
73
74func (*GetKeywordPlanAdGroupRequest) ProtoMessage() {}
75
76func (x *GetKeywordPlanAdGroupRequest) ProtoReflect() protoreflect.Message {
77	mi := &file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[0]
78	if protoimpl.UnsafeEnabled && x != nil {
79		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
80		if ms.LoadMessageInfo() == nil {
81			ms.StoreMessageInfo(mi)
82		}
83		return ms
84	}
85	return mi.MessageOf(x)
86}
87
88// Deprecated: Use GetKeywordPlanAdGroupRequest.ProtoReflect.Descriptor instead.
89func (*GetKeywordPlanAdGroupRequest) Descriptor() ([]byte, []int) {
90	return file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDescGZIP(), []int{0}
91}
92
93func (x *GetKeywordPlanAdGroupRequest) GetResourceName() string {
94	if x != nil {
95		return x.ResourceName
96	}
97	return ""
98}
99
100// Request message for [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v1.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups].
101type MutateKeywordPlanAdGroupsRequest struct {
102	state         protoimpl.MessageState
103	sizeCache     protoimpl.SizeCache
104	unknownFields protoimpl.UnknownFields
105
106	// Required. The ID of the customer whose Keyword Plan ad groups are being modified.
107	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
108	// Required. The list of operations to perform on individual Keyword Plan ad groups.
109	Operations []*KeywordPlanAdGroupOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"`
110	// If true, successful operations will be carried out and invalid
111	// operations will return errors. If false, all operations will be carried
112	// out in one transaction if and only if they are all valid.
113	// Default is false.
114	PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"`
115	// If true, the request is validated but not executed. Only errors are
116	// returned, not results.
117	ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
118}
119
120func (x *MutateKeywordPlanAdGroupsRequest) Reset() {
121	*x = MutateKeywordPlanAdGroupsRequest{}
122	if protoimpl.UnsafeEnabled {
123		mi := &file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[1]
124		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
125		ms.StoreMessageInfo(mi)
126	}
127}
128
129func (x *MutateKeywordPlanAdGroupsRequest) String() string {
130	return protoimpl.X.MessageStringOf(x)
131}
132
133func (*MutateKeywordPlanAdGroupsRequest) ProtoMessage() {}
134
135func (x *MutateKeywordPlanAdGroupsRequest) ProtoReflect() protoreflect.Message {
136	mi := &file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[1]
137	if protoimpl.UnsafeEnabled && x != nil {
138		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
139		if ms.LoadMessageInfo() == nil {
140			ms.StoreMessageInfo(mi)
141		}
142		return ms
143	}
144	return mi.MessageOf(x)
145}
146
147// Deprecated: Use MutateKeywordPlanAdGroupsRequest.ProtoReflect.Descriptor instead.
148func (*MutateKeywordPlanAdGroupsRequest) Descriptor() ([]byte, []int) {
149	return file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDescGZIP(), []int{1}
150}
151
152func (x *MutateKeywordPlanAdGroupsRequest) GetCustomerId() string {
153	if x != nil {
154		return x.CustomerId
155	}
156	return ""
157}
158
159func (x *MutateKeywordPlanAdGroupsRequest) GetOperations() []*KeywordPlanAdGroupOperation {
160	if x != nil {
161		return x.Operations
162	}
163	return nil
164}
165
166func (x *MutateKeywordPlanAdGroupsRequest) GetPartialFailure() bool {
167	if x != nil {
168		return x.PartialFailure
169	}
170	return false
171}
172
173func (x *MutateKeywordPlanAdGroupsRequest) GetValidateOnly() bool {
174	if x != nil {
175		return x.ValidateOnly
176	}
177	return false
178}
179
180// A single operation (create, update, remove) on a Keyword Plan ad group.
181type KeywordPlanAdGroupOperation struct {
182	state         protoimpl.MessageState
183	sizeCache     protoimpl.SizeCache
184	unknownFields protoimpl.UnknownFields
185
186	// The FieldMask that determines which resource fields are modified in an
187	// update.
188	UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
189	// The mutate operation.
190	//
191	// Types that are assignable to Operation:
192	//	*KeywordPlanAdGroupOperation_Create
193	//	*KeywordPlanAdGroupOperation_Update
194	//	*KeywordPlanAdGroupOperation_Remove
195	Operation isKeywordPlanAdGroupOperation_Operation `protobuf_oneof:"operation"`
196}
197
198func (x *KeywordPlanAdGroupOperation) Reset() {
199	*x = KeywordPlanAdGroupOperation{}
200	if protoimpl.UnsafeEnabled {
201		mi := &file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[2]
202		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
203		ms.StoreMessageInfo(mi)
204	}
205}
206
207func (x *KeywordPlanAdGroupOperation) String() string {
208	return protoimpl.X.MessageStringOf(x)
209}
210
211func (*KeywordPlanAdGroupOperation) ProtoMessage() {}
212
213func (x *KeywordPlanAdGroupOperation) ProtoReflect() protoreflect.Message {
214	mi := &file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[2]
215	if protoimpl.UnsafeEnabled && x != nil {
216		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
217		if ms.LoadMessageInfo() == nil {
218			ms.StoreMessageInfo(mi)
219		}
220		return ms
221	}
222	return mi.MessageOf(x)
223}
224
225// Deprecated: Use KeywordPlanAdGroupOperation.ProtoReflect.Descriptor instead.
226func (*KeywordPlanAdGroupOperation) Descriptor() ([]byte, []int) {
227	return file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDescGZIP(), []int{2}
228}
229
230func (x *KeywordPlanAdGroupOperation) GetUpdateMask() *field_mask.FieldMask {
231	if x != nil {
232		return x.UpdateMask
233	}
234	return nil
235}
236
237func (m *KeywordPlanAdGroupOperation) GetOperation() isKeywordPlanAdGroupOperation_Operation {
238	if m != nil {
239		return m.Operation
240	}
241	return nil
242}
243
244func (x *KeywordPlanAdGroupOperation) GetCreate() *resources.KeywordPlanAdGroup {
245	if x, ok := x.GetOperation().(*KeywordPlanAdGroupOperation_Create); ok {
246		return x.Create
247	}
248	return nil
249}
250
251func (x *KeywordPlanAdGroupOperation) GetUpdate() *resources.KeywordPlanAdGroup {
252	if x, ok := x.GetOperation().(*KeywordPlanAdGroupOperation_Update); ok {
253		return x.Update
254	}
255	return nil
256}
257
258func (x *KeywordPlanAdGroupOperation) GetRemove() string {
259	if x, ok := x.GetOperation().(*KeywordPlanAdGroupOperation_Remove); ok {
260		return x.Remove
261	}
262	return ""
263}
264
265type isKeywordPlanAdGroupOperation_Operation interface {
266	isKeywordPlanAdGroupOperation_Operation()
267}
268
269type KeywordPlanAdGroupOperation_Create struct {
270	// Create operation: No resource name is expected for the new Keyword Plan
271	// ad group.
272	Create *resources.KeywordPlanAdGroup `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
273}
274
275type KeywordPlanAdGroupOperation_Update struct {
276	// Update operation: The Keyword Plan ad group is expected to have a valid
277	// resource name.
278	Update *resources.KeywordPlanAdGroup `protobuf:"bytes,2,opt,name=update,proto3,oneof"`
279}
280
281type KeywordPlanAdGroupOperation_Remove struct {
282	// Remove operation: A resource name for the removed Keyword Plan ad group
283	// is expected, in this format:
284	//
285	// `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`
286	Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"`
287}
288
289func (*KeywordPlanAdGroupOperation_Create) isKeywordPlanAdGroupOperation_Operation() {}
290
291func (*KeywordPlanAdGroupOperation_Update) isKeywordPlanAdGroupOperation_Operation() {}
292
293func (*KeywordPlanAdGroupOperation_Remove) isKeywordPlanAdGroupOperation_Operation() {}
294
295// Response message for a Keyword Plan ad group mutate.
296type MutateKeywordPlanAdGroupsResponse struct {
297	state         protoimpl.MessageState
298	sizeCache     protoimpl.SizeCache
299	unknownFields protoimpl.UnknownFields
300
301	// Errors that pertain to operation failures in the partial failure mode.
302	// Returned only when partial_failure = true and all errors occur inside the
303	// operations. If any errors occur outside the operations (e.g. auth errors),
304	// we return an RPC level error.
305	PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"`
306	// All results for the mutate.
307	Results []*MutateKeywordPlanAdGroupResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
308}
309
310func (x *MutateKeywordPlanAdGroupsResponse) Reset() {
311	*x = MutateKeywordPlanAdGroupsResponse{}
312	if protoimpl.UnsafeEnabled {
313		mi := &file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[3]
314		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
315		ms.StoreMessageInfo(mi)
316	}
317}
318
319func (x *MutateKeywordPlanAdGroupsResponse) String() string {
320	return protoimpl.X.MessageStringOf(x)
321}
322
323func (*MutateKeywordPlanAdGroupsResponse) ProtoMessage() {}
324
325func (x *MutateKeywordPlanAdGroupsResponse) ProtoReflect() protoreflect.Message {
326	mi := &file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[3]
327	if protoimpl.UnsafeEnabled && x != nil {
328		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
329		if ms.LoadMessageInfo() == nil {
330			ms.StoreMessageInfo(mi)
331		}
332		return ms
333	}
334	return mi.MessageOf(x)
335}
336
337// Deprecated: Use MutateKeywordPlanAdGroupsResponse.ProtoReflect.Descriptor instead.
338func (*MutateKeywordPlanAdGroupsResponse) Descriptor() ([]byte, []int) {
339	return file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDescGZIP(), []int{3}
340}
341
342func (x *MutateKeywordPlanAdGroupsResponse) GetPartialFailureError() *status.Status {
343	if x != nil {
344		return x.PartialFailureError
345	}
346	return nil
347}
348
349func (x *MutateKeywordPlanAdGroupsResponse) GetResults() []*MutateKeywordPlanAdGroupResult {
350	if x != nil {
351		return x.Results
352	}
353	return nil
354}
355
356// The result for the Keyword Plan ad group mutate.
357type MutateKeywordPlanAdGroupResult struct {
358	state         protoimpl.MessageState
359	sizeCache     protoimpl.SizeCache
360	unknownFields protoimpl.UnknownFields
361
362	// Returned for successful operations.
363	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
364}
365
366func (x *MutateKeywordPlanAdGroupResult) Reset() {
367	*x = MutateKeywordPlanAdGroupResult{}
368	if protoimpl.UnsafeEnabled {
369		mi := &file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[4]
370		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
371		ms.StoreMessageInfo(mi)
372	}
373}
374
375func (x *MutateKeywordPlanAdGroupResult) String() string {
376	return protoimpl.X.MessageStringOf(x)
377}
378
379func (*MutateKeywordPlanAdGroupResult) ProtoMessage() {}
380
381func (x *MutateKeywordPlanAdGroupResult) ProtoReflect() protoreflect.Message {
382	mi := &file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[4]
383	if protoimpl.UnsafeEnabled && x != nil {
384		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
385		if ms.LoadMessageInfo() == nil {
386			ms.StoreMessageInfo(mi)
387		}
388		return ms
389	}
390	return mi.MessageOf(x)
391}
392
393// Deprecated: Use MutateKeywordPlanAdGroupResult.ProtoReflect.Descriptor instead.
394func (*MutateKeywordPlanAdGroupResult) Descriptor() ([]byte, []int) {
395	return file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDescGZIP(), []int{4}
396}
397
398func (x *MutateKeywordPlanAdGroupResult) GetResourceName() string {
399	if x != nil {
400		return x.ResourceName
401	}
402	return ""
403}
404
405var File_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto protoreflect.FileDescriptor
406
407var file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDesc = []byte{
408	0x0a, 0x44, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f,
409	0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
410	0x65, 0x73, 0x2f, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x5f,
411	0x61, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
412	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
413	0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e,
414	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
415	0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76,
416	0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x6b, 0x65, 0x79, 0x77,
417	0x6f, 0x72, 0x64, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75,
418	0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
419	0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
420	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
421	0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,
422	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
423	0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
424	0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f,
425	0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67,
426	0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c,
427	0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f,
428	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
429	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x77,
430	0x6f, 0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,
431	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x58, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
432	0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41,
433	0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e,
434	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4b,
435	0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75,
436	0x70, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22,
437	0xfa, 0x01, 0x0a, 0x20, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72,
438	0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71,
439	0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72,
440	0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a,
441	0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x12, 0x62, 0x0a, 0x0a, 0x6f, 0x70,
442	0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d,
443	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
444	0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
445	0x73, 0x2e, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47,
446	0x72, 0x6f, 0x75, 0x70, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0,
447	0x41, 0x02, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27,
448	0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72,
449	0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
450	0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64,
451	0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c,
452	0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xa3, 0x02, 0x0a,
453	0x1b, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72,
454	0x6f, 0x75, 0x70, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b,
455	0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28,
456	0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
457	0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75,
458	0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x4f, 0x0a, 0x06, 0x63, 0x72, 0x65,
459	0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
460	0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73,
461	0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x4b, 0x65,
462	0x79, 0x77, 0x6f, 0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70,
463	0x48, 0x00, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x75, 0x70,
464	0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f,
465	0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64,
466	0x73, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x4b,
467	0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75,
468	0x70, 0x48, 0x00, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x06, 0x72,
469	0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x72,
470	0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
471	0x6f, 0x6e, 0x22, 0xc7, 0x01, 0x0a, 0x21, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79,
472	0x77, 0x6f, 0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73,
473	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x15, 0x70, 0x61, 0x72, 0x74,
474	0x69, 0x61, 0x6c, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f,
475	0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
476	0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x13, 0x70, 0x61, 0x72,
477	0x74, 0x69, 0x61, 0x6c, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72,
478	0x12, 0x5a, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
479	0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67,
480	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76,
481	0x69, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x77, 0x6f,
482	0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73,
483	0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x45, 0x0a, 0x1e,
484	0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x50, 0x6c, 0x61,
485	0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x23,
486	0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
487	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e,
488	0x61, 0x6d, 0x65, 0x32, 0x9d, 0x04, 0x0a, 0x19, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x50,
489	0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
490	0x65, 0x12, 0xdd, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64,
491	0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3e, 0x2e, 0x67, 0x6f,
492	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
493	0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x47,
494	0x65, 0x74, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47,
495	0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x67, 0x6f,
496	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
497	0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e,
498	0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f,
499	0x75, 0x70, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f, 0x76, 0x31, 0x2f,
500	0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x63,
501	0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x6b, 0x65, 0x79, 0x77, 0x6f,
502	0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a,
503	0x7d, 0xda, 0x41, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
504	0x65, 0x12, 0x82, 0x02, 0x0a, 0x19, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x77,
505	0x6f, 0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12,
506	0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f,
507	0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
508	0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64,
509	0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75,
510	0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73,
511	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65,
512	0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79,
513	0x77, 0x6f, 0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73,
514	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d,
515	0x22, 0x38, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f,
516	0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f,
517	0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f,
518	0x75, 0x70, 0x73, 0x3a, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x16,
519	0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x2c, 0x6f, 0x70, 0x65, 0x72,
520	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x1b, 0xca, 0x41, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
521	0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
522	0x63, 0x6f, 0x6d, 0x42, 0x85, 0x02, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
523	0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73,
524	0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x42, 0x1e, 0x4b, 0x65,
525	0x79, 0x77, 0x6f, 0x72, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70,
526	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48,
527	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
528	0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
529	0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
530	0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3b,
531	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x41, 0x41, 0xaa, 0x02,
532	0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x67,
533	0x6c, 0x65, 0x41, 0x64, 0x73, 0x2e, 0x56, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
534	0x73, 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x73, 0x5c, 0x47,
535	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x53, 0x65, 0x72, 0x76,
536	0x69, 0x63, 0x65, 0x73, 0xea, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41,
537	0x64, 0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x56,
538	0x31, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f,
539	0x74, 0x6f, 0x33,
540}
541
542var (
543	file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDescOnce sync.Once
544	file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDescData = file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDesc
545)
546
547func file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDescGZIP() []byte {
548	file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDescOnce.Do(func() {
549		file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDescData)
550	})
551	return file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDescData
552}
553
554var file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
555var file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_goTypes = []interface{}{
556	(*GetKeywordPlanAdGroupRequest)(nil),      // 0: google.ads.googleads.v1.services.GetKeywordPlanAdGroupRequest
557	(*MutateKeywordPlanAdGroupsRequest)(nil),  // 1: google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsRequest
558	(*KeywordPlanAdGroupOperation)(nil),       // 2: google.ads.googleads.v1.services.KeywordPlanAdGroupOperation
559	(*MutateKeywordPlanAdGroupsResponse)(nil), // 3: google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsResponse
560	(*MutateKeywordPlanAdGroupResult)(nil),    // 4: google.ads.googleads.v1.services.MutateKeywordPlanAdGroupResult
561	(*field_mask.FieldMask)(nil),              // 5: google.protobuf.FieldMask
562	(*resources.KeywordPlanAdGroup)(nil),      // 6: google.ads.googleads.v1.resources.KeywordPlanAdGroup
563	(*status.Status)(nil),                     // 7: google.rpc.Status
564}
565var file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_depIdxs = []int32{
566	2, // 0: google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsRequest.operations:type_name -> google.ads.googleads.v1.services.KeywordPlanAdGroupOperation
567	5, // 1: google.ads.googleads.v1.services.KeywordPlanAdGroupOperation.update_mask:type_name -> google.protobuf.FieldMask
568	6, // 2: google.ads.googleads.v1.services.KeywordPlanAdGroupOperation.create:type_name -> google.ads.googleads.v1.resources.KeywordPlanAdGroup
569	6, // 3: google.ads.googleads.v1.services.KeywordPlanAdGroupOperation.update:type_name -> google.ads.googleads.v1.resources.KeywordPlanAdGroup
570	7, // 4: google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsResponse.partial_failure_error:type_name -> google.rpc.Status
571	4, // 5: google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsResponse.results:type_name -> google.ads.googleads.v1.services.MutateKeywordPlanAdGroupResult
572	0, // 6: google.ads.googleads.v1.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup:input_type -> google.ads.googleads.v1.services.GetKeywordPlanAdGroupRequest
573	1, // 7: google.ads.googleads.v1.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups:input_type -> google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsRequest
574	6, // 8: google.ads.googleads.v1.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup:output_type -> google.ads.googleads.v1.resources.KeywordPlanAdGroup
575	3, // 9: google.ads.googleads.v1.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups:output_type -> google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsResponse
576	8, // [8:10] is the sub-list for method output_type
577	6, // [6:8] is the sub-list for method input_type
578	6, // [6:6] is the sub-list for extension type_name
579	6, // [6:6] is the sub-list for extension extendee
580	0, // [0:6] is the sub-list for field type_name
581}
582
583func init() { file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_init() }
584func file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_init() {
585	if File_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto != nil {
586		return
587	}
588	if !protoimpl.UnsafeEnabled {
589		file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
590			switch v := v.(*GetKeywordPlanAdGroupRequest); i {
591			case 0:
592				return &v.state
593			case 1:
594				return &v.sizeCache
595			case 2:
596				return &v.unknownFields
597			default:
598				return nil
599			}
600		}
601		file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
602			switch v := v.(*MutateKeywordPlanAdGroupsRequest); i {
603			case 0:
604				return &v.state
605			case 1:
606				return &v.sizeCache
607			case 2:
608				return &v.unknownFields
609			default:
610				return nil
611			}
612		}
613		file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
614			switch v := v.(*KeywordPlanAdGroupOperation); i {
615			case 0:
616				return &v.state
617			case 1:
618				return &v.sizeCache
619			case 2:
620				return &v.unknownFields
621			default:
622				return nil
623			}
624		}
625		file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
626			switch v := v.(*MutateKeywordPlanAdGroupsResponse); i {
627			case 0:
628				return &v.state
629			case 1:
630				return &v.sizeCache
631			case 2:
632				return &v.unknownFields
633			default:
634				return nil
635			}
636		}
637		file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
638			switch v := v.(*MutateKeywordPlanAdGroupResult); i {
639			case 0:
640				return &v.state
641			case 1:
642				return &v.sizeCache
643			case 2:
644				return &v.unknownFields
645			default:
646				return nil
647			}
648		}
649	}
650	file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes[2].OneofWrappers = []interface{}{
651		(*KeywordPlanAdGroupOperation_Create)(nil),
652		(*KeywordPlanAdGroupOperation_Update)(nil),
653		(*KeywordPlanAdGroupOperation_Remove)(nil),
654	}
655	type x struct{}
656	out := protoimpl.TypeBuilder{
657		File: protoimpl.DescBuilder{
658			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
659			RawDescriptor: file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDesc,
660			NumEnums:      0,
661			NumMessages:   5,
662			NumExtensions: 0,
663			NumServices:   1,
664		},
665		GoTypes:           file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_goTypes,
666		DependencyIndexes: file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_depIdxs,
667		MessageInfos:      file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_msgTypes,
668	}.Build()
669	File_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto = out.File
670	file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_rawDesc = nil
671	file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_goTypes = nil
672	file_google_ads_googleads_v1_services_keyword_plan_ad_group_service_proto_depIdxs = nil
673}
674
675// Reference imports to suppress errors if they are not otherwise used.
676var _ context.Context
677var _ grpc.ClientConnInterface
678
679// This is a compile-time assertion to ensure that this generated file
680// is compatible with the grpc package it is being compiled against.
681const _ = grpc.SupportPackageIsVersion6
682
683// KeywordPlanAdGroupServiceClient is the client API for KeywordPlanAdGroupService service.
684//
685// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
686type KeywordPlanAdGroupServiceClient interface {
687	// Returns the requested Keyword Plan ad group in full detail.
688	GetKeywordPlanAdGroup(ctx context.Context, in *GetKeywordPlanAdGroupRequest, opts ...grpc.CallOption) (*resources.KeywordPlanAdGroup, error)
689	// Creates, updates, or removes Keyword Plan ad groups. Operation statuses are
690	// returned.
691	MutateKeywordPlanAdGroups(ctx context.Context, in *MutateKeywordPlanAdGroupsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanAdGroupsResponse, error)
692}
693
694type keywordPlanAdGroupServiceClient struct {
695	cc grpc.ClientConnInterface
696}
697
698func NewKeywordPlanAdGroupServiceClient(cc grpc.ClientConnInterface) KeywordPlanAdGroupServiceClient {
699	return &keywordPlanAdGroupServiceClient{cc}
700}
701
702func (c *keywordPlanAdGroupServiceClient) GetKeywordPlanAdGroup(ctx context.Context, in *GetKeywordPlanAdGroupRequest, opts ...grpc.CallOption) (*resources.KeywordPlanAdGroup, error) {
703	out := new(resources.KeywordPlanAdGroup)
704	err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.KeywordPlanAdGroupService/GetKeywordPlanAdGroup", in, out, opts...)
705	if err != nil {
706		return nil, err
707	}
708	return out, nil
709}
710
711func (c *keywordPlanAdGroupServiceClient) MutateKeywordPlanAdGroups(ctx context.Context, in *MutateKeywordPlanAdGroupsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanAdGroupsResponse, error) {
712	out := new(MutateKeywordPlanAdGroupsResponse)
713	err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups", in, out, opts...)
714	if err != nil {
715		return nil, err
716	}
717	return out, nil
718}
719
720// KeywordPlanAdGroupServiceServer is the server API for KeywordPlanAdGroupService service.
721type KeywordPlanAdGroupServiceServer interface {
722	// Returns the requested Keyword Plan ad group in full detail.
723	GetKeywordPlanAdGroup(context.Context, *GetKeywordPlanAdGroupRequest) (*resources.KeywordPlanAdGroup, error)
724	// Creates, updates, or removes Keyword Plan ad groups. Operation statuses are
725	// returned.
726	MutateKeywordPlanAdGroups(context.Context, *MutateKeywordPlanAdGroupsRequest) (*MutateKeywordPlanAdGroupsResponse, error)
727}
728
729// UnimplementedKeywordPlanAdGroupServiceServer can be embedded to have forward compatible implementations.
730type UnimplementedKeywordPlanAdGroupServiceServer struct {
731}
732
733func (*UnimplementedKeywordPlanAdGroupServiceServer) GetKeywordPlanAdGroup(context.Context, *GetKeywordPlanAdGroupRequest) (*resources.KeywordPlanAdGroup, error) {
734	return nil, status1.Errorf(codes.Unimplemented, "method GetKeywordPlanAdGroup not implemented")
735}
736func (*UnimplementedKeywordPlanAdGroupServiceServer) MutateKeywordPlanAdGroups(context.Context, *MutateKeywordPlanAdGroupsRequest) (*MutateKeywordPlanAdGroupsResponse, error) {
737	return nil, status1.Errorf(codes.Unimplemented, "method MutateKeywordPlanAdGroups not implemented")
738}
739
740func RegisterKeywordPlanAdGroupServiceServer(s *grpc.Server, srv KeywordPlanAdGroupServiceServer) {
741	s.RegisterService(&_KeywordPlanAdGroupService_serviceDesc, srv)
742}
743
744func _KeywordPlanAdGroupService_GetKeywordPlanAdGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
745	in := new(GetKeywordPlanAdGroupRequest)
746	if err := dec(in); err != nil {
747		return nil, err
748	}
749	if interceptor == nil {
750		return srv.(KeywordPlanAdGroupServiceServer).GetKeywordPlanAdGroup(ctx, in)
751	}
752	info := &grpc.UnaryServerInfo{
753		Server:     srv,
754		FullMethod: "/google.ads.googleads.v1.services.KeywordPlanAdGroupService/GetKeywordPlanAdGroup",
755	}
756	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
757		return srv.(KeywordPlanAdGroupServiceServer).GetKeywordPlanAdGroup(ctx, req.(*GetKeywordPlanAdGroupRequest))
758	}
759	return interceptor(ctx, in, info, handler)
760}
761
762func _KeywordPlanAdGroupService_MutateKeywordPlanAdGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
763	in := new(MutateKeywordPlanAdGroupsRequest)
764	if err := dec(in); err != nil {
765		return nil, err
766	}
767	if interceptor == nil {
768		return srv.(KeywordPlanAdGroupServiceServer).MutateKeywordPlanAdGroups(ctx, in)
769	}
770	info := &grpc.UnaryServerInfo{
771		Server:     srv,
772		FullMethod: "/google.ads.googleads.v1.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups",
773	}
774	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
775		return srv.(KeywordPlanAdGroupServiceServer).MutateKeywordPlanAdGroups(ctx, req.(*MutateKeywordPlanAdGroupsRequest))
776	}
777	return interceptor(ctx, in, info, handler)
778}
779
780var _KeywordPlanAdGroupService_serviceDesc = grpc.ServiceDesc{
781	ServiceName: "google.ads.googleads.v1.services.KeywordPlanAdGroupService",
782	HandlerType: (*KeywordPlanAdGroupServiceServer)(nil),
783	Methods: []grpc.MethodDesc{
784		{
785			MethodName: "GetKeywordPlanAdGroup",
786			Handler:    _KeywordPlanAdGroupService_GetKeywordPlanAdGroup_Handler,
787		},
788		{
789			MethodName: "MutateKeywordPlanAdGroups",
790			Handler:    _KeywordPlanAdGroupService_MutateKeywordPlanAdGroups_Handler,
791		},
792	},
793	Streams:  []grpc.StreamDesc{},
794	Metadata: "google/ads/googleads/v1/services/keyword_plan_ad_group_service.proto",
795}
796