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