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/campaign_bid_modifier_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 [CampaignBidModifierService.GetCampaignBidModifier][google.ads.googleads.v1.services.CampaignBidModifierService.GetCampaignBidModifier]. 52type GetCampaignBidModifierRequest struct { 53 state protoimpl.MessageState 54 sizeCache protoimpl.SizeCache 55 unknownFields protoimpl.UnknownFields 56 57 // Required. The resource name of the campaign bid modifier to fetch. 58 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 59} 60 61func (x *GetCampaignBidModifierRequest) Reset() { 62 *x = GetCampaignBidModifierRequest{} 63 if protoimpl.UnsafeEnabled { 64 mi := &file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_msgTypes[0] 65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 66 ms.StoreMessageInfo(mi) 67 } 68} 69 70func (x *GetCampaignBidModifierRequest) String() string { 71 return protoimpl.X.MessageStringOf(x) 72} 73 74func (*GetCampaignBidModifierRequest) ProtoMessage() {} 75 76func (x *GetCampaignBidModifierRequest) ProtoReflect() protoreflect.Message { 77 mi := &file_google_ads_googleads_v1_services_campaign_bid_modifier_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 GetCampaignBidModifierRequest.ProtoReflect.Descriptor instead. 89func (*GetCampaignBidModifierRequest) Descriptor() ([]byte, []int) { 90 return file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDescGZIP(), []int{0} 91} 92 93func (x *GetCampaignBidModifierRequest) GetResourceName() string { 94 if x != nil { 95 return x.ResourceName 96 } 97 return "" 98} 99 100// Request message for [CampaignBidModifierService.MutateCampaignBidModifier][]. 101type MutateCampaignBidModifiersRequest struct { 102 state protoimpl.MessageState 103 sizeCache protoimpl.SizeCache 104 unknownFields protoimpl.UnknownFields 105 106 // Required. ID of the customer whose campaign bid modifiers 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 campaign bid modifiers. 109 Operations []*CampaignBidModifierOperation `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 *MutateCampaignBidModifiersRequest) Reset() { 121 *x = MutateCampaignBidModifiersRequest{} 122 if protoimpl.UnsafeEnabled { 123 mi := &file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_msgTypes[1] 124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 125 ms.StoreMessageInfo(mi) 126 } 127} 128 129func (x *MutateCampaignBidModifiersRequest) String() string { 130 return protoimpl.X.MessageStringOf(x) 131} 132 133func (*MutateCampaignBidModifiersRequest) ProtoMessage() {} 134 135func (x *MutateCampaignBidModifiersRequest) ProtoReflect() protoreflect.Message { 136 mi := &file_google_ads_googleads_v1_services_campaign_bid_modifier_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 MutateCampaignBidModifiersRequest.ProtoReflect.Descriptor instead. 148func (*MutateCampaignBidModifiersRequest) Descriptor() ([]byte, []int) { 149 return file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDescGZIP(), []int{1} 150} 151 152func (x *MutateCampaignBidModifiersRequest) GetCustomerId() string { 153 if x != nil { 154 return x.CustomerId 155 } 156 return "" 157} 158 159func (x *MutateCampaignBidModifiersRequest) GetOperations() []*CampaignBidModifierOperation { 160 if x != nil { 161 return x.Operations 162 } 163 return nil 164} 165 166func (x *MutateCampaignBidModifiersRequest) GetPartialFailure() bool { 167 if x != nil { 168 return x.PartialFailure 169 } 170 return false 171} 172 173func (x *MutateCampaignBidModifiersRequest) GetValidateOnly() bool { 174 if x != nil { 175 return x.ValidateOnly 176 } 177 return false 178} 179 180// A single operation (create, remove, update) on a campaign bid modifier. 181type CampaignBidModifierOperation struct { 182 state protoimpl.MessageState 183 sizeCache protoimpl.SizeCache 184 unknownFields protoimpl.UnknownFields 185 186 // FieldMask that determines which resource fields are modified in an update. 187 UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 188 // The mutate operation. 189 // 190 // Types that are assignable to Operation: 191 // *CampaignBidModifierOperation_Create 192 // *CampaignBidModifierOperation_Update 193 // *CampaignBidModifierOperation_Remove 194 Operation isCampaignBidModifierOperation_Operation `protobuf_oneof:"operation"` 195} 196 197func (x *CampaignBidModifierOperation) Reset() { 198 *x = CampaignBidModifierOperation{} 199 if protoimpl.UnsafeEnabled { 200 mi := &file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_msgTypes[2] 201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 202 ms.StoreMessageInfo(mi) 203 } 204} 205 206func (x *CampaignBidModifierOperation) String() string { 207 return protoimpl.X.MessageStringOf(x) 208} 209 210func (*CampaignBidModifierOperation) ProtoMessage() {} 211 212func (x *CampaignBidModifierOperation) ProtoReflect() protoreflect.Message { 213 mi := &file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_msgTypes[2] 214 if protoimpl.UnsafeEnabled && x != nil { 215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 216 if ms.LoadMessageInfo() == nil { 217 ms.StoreMessageInfo(mi) 218 } 219 return ms 220 } 221 return mi.MessageOf(x) 222} 223 224// Deprecated: Use CampaignBidModifierOperation.ProtoReflect.Descriptor instead. 225func (*CampaignBidModifierOperation) Descriptor() ([]byte, []int) { 226 return file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDescGZIP(), []int{2} 227} 228 229func (x *CampaignBidModifierOperation) GetUpdateMask() *field_mask.FieldMask { 230 if x != nil { 231 return x.UpdateMask 232 } 233 return nil 234} 235 236func (m *CampaignBidModifierOperation) GetOperation() isCampaignBidModifierOperation_Operation { 237 if m != nil { 238 return m.Operation 239 } 240 return nil 241} 242 243func (x *CampaignBidModifierOperation) GetCreate() *resources.CampaignBidModifier { 244 if x, ok := x.GetOperation().(*CampaignBidModifierOperation_Create); ok { 245 return x.Create 246 } 247 return nil 248} 249 250func (x *CampaignBidModifierOperation) GetUpdate() *resources.CampaignBidModifier { 251 if x, ok := x.GetOperation().(*CampaignBidModifierOperation_Update); ok { 252 return x.Update 253 } 254 return nil 255} 256 257func (x *CampaignBidModifierOperation) GetRemove() string { 258 if x, ok := x.GetOperation().(*CampaignBidModifierOperation_Remove); ok { 259 return x.Remove 260 } 261 return "" 262} 263 264type isCampaignBidModifierOperation_Operation interface { 265 isCampaignBidModifierOperation_Operation() 266} 267 268type CampaignBidModifierOperation_Create struct { 269 // Create operation: No resource name is expected for the new campaign bid 270 // modifier. 271 Create *resources.CampaignBidModifier `protobuf:"bytes,1,opt,name=create,proto3,oneof"` 272} 273 274type CampaignBidModifierOperation_Update struct { 275 // Update operation: The campaign bid modifier is expected to have a valid 276 // resource name. 277 Update *resources.CampaignBidModifier `protobuf:"bytes,2,opt,name=update,proto3,oneof"` 278} 279 280type CampaignBidModifierOperation_Remove struct { 281 // Remove operation: A resource name for the removed campaign bid modifier 282 // is expected, in this format: 283 // 284 // `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` 285 Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` 286} 287 288func (*CampaignBidModifierOperation_Create) isCampaignBidModifierOperation_Operation() {} 289 290func (*CampaignBidModifierOperation_Update) isCampaignBidModifierOperation_Operation() {} 291 292func (*CampaignBidModifierOperation_Remove) isCampaignBidModifierOperation_Operation() {} 293 294// Response message for campaign bid modifiers mutate. 295type MutateCampaignBidModifiersResponse struct { 296 state protoimpl.MessageState 297 sizeCache protoimpl.SizeCache 298 unknownFields protoimpl.UnknownFields 299 300 // Errors that pertain to operation failures in the partial failure mode. 301 // Returned only when partial_failure = true and all errors occur inside the 302 // operations. If any errors occur outside the operations (e.g. auth errors), 303 // we return an RPC level error. 304 PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` 305 // All results for the mutate. 306 Results []*MutateCampaignBidModifierResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` 307} 308 309func (x *MutateCampaignBidModifiersResponse) Reset() { 310 *x = MutateCampaignBidModifiersResponse{} 311 if protoimpl.UnsafeEnabled { 312 mi := &file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_msgTypes[3] 313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 314 ms.StoreMessageInfo(mi) 315 } 316} 317 318func (x *MutateCampaignBidModifiersResponse) String() string { 319 return protoimpl.X.MessageStringOf(x) 320} 321 322func (*MutateCampaignBidModifiersResponse) ProtoMessage() {} 323 324func (x *MutateCampaignBidModifiersResponse) ProtoReflect() protoreflect.Message { 325 mi := &file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_msgTypes[3] 326 if protoimpl.UnsafeEnabled && x != nil { 327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 328 if ms.LoadMessageInfo() == nil { 329 ms.StoreMessageInfo(mi) 330 } 331 return ms 332 } 333 return mi.MessageOf(x) 334} 335 336// Deprecated: Use MutateCampaignBidModifiersResponse.ProtoReflect.Descriptor instead. 337func (*MutateCampaignBidModifiersResponse) Descriptor() ([]byte, []int) { 338 return file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDescGZIP(), []int{3} 339} 340 341func (x *MutateCampaignBidModifiersResponse) GetPartialFailureError() *status.Status { 342 if x != nil { 343 return x.PartialFailureError 344 } 345 return nil 346} 347 348func (x *MutateCampaignBidModifiersResponse) GetResults() []*MutateCampaignBidModifierResult { 349 if x != nil { 350 return x.Results 351 } 352 return nil 353} 354 355// The result for the criterion mutate. 356type MutateCampaignBidModifierResult struct { 357 state protoimpl.MessageState 358 sizeCache protoimpl.SizeCache 359 unknownFields protoimpl.UnknownFields 360 361 // Returned for successful operations. 362 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 363} 364 365func (x *MutateCampaignBidModifierResult) Reset() { 366 *x = MutateCampaignBidModifierResult{} 367 if protoimpl.UnsafeEnabled { 368 mi := &file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_msgTypes[4] 369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 370 ms.StoreMessageInfo(mi) 371 } 372} 373 374func (x *MutateCampaignBidModifierResult) String() string { 375 return protoimpl.X.MessageStringOf(x) 376} 377 378func (*MutateCampaignBidModifierResult) ProtoMessage() {} 379 380func (x *MutateCampaignBidModifierResult) ProtoReflect() protoreflect.Message { 381 mi := &file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_msgTypes[4] 382 if protoimpl.UnsafeEnabled && x != nil { 383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 384 if ms.LoadMessageInfo() == nil { 385 ms.StoreMessageInfo(mi) 386 } 387 return ms 388 } 389 return mi.MessageOf(x) 390} 391 392// Deprecated: Use MutateCampaignBidModifierResult.ProtoReflect.Descriptor instead. 393func (*MutateCampaignBidModifierResult) Descriptor() ([]byte, []int) { 394 return file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDescGZIP(), []int{4} 395} 396 397func (x *MutateCampaignBidModifierResult) GetResourceName() string { 398 if x != nil { 399 return x.ResourceName 400 } 401 return "" 402} 403 404var File_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto protoreflect.FileDescriptor 405 406var file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDesc = []byte{ 407 0x0a, 0x44, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 408 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 409 0x65, 0x73, 0x2f, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x5f, 0x62, 0x69, 0x64, 0x5f, 410 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 411 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 412 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 413 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 414 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 415 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x63, 0x61, 0x6d, 0x70, 416 0x61, 0x69, 0x67, 0x6e, 0x5f, 0x62, 0x69, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 417 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 418 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 419 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 420 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 421 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 422 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 423 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 424 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 425 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 426 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 427 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 428 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x43, 0x61, 0x6d, 0x70, 429 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 430 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x59, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 431 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x34, 0xe0, 432 0x41, 0x02, 0xfa, 0x41, 0x2e, 0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 433 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 434 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 435 0x69, 0x65, 0x72, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 436 0x65, 0x22, 0xfc, 0x01, 0x0a, 0x21, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6d, 0x70, 437 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 438 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 439 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 440 0x02, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x12, 0x63, 0x0a, 441 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 442 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 443 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 444 0x69, 0x63, 0x65, 0x73, 0x2e, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 445 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 446 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 447 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x61, 448 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70, 0x61, 0x72, 449 0x74, 0x69, 0x61, 0x6c, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x76, 450 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 451 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 452 0x22, 0xa6, 0x02, 0x0a, 0x1c, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 453 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 454 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 455 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 456 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 457 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x50, 458 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 459 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 460 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 461 0x65, 0x73, 0x2e, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 462 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 463 0x12, 0x50, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 464 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 465 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 466 0x72, 0x63, 0x65, 0x73, 0x2e, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 467 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 468 0x74, 0x65, 0x12, 0x18, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 469 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x0b, 0x0a, 0x09, 470 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc9, 0x01, 0x0a, 0x22, 0x4d, 0x75, 471 0x74, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 472 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 473 0x12, 0x46, 0x0a, 0x15, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x61, 0x69, 0x6c, 474 0x75, 0x72, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 475 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 476 0x74, 0x75, 0x73, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x46, 0x61, 0x69, 0x6c, 477 0x75, 0x72, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x5b, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 478 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 479 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 480 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 481 0x61, 0x74, 0x65, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 482 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 483 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x46, 0x0a, 0x1f, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x43, 484 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 485 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 486 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 487 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0xa6, 0x04, 488 0x0a, 0x1a, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 0x64, 489 0x69, 0x66, 0x69, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xe1, 0x01, 0x0a, 490 0x16, 0x47, 0x65, 0x74, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 491 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 492 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 493 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 494 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 495 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 496 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 497 0x76, 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x43, 0x61, 0x6d, 498 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 499 0x22, 0x4e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x12, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 500 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x63, 0x75, 0x73, 501 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 502 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 503 0xda, 0x41, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 504 0x12, 0x86, 0x02, 0x0a, 0x1a, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6d, 0x70, 0x61, 505 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x12, 506 0x43, 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, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 509 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 510 0x75, 0x65, 0x73, 0x74, 0x1a, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 511 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 512 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x43, 0x61, 513 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 514 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5d, 0x82, 0xd3, 0xe4, 0x93, 515 0x02, 0x3e, 0x22, 0x39, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 516 0x73, 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 517 0x7d, 0x2f, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 0x64, 518 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x3a, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 519 0xda, 0x41, 0x16, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x2c, 0x6f, 520 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x1b, 0xca, 0x41, 0x18, 0x67, 0x6f, 521 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 522 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x42, 0x86, 0x02, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 523 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 524 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x42, 525 0x1f, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x42, 0x69, 0x64, 0x4d, 0x6f, 0x64, 0x69, 526 0x66, 0x69, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 527 0x50, 0x01, 0x5a, 0x48, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 528 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 529 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 530 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 531 0x63, 0x65, 0x73, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x47, 532 0x41, 0x41, 0xaa, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 533 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x2e, 0x56, 0x31, 0x2e, 0x53, 0x65, 0x72, 534 0x76, 0x69, 0x63, 0x65, 0x73, 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 535 0x64, 0x73, 0x5c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x31, 0x5c, 536 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xea, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 537 0x65, 0x3a, 0x3a, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 538 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x62, 539 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 540} 541 542var ( 543 file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDescOnce sync.Once 544 file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDescData = file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDesc 545) 546 547func file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDescGZIP() []byte { 548 file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDescOnce.Do(func() { 549 file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDescData) 550 }) 551 return file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDescData 552} 553 554var file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 555var file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_goTypes = []interface{}{ 556 (*GetCampaignBidModifierRequest)(nil), // 0: google.ads.googleads.v1.services.GetCampaignBidModifierRequest 557 (*MutateCampaignBidModifiersRequest)(nil), // 1: google.ads.googleads.v1.services.MutateCampaignBidModifiersRequest 558 (*CampaignBidModifierOperation)(nil), // 2: google.ads.googleads.v1.services.CampaignBidModifierOperation 559 (*MutateCampaignBidModifiersResponse)(nil), // 3: google.ads.googleads.v1.services.MutateCampaignBidModifiersResponse 560 (*MutateCampaignBidModifierResult)(nil), // 4: google.ads.googleads.v1.services.MutateCampaignBidModifierResult 561 (*field_mask.FieldMask)(nil), // 5: google.protobuf.FieldMask 562 (*resources.CampaignBidModifier)(nil), // 6: google.ads.googleads.v1.resources.CampaignBidModifier 563 (*status.Status)(nil), // 7: google.rpc.Status 564} 565var file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_depIdxs = []int32{ 566 2, // 0: google.ads.googleads.v1.services.MutateCampaignBidModifiersRequest.operations:type_name -> google.ads.googleads.v1.services.CampaignBidModifierOperation 567 5, // 1: google.ads.googleads.v1.services.CampaignBidModifierOperation.update_mask:type_name -> google.protobuf.FieldMask 568 6, // 2: google.ads.googleads.v1.services.CampaignBidModifierOperation.create:type_name -> google.ads.googleads.v1.resources.CampaignBidModifier 569 6, // 3: google.ads.googleads.v1.services.CampaignBidModifierOperation.update:type_name -> google.ads.googleads.v1.resources.CampaignBidModifier 570 7, // 4: google.ads.googleads.v1.services.MutateCampaignBidModifiersResponse.partial_failure_error:type_name -> google.rpc.Status 571 4, // 5: google.ads.googleads.v1.services.MutateCampaignBidModifiersResponse.results:type_name -> google.ads.googleads.v1.services.MutateCampaignBidModifierResult 572 0, // 6: google.ads.googleads.v1.services.CampaignBidModifierService.GetCampaignBidModifier:input_type -> google.ads.googleads.v1.services.GetCampaignBidModifierRequest 573 1, // 7: google.ads.googleads.v1.services.CampaignBidModifierService.MutateCampaignBidModifiers:input_type -> google.ads.googleads.v1.services.MutateCampaignBidModifiersRequest 574 6, // 8: google.ads.googleads.v1.services.CampaignBidModifierService.GetCampaignBidModifier:output_type -> google.ads.googleads.v1.resources.CampaignBidModifier 575 3, // 9: google.ads.googleads.v1.services.CampaignBidModifierService.MutateCampaignBidModifiers:output_type -> google.ads.googleads.v1.services.MutateCampaignBidModifiersResponse 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_campaign_bid_modifier_service_proto_init() } 584func file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_init() { 585 if File_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto != nil { 586 return 587 } 588 if !protoimpl.UnsafeEnabled { 589 file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 590 switch v := v.(*GetCampaignBidModifierRequest); 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_campaign_bid_modifier_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 602 switch v := v.(*MutateCampaignBidModifiersRequest); 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_campaign_bid_modifier_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 614 switch v := v.(*CampaignBidModifierOperation); 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_campaign_bid_modifier_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 626 switch v := v.(*MutateCampaignBidModifiersResponse); 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_campaign_bid_modifier_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 638 switch v := v.(*MutateCampaignBidModifierResult); 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_campaign_bid_modifier_service_proto_msgTypes[2].OneofWrappers = []interface{}{ 651 (*CampaignBidModifierOperation_Create)(nil), 652 (*CampaignBidModifierOperation_Update)(nil), 653 (*CampaignBidModifierOperation_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_campaign_bid_modifier_service_proto_rawDesc, 660 NumEnums: 0, 661 NumMessages: 5, 662 NumExtensions: 0, 663 NumServices: 1, 664 }, 665 GoTypes: file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_goTypes, 666 DependencyIndexes: file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_depIdxs, 667 MessageInfos: file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_msgTypes, 668 }.Build() 669 File_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto = out.File 670 file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_rawDesc = nil 671 file_google_ads_googleads_v1_services_campaign_bid_modifier_service_proto_goTypes = nil 672 file_google_ads_googleads_v1_services_campaign_bid_modifier_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// CampaignBidModifierServiceClient is the client API for CampaignBidModifierService 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 CampaignBidModifierServiceClient interface { 687 // Returns the requested campaign bid modifier in full detail. 688 GetCampaignBidModifier(ctx context.Context, in *GetCampaignBidModifierRequest, opts ...grpc.CallOption) (*resources.CampaignBidModifier, error) 689 // Creates, updates, or removes campaign bid modifiers. 690 // Operation statuses are returned. 691 MutateCampaignBidModifiers(ctx context.Context, in *MutateCampaignBidModifiersRequest, opts ...grpc.CallOption) (*MutateCampaignBidModifiersResponse, error) 692} 693 694type campaignBidModifierServiceClient struct { 695 cc grpc.ClientConnInterface 696} 697 698func NewCampaignBidModifierServiceClient(cc grpc.ClientConnInterface) CampaignBidModifierServiceClient { 699 return &campaignBidModifierServiceClient{cc} 700} 701 702func (c *campaignBidModifierServiceClient) GetCampaignBidModifier(ctx context.Context, in *GetCampaignBidModifierRequest, opts ...grpc.CallOption) (*resources.CampaignBidModifier, error) { 703 out := new(resources.CampaignBidModifier) 704 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignBidModifierService/GetCampaignBidModifier", in, out, opts...) 705 if err != nil { 706 return nil, err 707 } 708 return out, nil 709} 710 711func (c *campaignBidModifierServiceClient) MutateCampaignBidModifiers(ctx context.Context, in *MutateCampaignBidModifiersRequest, opts ...grpc.CallOption) (*MutateCampaignBidModifiersResponse, error) { 712 out := new(MutateCampaignBidModifiersResponse) 713 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignBidModifierService/MutateCampaignBidModifiers", in, out, opts...) 714 if err != nil { 715 return nil, err 716 } 717 return out, nil 718} 719 720// CampaignBidModifierServiceServer is the server API for CampaignBidModifierService service. 721type CampaignBidModifierServiceServer interface { 722 // Returns the requested campaign bid modifier in full detail. 723 GetCampaignBidModifier(context.Context, *GetCampaignBidModifierRequest) (*resources.CampaignBidModifier, error) 724 // Creates, updates, or removes campaign bid modifiers. 725 // Operation statuses are returned. 726 MutateCampaignBidModifiers(context.Context, *MutateCampaignBidModifiersRequest) (*MutateCampaignBidModifiersResponse, error) 727} 728 729// UnimplementedCampaignBidModifierServiceServer can be embedded to have forward compatible implementations. 730type UnimplementedCampaignBidModifierServiceServer struct { 731} 732 733func (*UnimplementedCampaignBidModifierServiceServer) GetCampaignBidModifier(context.Context, *GetCampaignBidModifierRequest) (*resources.CampaignBidModifier, error) { 734 return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignBidModifier not implemented") 735} 736func (*UnimplementedCampaignBidModifierServiceServer) MutateCampaignBidModifiers(context.Context, *MutateCampaignBidModifiersRequest) (*MutateCampaignBidModifiersResponse, error) { 737 return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignBidModifiers not implemented") 738} 739 740func RegisterCampaignBidModifierServiceServer(s *grpc.Server, srv CampaignBidModifierServiceServer) { 741 s.RegisterService(&_CampaignBidModifierService_serviceDesc, srv) 742} 743 744func _CampaignBidModifierService_GetCampaignBidModifier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 745 in := new(GetCampaignBidModifierRequest) 746 if err := dec(in); err != nil { 747 return nil, err 748 } 749 if interceptor == nil { 750 return srv.(CampaignBidModifierServiceServer).GetCampaignBidModifier(ctx, in) 751 } 752 info := &grpc.UnaryServerInfo{ 753 Server: srv, 754 FullMethod: "/google.ads.googleads.v1.services.CampaignBidModifierService/GetCampaignBidModifier", 755 } 756 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 757 return srv.(CampaignBidModifierServiceServer).GetCampaignBidModifier(ctx, req.(*GetCampaignBidModifierRequest)) 758 } 759 return interceptor(ctx, in, info, handler) 760} 761 762func _CampaignBidModifierService_MutateCampaignBidModifiers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 763 in := new(MutateCampaignBidModifiersRequest) 764 if err := dec(in); err != nil { 765 return nil, err 766 } 767 if interceptor == nil { 768 return srv.(CampaignBidModifierServiceServer).MutateCampaignBidModifiers(ctx, in) 769 } 770 info := &grpc.UnaryServerInfo{ 771 Server: srv, 772 FullMethod: "/google.ads.googleads.v1.services.CampaignBidModifierService/MutateCampaignBidModifiers", 773 } 774 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 775 return srv.(CampaignBidModifierServiceServer).MutateCampaignBidModifiers(ctx, req.(*MutateCampaignBidModifiersRequest)) 776 } 777 return interceptor(ctx, in, info, handler) 778} 779 780var _CampaignBidModifierService_serviceDesc = grpc.ServiceDesc{ 781 ServiceName: "google.ads.googleads.v1.services.CampaignBidModifierService", 782 HandlerType: (*CampaignBidModifierServiceServer)(nil), 783 Methods: []grpc.MethodDesc{ 784 { 785 MethodName: "GetCampaignBidModifier", 786 Handler: _CampaignBidModifierService_GetCampaignBidModifier_Handler, 787 }, 788 { 789 MethodName: "MutateCampaignBidModifiers", 790 Handler: _CampaignBidModifierService_MutateCampaignBidModifiers_Handler, 791 }, 792 }, 793 Streams: []grpc.StreamDesc{}, 794 Metadata: "google/ads/googleads/v1/services/campaign_bid_modifier_service.proto", 795} 796