Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 

606 рядки
25 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/services/keyword_plan_idea_service.proto
  3. package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import wrappers "github.com/golang/protobuf/ptypes/wrappers"
  8. import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common"
  9. import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums"
  10. import _ "google.golang.org/genproto/googleapis/api/annotations"
  11. import (
  12. context "golang.org/x/net/context"
  13. grpc "google.golang.org/grpc"
  14. )
  15. // Reference imports to suppress errors if they are not otherwise used.
  16. var _ = proto.Marshal
  17. var _ = fmt.Errorf
  18. var _ = math.Inf
  19. // This is a compile-time assertion to ensure that this generated file
  20. // is compatible with the proto package it is being compiled against.
  21. // A compilation error at this line likely means your copy of the
  22. // proto package needs to be updated.
  23. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  24. // Request message for [KeywordIdeaService.GenerateKeywordIdeas][].
  25. type GenerateKeywordIdeasRequest struct {
  26. // The ID of the customer with the recommendation.
  27. CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
  28. // The resource name of the language to target.
  29. // Required
  30. Language *wrappers.StringValue `protobuf:"bytes,7,opt,name=language,proto3" json:"language,omitempty"`
  31. // The resource names of the location to target.
  32. // Max 10
  33. GeoTargetConstants []*wrappers.StringValue `protobuf:"bytes,8,rep,name=geo_target_constants,json=geoTargetConstants,proto3" json:"geo_target_constants,omitempty"`
  34. // Targeting network.
  35. KeywordPlanNetwork enums.KeywordPlanNetworkEnum_KeywordPlanNetwork `protobuf:"varint,9,opt,name=keyword_plan_network,json=keywordPlanNetwork,proto3,enum=google.ads.googleads.v0.enums.KeywordPlanNetworkEnum_KeywordPlanNetwork" json:"keyword_plan_network,omitempty"`
  36. // The type of seed to generate keyword ideas.
  37. //
  38. // Types that are valid to be assigned to Seed:
  39. // *GenerateKeywordIdeasRequest_KeywordAndUrlSeed
  40. // *GenerateKeywordIdeasRequest_KeywordSeed
  41. // *GenerateKeywordIdeasRequest_UrlSeed
  42. Seed isGenerateKeywordIdeasRequest_Seed `protobuf_oneof:"seed"`
  43. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  44. XXX_unrecognized []byte `json:"-"`
  45. XXX_sizecache int32 `json:"-"`
  46. }
  47. func (m *GenerateKeywordIdeasRequest) Reset() { *m = GenerateKeywordIdeasRequest{} }
  48. func (m *GenerateKeywordIdeasRequest) String() string { return proto.CompactTextString(m) }
  49. func (*GenerateKeywordIdeasRequest) ProtoMessage() {}
  50. func (*GenerateKeywordIdeasRequest) Descriptor() ([]byte, []int) {
  51. return fileDescriptor_keyword_plan_idea_service_b9927177ccf30eb2, []int{0}
  52. }
  53. func (m *GenerateKeywordIdeasRequest) XXX_Unmarshal(b []byte) error {
  54. return xxx_messageInfo_GenerateKeywordIdeasRequest.Unmarshal(m, b)
  55. }
  56. func (m *GenerateKeywordIdeasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  57. return xxx_messageInfo_GenerateKeywordIdeasRequest.Marshal(b, m, deterministic)
  58. }
  59. func (dst *GenerateKeywordIdeasRequest) XXX_Merge(src proto.Message) {
  60. xxx_messageInfo_GenerateKeywordIdeasRequest.Merge(dst, src)
  61. }
  62. func (m *GenerateKeywordIdeasRequest) XXX_Size() int {
  63. return xxx_messageInfo_GenerateKeywordIdeasRequest.Size(m)
  64. }
  65. func (m *GenerateKeywordIdeasRequest) XXX_DiscardUnknown() {
  66. xxx_messageInfo_GenerateKeywordIdeasRequest.DiscardUnknown(m)
  67. }
  68. var xxx_messageInfo_GenerateKeywordIdeasRequest proto.InternalMessageInfo
  69. func (m *GenerateKeywordIdeasRequest) GetCustomerId() string {
  70. if m != nil {
  71. return m.CustomerId
  72. }
  73. return ""
  74. }
  75. func (m *GenerateKeywordIdeasRequest) GetLanguage() *wrappers.StringValue {
  76. if m != nil {
  77. return m.Language
  78. }
  79. return nil
  80. }
  81. func (m *GenerateKeywordIdeasRequest) GetGeoTargetConstants() []*wrappers.StringValue {
  82. if m != nil {
  83. return m.GeoTargetConstants
  84. }
  85. return nil
  86. }
  87. func (m *GenerateKeywordIdeasRequest) GetKeywordPlanNetwork() enums.KeywordPlanNetworkEnum_KeywordPlanNetwork {
  88. if m != nil {
  89. return m.KeywordPlanNetwork
  90. }
  91. return enums.KeywordPlanNetworkEnum_UNSPECIFIED
  92. }
  93. type isGenerateKeywordIdeasRequest_Seed interface {
  94. isGenerateKeywordIdeasRequest_Seed()
  95. }
  96. type GenerateKeywordIdeasRequest_KeywordAndUrlSeed struct {
  97. KeywordAndUrlSeed *KeywordAndUrlSeed `protobuf:"bytes,2,opt,name=keyword_and_url_seed,json=keywordAndUrlSeed,proto3,oneof"`
  98. }
  99. type GenerateKeywordIdeasRequest_KeywordSeed struct {
  100. KeywordSeed *KeywordSeed `protobuf:"bytes,3,opt,name=keyword_seed,json=keywordSeed,proto3,oneof"`
  101. }
  102. type GenerateKeywordIdeasRequest_UrlSeed struct {
  103. UrlSeed *UrlSeed `protobuf:"bytes,5,opt,name=url_seed,json=urlSeed,proto3,oneof"`
  104. }
  105. func (*GenerateKeywordIdeasRequest_KeywordAndUrlSeed) isGenerateKeywordIdeasRequest_Seed() {}
  106. func (*GenerateKeywordIdeasRequest_KeywordSeed) isGenerateKeywordIdeasRequest_Seed() {}
  107. func (*GenerateKeywordIdeasRequest_UrlSeed) isGenerateKeywordIdeasRequest_Seed() {}
  108. func (m *GenerateKeywordIdeasRequest) GetSeed() isGenerateKeywordIdeasRequest_Seed {
  109. if m != nil {
  110. return m.Seed
  111. }
  112. return nil
  113. }
  114. func (m *GenerateKeywordIdeasRequest) GetKeywordAndUrlSeed() *KeywordAndUrlSeed {
  115. if x, ok := m.GetSeed().(*GenerateKeywordIdeasRequest_KeywordAndUrlSeed); ok {
  116. return x.KeywordAndUrlSeed
  117. }
  118. return nil
  119. }
  120. func (m *GenerateKeywordIdeasRequest) GetKeywordSeed() *KeywordSeed {
  121. if x, ok := m.GetSeed().(*GenerateKeywordIdeasRequest_KeywordSeed); ok {
  122. return x.KeywordSeed
  123. }
  124. return nil
  125. }
  126. func (m *GenerateKeywordIdeasRequest) GetUrlSeed() *UrlSeed {
  127. if x, ok := m.GetSeed().(*GenerateKeywordIdeasRequest_UrlSeed); ok {
  128. return x.UrlSeed
  129. }
  130. return nil
  131. }
  132. // XXX_OneofFuncs is for the internal use of the proto package.
  133. func (*GenerateKeywordIdeasRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  134. return _GenerateKeywordIdeasRequest_OneofMarshaler, _GenerateKeywordIdeasRequest_OneofUnmarshaler, _GenerateKeywordIdeasRequest_OneofSizer, []interface{}{
  135. (*GenerateKeywordIdeasRequest_KeywordAndUrlSeed)(nil),
  136. (*GenerateKeywordIdeasRequest_KeywordSeed)(nil),
  137. (*GenerateKeywordIdeasRequest_UrlSeed)(nil),
  138. }
  139. }
  140. func _GenerateKeywordIdeasRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  141. m := msg.(*GenerateKeywordIdeasRequest)
  142. // seed
  143. switch x := m.Seed.(type) {
  144. case *GenerateKeywordIdeasRequest_KeywordAndUrlSeed:
  145. b.EncodeVarint(2<<3 | proto.WireBytes)
  146. if err := b.EncodeMessage(x.KeywordAndUrlSeed); err != nil {
  147. return err
  148. }
  149. case *GenerateKeywordIdeasRequest_KeywordSeed:
  150. b.EncodeVarint(3<<3 | proto.WireBytes)
  151. if err := b.EncodeMessage(x.KeywordSeed); err != nil {
  152. return err
  153. }
  154. case *GenerateKeywordIdeasRequest_UrlSeed:
  155. b.EncodeVarint(5<<3 | proto.WireBytes)
  156. if err := b.EncodeMessage(x.UrlSeed); err != nil {
  157. return err
  158. }
  159. case nil:
  160. default:
  161. return fmt.Errorf("GenerateKeywordIdeasRequest.Seed has unexpected type %T", x)
  162. }
  163. return nil
  164. }
  165. func _GenerateKeywordIdeasRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  166. m := msg.(*GenerateKeywordIdeasRequest)
  167. switch tag {
  168. case 2: // seed.keyword_and_url_seed
  169. if wire != proto.WireBytes {
  170. return true, proto.ErrInternalBadWireType
  171. }
  172. msg := new(KeywordAndUrlSeed)
  173. err := b.DecodeMessage(msg)
  174. m.Seed = &GenerateKeywordIdeasRequest_KeywordAndUrlSeed{msg}
  175. return true, err
  176. case 3: // seed.keyword_seed
  177. if wire != proto.WireBytes {
  178. return true, proto.ErrInternalBadWireType
  179. }
  180. msg := new(KeywordSeed)
  181. err := b.DecodeMessage(msg)
  182. m.Seed = &GenerateKeywordIdeasRequest_KeywordSeed{msg}
  183. return true, err
  184. case 5: // seed.url_seed
  185. if wire != proto.WireBytes {
  186. return true, proto.ErrInternalBadWireType
  187. }
  188. msg := new(UrlSeed)
  189. err := b.DecodeMessage(msg)
  190. m.Seed = &GenerateKeywordIdeasRequest_UrlSeed{msg}
  191. return true, err
  192. default:
  193. return false, nil
  194. }
  195. }
  196. func _GenerateKeywordIdeasRequest_OneofSizer(msg proto.Message) (n int) {
  197. m := msg.(*GenerateKeywordIdeasRequest)
  198. // seed
  199. switch x := m.Seed.(type) {
  200. case *GenerateKeywordIdeasRequest_KeywordAndUrlSeed:
  201. s := proto.Size(x.KeywordAndUrlSeed)
  202. n += 1 // tag and wire
  203. n += proto.SizeVarint(uint64(s))
  204. n += s
  205. case *GenerateKeywordIdeasRequest_KeywordSeed:
  206. s := proto.Size(x.KeywordSeed)
  207. n += 1 // tag and wire
  208. n += proto.SizeVarint(uint64(s))
  209. n += s
  210. case *GenerateKeywordIdeasRequest_UrlSeed:
  211. s := proto.Size(x.UrlSeed)
  212. n += 1 // tag and wire
  213. n += proto.SizeVarint(uint64(s))
  214. n += s
  215. case nil:
  216. default:
  217. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  218. }
  219. return n
  220. }
  221. // Keyword And Url Seed
  222. type KeywordAndUrlSeed struct {
  223. // The URL to crawl in order to generate keyword ideas.
  224. Url *wrappers.StringValue `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
  225. // Requires at least one keyword.
  226. Keywords []*wrappers.StringValue `protobuf:"bytes,2,rep,name=keywords,proto3" json:"keywords,omitempty"`
  227. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  228. XXX_unrecognized []byte `json:"-"`
  229. XXX_sizecache int32 `json:"-"`
  230. }
  231. func (m *KeywordAndUrlSeed) Reset() { *m = KeywordAndUrlSeed{} }
  232. func (m *KeywordAndUrlSeed) String() string { return proto.CompactTextString(m) }
  233. func (*KeywordAndUrlSeed) ProtoMessage() {}
  234. func (*KeywordAndUrlSeed) Descriptor() ([]byte, []int) {
  235. return fileDescriptor_keyword_plan_idea_service_b9927177ccf30eb2, []int{1}
  236. }
  237. func (m *KeywordAndUrlSeed) XXX_Unmarshal(b []byte) error {
  238. return xxx_messageInfo_KeywordAndUrlSeed.Unmarshal(m, b)
  239. }
  240. func (m *KeywordAndUrlSeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  241. return xxx_messageInfo_KeywordAndUrlSeed.Marshal(b, m, deterministic)
  242. }
  243. func (dst *KeywordAndUrlSeed) XXX_Merge(src proto.Message) {
  244. xxx_messageInfo_KeywordAndUrlSeed.Merge(dst, src)
  245. }
  246. func (m *KeywordAndUrlSeed) XXX_Size() int {
  247. return xxx_messageInfo_KeywordAndUrlSeed.Size(m)
  248. }
  249. func (m *KeywordAndUrlSeed) XXX_DiscardUnknown() {
  250. xxx_messageInfo_KeywordAndUrlSeed.DiscardUnknown(m)
  251. }
  252. var xxx_messageInfo_KeywordAndUrlSeed proto.InternalMessageInfo
  253. func (m *KeywordAndUrlSeed) GetUrl() *wrappers.StringValue {
  254. if m != nil {
  255. return m.Url
  256. }
  257. return nil
  258. }
  259. func (m *KeywordAndUrlSeed) GetKeywords() []*wrappers.StringValue {
  260. if m != nil {
  261. return m.Keywords
  262. }
  263. return nil
  264. }
  265. // Keyword Seed
  266. type KeywordSeed struct {
  267. // Requires at least one keyword.
  268. Keywords []*wrappers.StringValue `protobuf:"bytes,1,rep,name=keywords,proto3" json:"keywords,omitempty"`
  269. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  270. XXX_unrecognized []byte `json:"-"`
  271. XXX_sizecache int32 `json:"-"`
  272. }
  273. func (m *KeywordSeed) Reset() { *m = KeywordSeed{} }
  274. func (m *KeywordSeed) String() string { return proto.CompactTextString(m) }
  275. func (*KeywordSeed) ProtoMessage() {}
  276. func (*KeywordSeed) Descriptor() ([]byte, []int) {
  277. return fileDescriptor_keyword_plan_idea_service_b9927177ccf30eb2, []int{2}
  278. }
  279. func (m *KeywordSeed) XXX_Unmarshal(b []byte) error {
  280. return xxx_messageInfo_KeywordSeed.Unmarshal(m, b)
  281. }
  282. func (m *KeywordSeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  283. return xxx_messageInfo_KeywordSeed.Marshal(b, m, deterministic)
  284. }
  285. func (dst *KeywordSeed) XXX_Merge(src proto.Message) {
  286. xxx_messageInfo_KeywordSeed.Merge(dst, src)
  287. }
  288. func (m *KeywordSeed) XXX_Size() int {
  289. return xxx_messageInfo_KeywordSeed.Size(m)
  290. }
  291. func (m *KeywordSeed) XXX_DiscardUnknown() {
  292. xxx_messageInfo_KeywordSeed.DiscardUnknown(m)
  293. }
  294. var xxx_messageInfo_KeywordSeed proto.InternalMessageInfo
  295. func (m *KeywordSeed) GetKeywords() []*wrappers.StringValue {
  296. if m != nil {
  297. return m.Keywords
  298. }
  299. return nil
  300. }
  301. // Url Seed
  302. type UrlSeed struct {
  303. // The URL to crawl in order to generate keyword ideas.
  304. Url *wrappers.StringValue `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
  305. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  306. XXX_unrecognized []byte `json:"-"`
  307. XXX_sizecache int32 `json:"-"`
  308. }
  309. func (m *UrlSeed) Reset() { *m = UrlSeed{} }
  310. func (m *UrlSeed) String() string { return proto.CompactTextString(m) }
  311. func (*UrlSeed) ProtoMessage() {}
  312. func (*UrlSeed) Descriptor() ([]byte, []int) {
  313. return fileDescriptor_keyword_plan_idea_service_b9927177ccf30eb2, []int{3}
  314. }
  315. func (m *UrlSeed) XXX_Unmarshal(b []byte) error {
  316. return xxx_messageInfo_UrlSeed.Unmarshal(m, b)
  317. }
  318. func (m *UrlSeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  319. return xxx_messageInfo_UrlSeed.Marshal(b, m, deterministic)
  320. }
  321. func (dst *UrlSeed) XXX_Merge(src proto.Message) {
  322. xxx_messageInfo_UrlSeed.Merge(dst, src)
  323. }
  324. func (m *UrlSeed) XXX_Size() int {
  325. return xxx_messageInfo_UrlSeed.Size(m)
  326. }
  327. func (m *UrlSeed) XXX_DiscardUnknown() {
  328. xxx_messageInfo_UrlSeed.DiscardUnknown(m)
  329. }
  330. var xxx_messageInfo_UrlSeed proto.InternalMessageInfo
  331. func (m *UrlSeed) GetUrl() *wrappers.StringValue {
  332. if m != nil {
  333. return m.Url
  334. }
  335. return nil
  336. }
  337. // Response message for [KeywordIdeaService.GenerateKeywordIdeas][].
  338. type GenerateKeywordIdeaResponse struct {
  339. // Results of generating keyword ideas.
  340. Results []*GenerateKeywordIdeaResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
  341. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  342. XXX_unrecognized []byte `json:"-"`
  343. XXX_sizecache int32 `json:"-"`
  344. }
  345. func (m *GenerateKeywordIdeaResponse) Reset() { *m = GenerateKeywordIdeaResponse{} }
  346. func (m *GenerateKeywordIdeaResponse) String() string { return proto.CompactTextString(m) }
  347. func (*GenerateKeywordIdeaResponse) ProtoMessage() {}
  348. func (*GenerateKeywordIdeaResponse) Descriptor() ([]byte, []int) {
  349. return fileDescriptor_keyword_plan_idea_service_b9927177ccf30eb2, []int{4}
  350. }
  351. func (m *GenerateKeywordIdeaResponse) XXX_Unmarshal(b []byte) error {
  352. return xxx_messageInfo_GenerateKeywordIdeaResponse.Unmarshal(m, b)
  353. }
  354. func (m *GenerateKeywordIdeaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  355. return xxx_messageInfo_GenerateKeywordIdeaResponse.Marshal(b, m, deterministic)
  356. }
  357. func (dst *GenerateKeywordIdeaResponse) XXX_Merge(src proto.Message) {
  358. xxx_messageInfo_GenerateKeywordIdeaResponse.Merge(dst, src)
  359. }
  360. func (m *GenerateKeywordIdeaResponse) XXX_Size() int {
  361. return xxx_messageInfo_GenerateKeywordIdeaResponse.Size(m)
  362. }
  363. func (m *GenerateKeywordIdeaResponse) XXX_DiscardUnknown() {
  364. xxx_messageInfo_GenerateKeywordIdeaResponse.DiscardUnknown(m)
  365. }
  366. var xxx_messageInfo_GenerateKeywordIdeaResponse proto.InternalMessageInfo
  367. func (m *GenerateKeywordIdeaResponse) GetResults() []*GenerateKeywordIdeaResult {
  368. if m != nil {
  369. return m.Results
  370. }
  371. return nil
  372. }
  373. // The result of generating keyword ideas.
  374. type GenerateKeywordIdeaResult struct {
  375. // Text of the keyword idea.
  376. // As in Keyword Plan historical metrics, this text may not be an actual
  377. // keyword, but the canonical form of multiple keywords.
  378. // See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService.
  379. Text *wrappers.StringValue `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
  380. // The historical metrics for the keyword
  381. KeywordIdeaMetrics *common.KeywordPlanHistoricalMetrics `protobuf:"bytes,3,opt,name=keyword_idea_metrics,json=keywordIdeaMetrics,proto3" json:"keyword_idea_metrics,omitempty"`
  382. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  383. XXX_unrecognized []byte `json:"-"`
  384. XXX_sizecache int32 `json:"-"`
  385. }
  386. func (m *GenerateKeywordIdeaResult) Reset() { *m = GenerateKeywordIdeaResult{} }
  387. func (m *GenerateKeywordIdeaResult) String() string { return proto.CompactTextString(m) }
  388. func (*GenerateKeywordIdeaResult) ProtoMessage() {}
  389. func (*GenerateKeywordIdeaResult) Descriptor() ([]byte, []int) {
  390. return fileDescriptor_keyword_plan_idea_service_b9927177ccf30eb2, []int{5}
  391. }
  392. func (m *GenerateKeywordIdeaResult) XXX_Unmarshal(b []byte) error {
  393. return xxx_messageInfo_GenerateKeywordIdeaResult.Unmarshal(m, b)
  394. }
  395. func (m *GenerateKeywordIdeaResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  396. return xxx_messageInfo_GenerateKeywordIdeaResult.Marshal(b, m, deterministic)
  397. }
  398. func (dst *GenerateKeywordIdeaResult) XXX_Merge(src proto.Message) {
  399. xxx_messageInfo_GenerateKeywordIdeaResult.Merge(dst, src)
  400. }
  401. func (m *GenerateKeywordIdeaResult) XXX_Size() int {
  402. return xxx_messageInfo_GenerateKeywordIdeaResult.Size(m)
  403. }
  404. func (m *GenerateKeywordIdeaResult) XXX_DiscardUnknown() {
  405. xxx_messageInfo_GenerateKeywordIdeaResult.DiscardUnknown(m)
  406. }
  407. var xxx_messageInfo_GenerateKeywordIdeaResult proto.InternalMessageInfo
  408. func (m *GenerateKeywordIdeaResult) GetText() *wrappers.StringValue {
  409. if m != nil {
  410. return m.Text
  411. }
  412. return nil
  413. }
  414. func (m *GenerateKeywordIdeaResult) GetKeywordIdeaMetrics() *common.KeywordPlanHistoricalMetrics {
  415. if m != nil {
  416. return m.KeywordIdeaMetrics
  417. }
  418. return nil
  419. }
  420. func init() {
  421. proto.RegisterType((*GenerateKeywordIdeasRequest)(nil), "google.ads.googleads.v0.services.GenerateKeywordIdeasRequest")
  422. proto.RegisterType((*KeywordAndUrlSeed)(nil), "google.ads.googleads.v0.services.KeywordAndUrlSeed")
  423. proto.RegisterType((*KeywordSeed)(nil), "google.ads.googleads.v0.services.KeywordSeed")
  424. proto.RegisterType((*UrlSeed)(nil), "google.ads.googleads.v0.services.UrlSeed")
  425. proto.RegisterType((*GenerateKeywordIdeaResponse)(nil), "google.ads.googleads.v0.services.GenerateKeywordIdeaResponse")
  426. proto.RegisterType((*GenerateKeywordIdeaResult)(nil), "google.ads.googleads.v0.services.GenerateKeywordIdeaResult")
  427. }
  428. // Reference imports to suppress errors if they are not otherwise used.
  429. var _ context.Context
  430. var _ grpc.ClientConn
  431. // This is a compile-time assertion to ensure that this generated file
  432. // is compatible with the grpc package it is being compiled against.
  433. const _ = grpc.SupportPackageIsVersion4
  434. // KeywordPlanIdeaServiceClient is the client API for KeywordPlanIdeaService service.
  435. //
  436. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  437. type KeywordPlanIdeaServiceClient interface {
  438. // Returns a list of keyword ideas.
  439. GenerateKeywordIdeas(ctx context.Context, in *GenerateKeywordIdeasRequest, opts ...grpc.CallOption) (*GenerateKeywordIdeaResponse, error)
  440. }
  441. type keywordPlanIdeaServiceClient struct {
  442. cc *grpc.ClientConn
  443. }
  444. func NewKeywordPlanIdeaServiceClient(cc *grpc.ClientConn) KeywordPlanIdeaServiceClient {
  445. return &keywordPlanIdeaServiceClient{cc}
  446. }
  447. func (c *keywordPlanIdeaServiceClient) GenerateKeywordIdeas(ctx context.Context, in *GenerateKeywordIdeasRequest, opts ...grpc.CallOption) (*GenerateKeywordIdeaResponse, error) {
  448. out := new(GenerateKeywordIdeaResponse)
  449. err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanIdeaService/GenerateKeywordIdeas", in, out, opts...)
  450. if err != nil {
  451. return nil, err
  452. }
  453. return out, nil
  454. }
  455. // KeywordPlanIdeaServiceServer is the server API for KeywordPlanIdeaService service.
  456. type KeywordPlanIdeaServiceServer interface {
  457. // Returns a list of keyword ideas.
  458. GenerateKeywordIdeas(context.Context, *GenerateKeywordIdeasRequest) (*GenerateKeywordIdeaResponse, error)
  459. }
  460. func RegisterKeywordPlanIdeaServiceServer(s *grpc.Server, srv KeywordPlanIdeaServiceServer) {
  461. s.RegisterService(&_KeywordPlanIdeaService_serviceDesc, srv)
  462. }
  463. func _KeywordPlanIdeaService_GenerateKeywordIdeas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  464. in := new(GenerateKeywordIdeasRequest)
  465. if err := dec(in); err != nil {
  466. return nil, err
  467. }
  468. if interceptor == nil {
  469. return srv.(KeywordPlanIdeaServiceServer).GenerateKeywordIdeas(ctx, in)
  470. }
  471. info := &grpc.UnaryServerInfo{
  472. Server: srv,
  473. FullMethod: "/google.ads.googleads.v0.services.KeywordPlanIdeaService/GenerateKeywordIdeas",
  474. }
  475. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  476. return srv.(KeywordPlanIdeaServiceServer).GenerateKeywordIdeas(ctx, req.(*GenerateKeywordIdeasRequest))
  477. }
  478. return interceptor(ctx, in, info, handler)
  479. }
  480. var _KeywordPlanIdeaService_serviceDesc = grpc.ServiceDesc{
  481. ServiceName: "google.ads.googleads.v0.services.KeywordPlanIdeaService",
  482. HandlerType: (*KeywordPlanIdeaServiceServer)(nil),
  483. Methods: []grpc.MethodDesc{
  484. {
  485. MethodName: "GenerateKeywordIdeas",
  486. Handler: _KeywordPlanIdeaService_GenerateKeywordIdeas_Handler,
  487. },
  488. },
  489. Streams: []grpc.StreamDesc{},
  490. Metadata: "google/ads/googleads/v0/services/keyword_plan_idea_service.proto",
  491. }
  492. func init() {
  493. proto.RegisterFile("google/ads/googleads/v0/services/keyword_plan_idea_service.proto", fileDescriptor_keyword_plan_idea_service_b9927177ccf30eb2)
  494. }
  495. var fileDescriptor_keyword_plan_idea_service_b9927177ccf30eb2 = []byte{
  496. // 725 bytes of a gzipped FileDescriptorProto
  497. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xcd, 0x6e, 0xd3, 0x40,
  498. 0x10, 0xc6, 0x49, 0x69, 0xda, 0x0d, 0x42, 0xea, 0xaa, 0x42, 0xa1, 0xad, 0x20, 0x8a, 0x7a, 0x28,
  499. 0x95, 0xb0, 0xa3, 0xf4, 0x40, 0x71, 0x89, 0x44, 0x8a, 0x20, 0xa9, 0x10, 0x55, 0xe5, 0xd2, 0x1c,
  500. 0x50, 0x24, 0x6b, 0x1b, 0x4f, 0x2d, 0x2b, 0xce, 0x6e, 0xd8, 0x5d, 0xb7, 0xfc, 0xa8, 0x97, 0xbe,
  501. 0x02, 0x6f, 0xc0, 0x91, 0x77, 0xe0, 0x05, 0x38, 0x21, 0xf5, 0x15, 0x38, 0x71, 0xe0, 0x19, 0x90,
  502. 0xed, 0xdd, 0x24, 0x6d, 0x1d, 0x52, 0x7a, 0x1b, 0xcf, 0x7e, 0xf3, 0xcd, 0xb7, 0x33, 0xb3, 0x63,
  503. 0xf4, 0xdc, 0x67, 0xcc, 0x0f, 0xc1, 0x22, 0x9e, 0xb0, 0x52, 0x33, 0xb6, 0x8e, 0xab, 0x96, 0x00,
  504. 0x7e, 0x1c, 0x74, 0x41, 0x58, 0x3d, 0xf8, 0x78, 0xc2, 0xb8, 0xe7, 0x0e, 0x42, 0x42, 0xdd, 0xc0,
  505. 0x03, 0xe2, 0xaa, 0x23, 0x73, 0xc0, 0x99, 0x64, 0xb8, 0x9c, 0x86, 0x99, 0xc4, 0x13, 0xe6, 0x90,
  506. 0xc1, 0x3c, 0xae, 0x9a, 0x9a, 0x61, 0x69, 0x73, 0x52, 0x8e, 0x2e, 0xeb, 0xf7, 0x19, 0xbd, 0x98,
  507. 0x21, 0xf5, 0xa5, 0xdc, 0x93, 0x23, 0x81, 0x46, 0xfd, 0x4b, 0xd2, 0x28, 0xc8, 0x13, 0xc6, 0x7b,
  508. 0x2a, 0x72, 0x45, 0x47, 0x0e, 0x02, 0x8b, 0x50, 0xca, 0x24, 0x91, 0x01, 0xa3, 0x42, 0x9d, 0x3e,
  509. 0x50, 0xa7, 0xc9, 0xd7, 0x61, 0x74, 0x64, 0x9d, 0x70, 0x32, 0x18, 0x00, 0x57, 0xe7, 0x95, 0x9f,
  510. 0x33, 0x68, 0xb9, 0x09, 0x14, 0x38, 0x91, 0xf0, 0x3a, 0x4d, 0xb2, 0xe3, 0x01, 0x11, 0x0e, 0xbc,
  511. 0x8f, 0x40, 0x48, 0xfc, 0x10, 0x15, 0xbb, 0x91, 0x90, 0xac, 0x0f, 0xdc, 0x0d, 0xbc, 0x92, 0x51,
  512. 0x36, 0xd6, 0xe6, 0x1d, 0xa4, 0x5d, 0x3b, 0x1e, 0xde, 0x44, 0x73, 0x21, 0xa1, 0x7e, 0x44, 0x7c,
  513. 0x28, 0x15, 0xca, 0xc6, 0x5a, 0xb1, 0xb6, 0xa2, 0x8a, 0x63, 0xea, 0x9c, 0xe6, 0xbe, 0xe4, 0x01,
  514. 0xf5, 0xdb, 0x24, 0x8c, 0xc0, 0x19, 0xa2, 0xf1, 0x2e, 0x5a, 0xf4, 0x81, 0xb9, 0x92, 0x70, 0x1f,
  515. 0xa4, 0xdb, 0x65, 0x54, 0x48, 0x42, 0xa5, 0x28, 0xcd, 0x95, 0xf3, 0x53, 0x59, 0xb0, 0x0f, 0xec,
  516. 0x6d, 0x12, 0xf8, 0x42, 0xc7, 0xe1, 0x4f, 0x68, 0x31, 0xab, 0x4c, 0xa5, 0xf9, 0xb2, 0xb1, 0x76,
  517. 0xb7, 0xd6, 0x32, 0x27, 0x75, 0x2f, 0xa9, 0xb0, 0xa9, 0x2e, 0xbf, 0x17, 0x12, 0xba, 0x9b, 0x06,
  518. 0xbe, 0xa4, 0x51, 0x3f, 0xc3, 0xed, 0xe0, 0xde, 0x15, 0x1f, 0x3e, 0x1a, 0xe5, 0x26, 0xd4, 0x73,
  519. 0x23, 0x1e, 0xba, 0x02, 0xc0, 0x2b, 0xe5, 0x92, 0x8a, 0x6c, 0x98, 0xd3, 0x26, 0x47, 0xe7, 0x69,
  520. 0x50, 0xef, 0x80, 0x87, 0xfb, 0x00, 0x5e, 0xeb, 0x96, 0xb3, 0xd0, 0xbb, 0xec, 0xc4, 0x0e, 0xba,
  521. 0xa3, 0xf3, 0x24, 0xfc, 0xf9, 0x84, 0xff, 0xf1, 0xb5, 0xf9, 0x15, 0x73, 0xb1, 0x37, 0xfa, 0xc4,
  522. 0xaf, 0xd0, 0xdc, 0x50, 0xef, 0xed, 0x84, 0xef, 0xd1, 0x74, 0xbe, 0x91, 0xca, 0x42, 0x94, 0x9a,
  523. 0xdb, 0xb3, 0x68, 0x26, 0xe6, 0xa8, 0x9c, 0xa2, 0x85, 0x2b, 0xb7, 0xc1, 0x26, 0xca, 0x47, 0x3c,
  524. 0x4c, 0xe6, 0x67, 0x5a, 0x6f, 0x63, 0x60, 0x3c, 0x56, 0x4a, 0xa3, 0x28, 0xe5, 0xae, 0x31, 0x10,
  525. 0x43, 0x74, 0xa5, 0x89, 0x8a, 0x63, 0x97, 0xbd, 0x40, 0x64, 0xfc, 0x17, 0xd1, 0x53, 0x54, 0xb8,
  526. 0xa1, 0xfa, 0x8a, 0xcc, 0x7c, 0x54, 0x0e, 0x88, 0x01, 0xa3, 0x02, 0xf0, 0x01, 0x2a, 0x70, 0x10,
  527. 0x51, 0x28, 0xb5, 0xa4, 0xad, 0xe9, 0x05, 0xcf, 0xe6, 0x8b, 0x42, 0xe9, 0x68, 0xae, 0xca, 0x77,
  528. 0x03, 0xdd, 0x9f, 0x08, 0xc3, 0x55, 0x34, 0x23, 0xe1, 0x83, 0x54, 0x23, 0xf9, 0xef, 0x4b, 0x24,
  529. 0x48, 0x4c, 0x47, 0x43, 0x9d, 0x6c, 0xc3, 0x3e, 0x48, 0x1e, 0x74, 0x85, 0x1a, 0xba, 0x67, 0x13,
  530. 0x35, 0xab, 0xc5, 0x36, 0xf6, 0x74, 0x5a, 0x81, 0x90, 0x8c, 0x07, 0x5d, 0x12, 0xbe, 0x49, 0x39,
  531. 0x86, 0x8f, 0x28, 0x16, 0xa8, 0x7c, 0xb5, 0x3f, 0x06, 0xba, 0x37, 0x16, 0x14, 0x1f, 0xed, 0xa7,
  532. 0xd7, 0xc7, 0xe7, 0x06, 0x5a, 0xcc, 0x5a, 0x53, 0xb8, 0x7e, 0xa3, 0xca, 0xe9, 0xf5, 0xb6, 0x54,
  533. 0xbf, 0x69, 0xe1, 0x93, 0x46, 0x56, 0xea, 0x67, 0xe7, 0xbf, 0xbe, 0xe4, 0x9e, 0x54, 0x6a, 0xc9,
  534. 0x8e, 0x57, 0x4b, 0x51, 0x58, 0x9f, 0xc7, 0x56, 0x66, 0x7d, 0xfd, 0xd4, 0xf6, 0x33, 0x14, 0xd8,
  535. 0xc6, 0xfa, 0xf6, 0x59, 0x0e, 0xad, 0x76, 0x59, 0x7f, 0xaa, 0x86, 0xed, 0xe5, 0xec, 0xb2, 0xec,
  536. 0xc5, 0xbd, 0xdb, 0x33, 0xde, 0xb5, 0x14, 0x81, 0xcf, 0xe2, 0xe5, 0x6a, 0x32, 0xee, 0x5b, 0x3e,
  537. 0xd0, 0xa4, 0xb3, 0xfa, 0x67, 0x32, 0x08, 0xc4, 0xe4, 0x3f, 0xdf, 0x96, 0x36, 0xbe, 0xe6, 0xf2,
  538. 0xcd, 0x46, 0xe3, 0x5b, 0xae, 0xdc, 0x4c, 0x09, 0x1b, 0x9e, 0x30, 0x53, 0x33, 0xb6, 0xda, 0x55,
  539. 0x53, 0x25, 0x16, 0x3f, 0x34, 0xa4, 0xd3, 0xf0, 0x44, 0x67, 0x08, 0xe9, 0xb4, 0xab, 0x1d, 0x0d,
  540. 0xf9, 0x9d, 0x5b, 0x4d, 0xfd, 0xb6, 0xdd, 0xf0, 0x84, 0x6d, 0x0f, 0x41, 0xb6, 0xdd, 0xae, 0xda,
  541. 0xb6, 0x86, 0x1d, 0xce, 0x26, 0x3a, 0x37, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x42, 0xdf, 0x0b,
  542. 0xe9, 0xa0, 0x07, 0x00, 0x00,
  543. }