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