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