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/ad_group_feed_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 [AdGroupFeedService.GetAdGroupFeed][google.ads.googleads.v1.services.AdGroupFeedService.GetAdGroupFeed]. 52type GetAdGroupFeedRequest struct { 53 state protoimpl.MessageState 54 sizeCache protoimpl.SizeCache 55 unknownFields protoimpl.UnknownFields 56 57 // Required. The resource name of the ad group feed to fetch. 58 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 59} 60 61func (x *GetAdGroupFeedRequest) Reset() { 62 *x = GetAdGroupFeedRequest{} 63 if protoimpl.UnsafeEnabled { 64 mi := &file_google_ads_googleads_v1_services_ad_group_feed_service_proto_msgTypes[0] 65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 66 ms.StoreMessageInfo(mi) 67 } 68} 69 70func (x *GetAdGroupFeedRequest) String() string { 71 return protoimpl.X.MessageStringOf(x) 72} 73 74func (*GetAdGroupFeedRequest) ProtoMessage() {} 75 76func (x *GetAdGroupFeedRequest) ProtoReflect() protoreflect.Message { 77 mi := &file_google_ads_googleads_v1_services_ad_group_feed_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 GetAdGroupFeedRequest.ProtoReflect.Descriptor instead. 89func (*GetAdGroupFeedRequest) Descriptor() ([]byte, []int) { 90 return file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDescGZIP(), []int{0} 91} 92 93func (x *GetAdGroupFeedRequest) GetResourceName() string { 94 if x != nil { 95 return x.ResourceName 96 } 97 return "" 98} 99 100// Request message for [AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v1.services.AdGroupFeedService.MutateAdGroupFeeds]. 101type MutateAdGroupFeedsRequest struct { 102 state protoimpl.MessageState 103 sizeCache protoimpl.SizeCache 104 unknownFields protoimpl.UnknownFields 105 106 // Required. The ID of the customer whose ad group feeds 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 ad group feeds. 109 Operations []*AdGroupFeedOperation `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 *MutateAdGroupFeedsRequest) Reset() { 121 *x = MutateAdGroupFeedsRequest{} 122 if protoimpl.UnsafeEnabled { 123 mi := &file_google_ads_googleads_v1_services_ad_group_feed_service_proto_msgTypes[1] 124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 125 ms.StoreMessageInfo(mi) 126 } 127} 128 129func (x *MutateAdGroupFeedsRequest) String() string { 130 return protoimpl.X.MessageStringOf(x) 131} 132 133func (*MutateAdGroupFeedsRequest) ProtoMessage() {} 134 135func (x *MutateAdGroupFeedsRequest) ProtoReflect() protoreflect.Message { 136 mi := &file_google_ads_googleads_v1_services_ad_group_feed_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 MutateAdGroupFeedsRequest.ProtoReflect.Descriptor instead. 148func (*MutateAdGroupFeedsRequest) Descriptor() ([]byte, []int) { 149 return file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDescGZIP(), []int{1} 150} 151 152func (x *MutateAdGroupFeedsRequest) GetCustomerId() string { 153 if x != nil { 154 return x.CustomerId 155 } 156 return "" 157} 158 159func (x *MutateAdGroupFeedsRequest) GetOperations() []*AdGroupFeedOperation { 160 if x != nil { 161 return x.Operations 162 } 163 return nil 164} 165 166func (x *MutateAdGroupFeedsRequest) GetPartialFailure() bool { 167 if x != nil { 168 return x.PartialFailure 169 } 170 return false 171} 172 173func (x *MutateAdGroupFeedsRequest) GetValidateOnly() bool { 174 if x != nil { 175 return x.ValidateOnly 176 } 177 return false 178} 179 180// A single operation (create, update, remove) on an ad group feed. 181type AdGroupFeedOperation 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 // *AdGroupFeedOperation_Create 192 // *AdGroupFeedOperation_Update 193 // *AdGroupFeedOperation_Remove 194 Operation isAdGroupFeedOperation_Operation `protobuf_oneof:"operation"` 195} 196 197func (x *AdGroupFeedOperation) Reset() { 198 *x = AdGroupFeedOperation{} 199 if protoimpl.UnsafeEnabled { 200 mi := &file_google_ads_googleads_v1_services_ad_group_feed_service_proto_msgTypes[2] 201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 202 ms.StoreMessageInfo(mi) 203 } 204} 205 206func (x *AdGroupFeedOperation) String() string { 207 return protoimpl.X.MessageStringOf(x) 208} 209 210func (*AdGroupFeedOperation) ProtoMessage() {} 211 212func (x *AdGroupFeedOperation) ProtoReflect() protoreflect.Message { 213 mi := &file_google_ads_googleads_v1_services_ad_group_feed_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 AdGroupFeedOperation.ProtoReflect.Descriptor instead. 225func (*AdGroupFeedOperation) Descriptor() ([]byte, []int) { 226 return file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDescGZIP(), []int{2} 227} 228 229func (x *AdGroupFeedOperation) GetUpdateMask() *field_mask.FieldMask { 230 if x != nil { 231 return x.UpdateMask 232 } 233 return nil 234} 235 236func (m *AdGroupFeedOperation) GetOperation() isAdGroupFeedOperation_Operation { 237 if m != nil { 238 return m.Operation 239 } 240 return nil 241} 242 243func (x *AdGroupFeedOperation) GetCreate() *resources.AdGroupFeed { 244 if x, ok := x.GetOperation().(*AdGroupFeedOperation_Create); ok { 245 return x.Create 246 } 247 return nil 248} 249 250func (x *AdGroupFeedOperation) GetUpdate() *resources.AdGroupFeed { 251 if x, ok := x.GetOperation().(*AdGroupFeedOperation_Update); ok { 252 return x.Update 253 } 254 return nil 255} 256 257func (x *AdGroupFeedOperation) GetRemove() string { 258 if x, ok := x.GetOperation().(*AdGroupFeedOperation_Remove); ok { 259 return x.Remove 260 } 261 return "" 262} 263 264type isAdGroupFeedOperation_Operation interface { 265 isAdGroupFeedOperation_Operation() 266} 267 268type AdGroupFeedOperation_Create struct { 269 // Create operation: No resource name is expected for the new ad group feed. 270 Create *resources.AdGroupFeed `protobuf:"bytes,1,opt,name=create,proto3,oneof"` 271} 272 273type AdGroupFeedOperation_Update struct { 274 // Update operation: The ad group feed is expected to have a valid resource 275 // name. 276 Update *resources.AdGroupFeed `protobuf:"bytes,2,opt,name=update,proto3,oneof"` 277} 278 279type AdGroupFeedOperation_Remove struct { 280 // Remove operation: A resource name for the removed ad group feed is 281 // expected, in this format: 282 // 283 // `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}` 284 Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` 285} 286 287func (*AdGroupFeedOperation_Create) isAdGroupFeedOperation_Operation() {} 288 289func (*AdGroupFeedOperation_Update) isAdGroupFeedOperation_Operation() {} 290 291func (*AdGroupFeedOperation_Remove) isAdGroupFeedOperation_Operation() {} 292 293// Response message for an ad group feed mutate. 294type MutateAdGroupFeedsResponse struct { 295 state protoimpl.MessageState 296 sizeCache protoimpl.SizeCache 297 unknownFields protoimpl.UnknownFields 298 299 // Errors that pertain to operation failures in the partial failure mode. 300 // Returned only when partial_failure = true and all errors occur inside the 301 // operations. If any errors occur outside the operations (e.g. auth errors), 302 // we return an RPC level error. 303 PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` 304 // All results for the mutate. 305 Results []*MutateAdGroupFeedResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` 306} 307 308func (x *MutateAdGroupFeedsResponse) Reset() { 309 *x = MutateAdGroupFeedsResponse{} 310 if protoimpl.UnsafeEnabled { 311 mi := &file_google_ads_googleads_v1_services_ad_group_feed_service_proto_msgTypes[3] 312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 313 ms.StoreMessageInfo(mi) 314 } 315} 316 317func (x *MutateAdGroupFeedsResponse) String() string { 318 return protoimpl.X.MessageStringOf(x) 319} 320 321func (*MutateAdGroupFeedsResponse) ProtoMessage() {} 322 323func (x *MutateAdGroupFeedsResponse) ProtoReflect() protoreflect.Message { 324 mi := &file_google_ads_googleads_v1_services_ad_group_feed_service_proto_msgTypes[3] 325 if protoimpl.UnsafeEnabled && x != nil { 326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 327 if ms.LoadMessageInfo() == nil { 328 ms.StoreMessageInfo(mi) 329 } 330 return ms 331 } 332 return mi.MessageOf(x) 333} 334 335// Deprecated: Use MutateAdGroupFeedsResponse.ProtoReflect.Descriptor instead. 336func (*MutateAdGroupFeedsResponse) Descriptor() ([]byte, []int) { 337 return file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDescGZIP(), []int{3} 338} 339 340func (x *MutateAdGroupFeedsResponse) GetPartialFailureError() *status.Status { 341 if x != nil { 342 return x.PartialFailureError 343 } 344 return nil 345} 346 347func (x *MutateAdGroupFeedsResponse) GetResults() []*MutateAdGroupFeedResult { 348 if x != nil { 349 return x.Results 350 } 351 return nil 352} 353 354// The result for the ad group feed mutate. 355type MutateAdGroupFeedResult struct { 356 state protoimpl.MessageState 357 sizeCache protoimpl.SizeCache 358 unknownFields protoimpl.UnknownFields 359 360 // Returned for successful operations. 361 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 362} 363 364func (x *MutateAdGroupFeedResult) Reset() { 365 *x = MutateAdGroupFeedResult{} 366 if protoimpl.UnsafeEnabled { 367 mi := &file_google_ads_googleads_v1_services_ad_group_feed_service_proto_msgTypes[4] 368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 369 ms.StoreMessageInfo(mi) 370 } 371} 372 373func (x *MutateAdGroupFeedResult) String() string { 374 return protoimpl.X.MessageStringOf(x) 375} 376 377func (*MutateAdGroupFeedResult) ProtoMessage() {} 378 379func (x *MutateAdGroupFeedResult) ProtoReflect() protoreflect.Message { 380 mi := &file_google_ads_googleads_v1_services_ad_group_feed_service_proto_msgTypes[4] 381 if protoimpl.UnsafeEnabled && x != nil { 382 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 383 if ms.LoadMessageInfo() == nil { 384 ms.StoreMessageInfo(mi) 385 } 386 return ms 387 } 388 return mi.MessageOf(x) 389} 390 391// Deprecated: Use MutateAdGroupFeedResult.ProtoReflect.Descriptor instead. 392func (*MutateAdGroupFeedResult) Descriptor() ([]byte, []int) { 393 return file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDescGZIP(), []int{4} 394} 395 396func (x *MutateAdGroupFeedResult) GetResourceName() string { 397 if x != nil { 398 return x.ResourceName 399 } 400 return "" 401} 402 403var File_google_ads_googleads_v1_services_ad_group_feed_service_proto protoreflect.FileDescriptor 404 405var file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDesc = []byte{ 406 0x0a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 407 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 408 0x65, 0x73, 0x2f, 0x61, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x66, 0x65, 0x65, 0x64, 409 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 410 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 411 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 412 0x1a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 413 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 414 0x63, 0x65, 0x73, 0x2f, 0x61, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x66, 0x65, 0x65, 415 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 416 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 417 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 418 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 419 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 420 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 421 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 422 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 423 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 424 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 425 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 426 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x64, 0x47, 0x72, 427 0x6f, 0x75, 0x70, 0x46, 0x65, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x51, 428 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 429 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x67, 430 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 431 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 432 0x65, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 433 0x65, 0x22, 0xec, 0x01, 0x0a, 0x19, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x41, 0x64, 0x47, 0x72, 434 0x6f, 0x75, 0x70, 0x46, 0x65, 0x65, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 435 0x24, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 436 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 437 0x6d, 0x65, 0x72, 0x49, 0x64, 0x12, 0x5b, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 438 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 439 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 440 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x41, 0x64, 0x47, 441 0x72, 0x6f, 0x75, 0x70, 0x46, 0x65, 0x65, 0x64, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 442 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 443 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x61, 444 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70, 0x61, 0x72, 445 0x74, 0x69, 0x61, 0x6c, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x76, 446 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 447 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 448 0x22, 0x8e, 0x02, 0x0a, 0x14, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x65, 0x65, 0x64, 449 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 450 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 451 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 452 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 453 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x48, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 454 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 455 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 456 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x41, 0x64, 0x47, 0x72, 0x6f, 457 0x75, 0x70, 0x46, 0x65, 0x65, 0x64, 0x48, 0x00, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 458 0x12, 0x48, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 459 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 460 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 461 0x72, 0x63, 0x65, 0x73, 0x2e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x65, 0x65, 0x64, 462 0x48, 0x00, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x06, 0x72, 0x65, 463 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x72, 0x65, 464 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 465 0x6e, 0x22, 0xb9, 0x01, 0x0a, 0x1a, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x41, 0x64, 0x47, 0x72, 466 0x6f, 0x75, 0x70, 0x46, 0x65, 0x65, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 467 0x12, 0x46, 0x0a, 0x15, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x61, 0x69, 0x6c, 468 0x75, 0x72, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 469 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 470 0x74, 0x75, 0x73, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x46, 0x61, 0x69, 0x6c, 471 0x75, 0x72, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x53, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 472 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 473 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 474 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 475 0x61, 0x74, 0x65, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x65, 0x65, 0x64, 0x52, 0x65, 476 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x3e, 0x0a, 477 0x17, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x65, 478 0x65, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 479 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 480 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0xde, 0x03, 481 0x0a, 0x12, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x65, 0x65, 0x64, 0x53, 0x65, 0x72, 482 0x76, 0x69, 0x63, 0x65, 0x12, 0xc1, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x47, 0x72, 483 0x6f, 0x75, 0x70, 0x46, 0x65, 0x65, 0x64, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 484 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 485 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 486 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x65, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 487 0x1a, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 488 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 489 0x72, 0x63, 0x65, 0x73, 0x2e, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x65, 0x65, 0x64, 490 0x22, 0x46, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 491 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x63, 0x75, 0x73, 492 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 493 0x46, 0x65, 0x65, 0x64, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 494 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xe6, 0x01, 0x0a, 0x12, 0x4d, 0x75, 0x74, 495 0x61, 0x74, 0x65, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x65, 0x65, 0x64, 0x73, 0x12, 496 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 497 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 498 0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 499 0x46, 0x65, 0x65, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x67, 500 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 501 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 502 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x65, 0x65, 503 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x55, 0x82, 0xd3, 0xe4, 0x93, 504 0x02, 0x36, 0x22, 0x31, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 505 0x73, 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 506 0x7d, 0x2f, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x65, 0x65, 0x64, 0x73, 0x3a, 0x6d, 507 0x75, 0x74, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x16, 0x63, 0x75, 0x73, 0x74, 0x6f, 508 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x2c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 509 0x73, 0x1a, 0x1b, 0xca, 0x41, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 510 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x42, 0xfe, 511 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 512 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 513 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x42, 0x17, 0x41, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 514 0x46, 0x65, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 515 0x50, 0x01, 0x5a, 0x48, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 516 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 517 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 518 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 519 0x63, 0x65, 0x73, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x47, 520 0x41, 0x41, 0xaa, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 521 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x2e, 0x56, 0x31, 0x2e, 0x53, 0x65, 0x72, 522 0x76, 0x69, 0x63, 0x65, 0x73, 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 523 0x64, 0x73, 0x5c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x31, 0x5c, 524 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xea, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 525 0x65, 0x3a, 0x3a, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 526 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x62, 527 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 528} 529 530var ( 531 file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDescOnce sync.Once 532 file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDescData = file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDesc 533) 534 535func file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDescGZIP() []byte { 536 file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDescOnce.Do(func() { 537 file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDescData) 538 }) 539 return file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDescData 540} 541 542var file_google_ads_googleads_v1_services_ad_group_feed_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 543var file_google_ads_googleads_v1_services_ad_group_feed_service_proto_goTypes = []interface{}{ 544 (*GetAdGroupFeedRequest)(nil), // 0: google.ads.googleads.v1.services.GetAdGroupFeedRequest 545 (*MutateAdGroupFeedsRequest)(nil), // 1: google.ads.googleads.v1.services.MutateAdGroupFeedsRequest 546 (*AdGroupFeedOperation)(nil), // 2: google.ads.googleads.v1.services.AdGroupFeedOperation 547 (*MutateAdGroupFeedsResponse)(nil), // 3: google.ads.googleads.v1.services.MutateAdGroupFeedsResponse 548 (*MutateAdGroupFeedResult)(nil), // 4: google.ads.googleads.v1.services.MutateAdGroupFeedResult 549 (*field_mask.FieldMask)(nil), // 5: google.protobuf.FieldMask 550 (*resources.AdGroupFeed)(nil), // 6: google.ads.googleads.v1.resources.AdGroupFeed 551 (*status.Status)(nil), // 7: google.rpc.Status 552} 553var file_google_ads_googleads_v1_services_ad_group_feed_service_proto_depIdxs = []int32{ 554 2, // 0: google.ads.googleads.v1.services.MutateAdGroupFeedsRequest.operations:type_name -> google.ads.googleads.v1.services.AdGroupFeedOperation 555 5, // 1: google.ads.googleads.v1.services.AdGroupFeedOperation.update_mask:type_name -> google.protobuf.FieldMask 556 6, // 2: google.ads.googleads.v1.services.AdGroupFeedOperation.create:type_name -> google.ads.googleads.v1.resources.AdGroupFeed 557 6, // 3: google.ads.googleads.v1.services.AdGroupFeedOperation.update:type_name -> google.ads.googleads.v1.resources.AdGroupFeed 558 7, // 4: google.ads.googleads.v1.services.MutateAdGroupFeedsResponse.partial_failure_error:type_name -> google.rpc.Status 559 4, // 5: google.ads.googleads.v1.services.MutateAdGroupFeedsResponse.results:type_name -> google.ads.googleads.v1.services.MutateAdGroupFeedResult 560 0, // 6: google.ads.googleads.v1.services.AdGroupFeedService.GetAdGroupFeed:input_type -> google.ads.googleads.v1.services.GetAdGroupFeedRequest 561 1, // 7: google.ads.googleads.v1.services.AdGroupFeedService.MutateAdGroupFeeds:input_type -> google.ads.googleads.v1.services.MutateAdGroupFeedsRequest 562 6, // 8: google.ads.googleads.v1.services.AdGroupFeedService.GetAdGroupFeed:output_type -> google.ads.googleads.v1.resources.AdGroupFeed 563 3, // 9: google.ads.googleads.v1.services.AdGroupFeedService.MutateAdGroupFeeds:output_type -> google.ads.googleads.v1.services.MutateAdGroupFeedsResponse 564 8, // [8:10] is the sub-list for method output_type 565 6, // [6:8] is the sub-list for method input_type 566 6, // [6:6] is the sub-list for extension type_name 567 6, // [6:6] is the sub-list for extension extendee 568 0, // [0:6] is the sub-list for field type_name 569} 570 571func init() { file_google_ads_googleads_v1_services_ad_group_feed_service_proto_init() } 572func file_google_ads_googleads_v1_services_ad_group_feed_service_proto_init() { 573 if File_google_ads_googleads_v1_services_ad_group_feed_service_proto != nil { 574 return 575 } 576 if !protoimpl.UnsafeEnabled { 577 file_google_ads_googleads_v1_services_ad_group_feed_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 578 switch v := v.(*GetAdGroupFeedRequest); i { 579 case 0: 580 return &v.state 581 case 1: 582 return &v.sizeCache 583 case 2: 584 return &v.unknownFields 585 default: 586 return nil 587 } 588 } 589 file_google_ads_googleads_v1_services_ad_group_feed_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 590 switch v := v.(*MutateAdGroupFeedsRequest); 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_ad_group_feed_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 602 switch v := v.(*AdGroupFeedOperation); 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_ad_group_feed_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 614 switch v := v.(*MutateAdGroupFeedsResponse); 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_ad_group_feed_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 626 switch v := v.(*MutateAdGroupFeedResult); 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 } 638 file_google_ads_googleads_v1_services_ad_group_feed_service_proto_msgTypes[2].OneofWrappers = []interface{}{ 639 (*AdGroupFeedOperation_Create)(nil), 640 (*AdGroupFeedOperation_Update)(nil), 641 (*AdGroupFeedOperation_Remove)(nil), 642 } 643 type x struct{} 644 out := protoimpl.TypeBuilder{ 645 File: protoimpl.DescBuilder{ 646 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 647 RawDescriptor: file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDesc, 648 NumEnums: 0, 649 NumMessages: 5, 650 NumExtensions: 0, 651 NumServices: 1, 652 }, 653 GoTypes: file_google_ads_googleads_v1_services_ad_group_feed_service_proto_goTypes, 654 DependencyIndexes: file_google_ads_googleads_v1_services_ad_group_feed_service_proto_depIdxs, 655 MessageInfos: file_google_ads_googleads_v1_services_ad_group_feed_service_proto_msgTypes, 656 }.Build() 657 File_google_ads_googleads_v1_services_ad_group_feed_service_proto = out.File 658 file_google_ads_googleads_v1_services_ad_group_feed_service_proto_rawDesc = nil 659 file_google_ads_googleads_v1_services_ad_group_feed_service_proto_goTypes = nil 660 file_google_ads_googleads_v1_services_ad_group_feed_service_proto_depIdxs = nil 661} 662 663// Reference imports to suppress errors if they are not otherwise used. 664var _ context.Context 665var _ grpc.ClientConnInterface 666 667// This is a compile-time assertion to ensure that this generated file 668// is compatible with the grpc package it is being compiled against. 669const _ = grpc.SupportPackageIsVersion6 670 671// AdGroupFeedServiceClient is the client API for AdGroupFeedService service. 672// 673// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 674type AdGroupFeedServiceClient interface { 675 // Returns the requested ad group feed in full detail. 676 GetAdGroupFeed(ctx context.Context, in *GetAdGroupFeedRequest, opts ...grpc.CallOption) (*resources.AdGroupFeed, error) 677 // Creates, updates, or removes ad group feeds. Operation statuses are 678 // returned. 679 MutateAdGroupFeeds(ctx context.Context, in *MutateAdGroupFeedsRequest, opts ...grpc.CallOption) (*MutateAdGroupFeedsResponse, error) 680} 681 682type adGroupFeedServiceClient struct { 683 cc grpc.ClientConnInterface 684} 685 686func NewAdGroupFeedServiceClient(cc grpc.ClientConnInterface) AdGroupFeedServiceClient { 687 return &adGroupFeedServiceClient{cc} 688} 689 690func (c *adGroupFeedServiceClient) GetAdGroupFeed(ctx context.Context, in *GetAdGroupFeedRequest, opts ...grpc.CallOption) (*resources.AdGroupFeed, error) { 691 out := new(resources.AdGroupFeed) 692 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupFeedService/GetAdGroupFeed", in, out, opts...) 693 if err != nil { 694 return nil, err 695 } 696 return out, nil 697} 698 699func (c *adGroupFeedServiceClient) MutateAdGroupFeeds(ctx context.Context, in *MutateAdGroupFeedsRequest, opts ...grpc.CallOption) (*MutateAdGroupFeedsResponse, error) { 700 out := new(MutateAdGroupFeedsResponse) 701 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupFeedService/MutateAdGroupFeeds", in, out, opts...) 702 if err != nil { 703 return nil, err 704 } 705 return out, nil 706} 707 708// AdGroupFeedServiceServer is the server API for AdGroupFeedService service. 709type AdGroupFeedServiceServer interface { 710 // Returns the requested ad group feed in full detail. 711 GetAdGroupFeed(context.Context, *GetAdGroupFeedRequest) (*resources.AdGroupFeed, error) 712 // Creates, updates, or removes ad group feeds. Operation statuses are 713 // returned. 714 MutateAdGroupFeeds(context.Context, *MutateAdGroupFeedsRequest) (*MutateAdGroupFeedsResponse, error) 715} 716 717// UnimplementedAdGroupFeedServiceServer can be embedded to have forward compatible implementations. 718type UnimplementedAdGroupFeedServiceServer struct { 719} 720 721func (*UnimplementedAdGroupFeedServiceServer) GetAdGroupFeed(context.Context, *GetAdGroupFeedRequest) (*resources.AdGroupFeed, error) { 722 return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupFeed not implemented") 723} 724func (*UnimplementedAdGroupFeedServiceServer) MutateAdGroupFeeds(context.Context, *MutateAdGroupFeedsRequest) (*MutateAdGroupFeedsResponse, error) { 725 return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupFeeds not implemented") 726} 727 728func RegisterAdGroupFeedServiceServer(s *grpc.Server, srv AdGroupFeedServiceServer) { 729 s.RegisterService(&_AdGroupFeedService_serviceDesc, srv) 730} 731 732func _AdGroupFeedService_GetAdGroupFeed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 733 in := new(GetAdGroupFeedRequest) 734 if err := dec(in); err != nil { 735 return nil, err 736 } 737 if interceptor == nil { 738 return srv.(AdGroupFeedServiceServer).GetAdGroupFeed(ctx, in) 739 } 740 info := &grpc.UnaryServerInfo{ 741 Server: srv, 742 FullMethod: "/google.ads.googleads.v1.services.AdGroupFeedService/GetAdGroupFeed", 743 } 744 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 745 return srv.(AdGroupFeedServiceServer).GetAdGroupFeed(ctx, req.(*GetAdGroupFeedRequest)) 746 } 747 return interceptor(ctx, in, info, handler) 748} 749 750func _AdGroupFeedService_MutateAdGroupFeeds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 751 in := new(MutateAdGroupFeedsRequest) 752 if err := dec(in); err != nil { 753 return nil, err 754 } 755 if interceptor == nil { 756 return srv.(AdGroupFeedServiceServer).MutateAdGroupFeeds(ctx, in) 757 } 758 info := &grpc.UnaryServerInfo{ 759 Server: srv, 760 FullMethod: "/google.ads.googleads.v1.services.AdGroupFeedService/MutateAdGroupFeeds", 761 } 762 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 763 return srv.(AdGroupFeedServiceServer).MutateAdGroupFeeds(ctx, req.(*MutateAdGroupFeedsRequest)) 764 } 765 return interceptor(ctx, in, info, handler) 766} 767 768var _AdGroupFeedService_serviceDesc = grpc.ServiceDesc{ 769 ServiceName: "google.ads.googleads.v1.services.AdGroupFeedService", 770 HandlerType: (*AdGroupFeedServiceServer)(nil), 771 Methods: []grpc.MethodDesc{ 772 { 773 MethodName: "GetAdGroupFeed", 774 Handler: _AdGroupFeedService_GetAdGroupFeed_Handler, 775 }, 776 { 777 MethodName: "MutateAdGroupFeeds", 778 Handler: _AdGroupFeedService_MutateAdGroupFeeds_Handler, 779 }, 780 }, 781 Streams: []grpc.StreamDesc{}, 782 Metadata: "google/ads/googleads/v1/services/ad_group_feed_service.proto", 783} 784