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