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