Adwords API BulkMutateJobService 获取多个关键字的全球每月搜索量
我刚刚开始为即将进行的项目使用 Adwords API,实际上我需要一些非常简单的东西,但我想以最有效的方式实现它。
我需要代码来检索多个关键字的全球每月搜索量(以百万计)。在阅读了 BulkMutateJobService 后,他们在 Google 文档中说
如果您想要对 AdWords 广告系列和子对象执行大量操作(最多 500,000 次),请使用 BulkMutateJobService
但在页面后面,他们给出了限制
不允许超过 25 个 OperationStream 对象。
每个 BulkMutateRequest 不允许超过 10,000 次操作。
不允许超过 100 个请求部分。
以及其他一些人。请参阅此处的源代码 http://code.google.com/apis/adwords/docs /bulkjobs.html
现在,我的问题: 这些数字是什么意思?如果我需要 100 万个单词的信息,我是否只需要执行 2 个请求,每个请求包含 500K 个单词?
此外,是否有执行此任务的代码示例? 我只需要每个关键字的全球每月搜索量和每次点击费用。我在网上搜索过,但没有找到任何好的例子或任何倾向于使用 BulkMutateJobService 的方向的东西。
您可以提供任何链接、资源、代码、建议吗?一切都受到赞赏。
I've just gotten into the Adwords API for an upcoming project and I need something quite simple actually, but I want to go about it the most efficient way.
I need code to retrieve the Global Monthly Search Volume for multiple keywords (in the millions). After reading about BulkMutateJobService, in the Google documentation they say
If you want to perform a very large number of operations (up to 500,000) on your AdWords campaigns and child objects, use BulkMutateJobService
But later on in the page they give limits of
No more than 25 OperationStream objects are allowed.
No more than 10,000 operations are allowed per BulkMutateRequest.
No more than 100 request parts are allowed.
as well as a few others. See source here http://code.google.com/apis/adwords/docs/bulkjobs.html
Now, my questions:
What do these numbers mean? If I have 1 million words I need information on, do I only need to perform 2 requests with 500K words each?
Also, are there examples of code that does this task?
I only need Global Monthly Search Volume and CPC for each keyword. I've searched online, but to no avail have I found any good example or anything leaning in that direction that utilizes BulkMutateJobService.
Any links, resources, code, advice you can offer? All is appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
BulkMutateJobService 仅允许对帐户进行变异或更改。它不提供信息的批量检索。
您可以使用 TargetingIdeaService 获取关键字的每月搜索量。如果您在 STATS 模式下使用它,则每个请求最多可以包含 2500 个关键字。
每次点击费用估算值是从 TrafficEstimatorService 获取的。每个请求最多可以请求 500 个关键字。
仅供参考,您可以在官方 AdWords API 论坛上提问。
The BulkMutateJobService only allows for mutates, or changes, to the account. It does not provide the bulk retrieval of information.
You can fetch monthly search volume for keywords using the TargetingIdeaService. If you use it in STATS mode you can include up to 2500 keywords per request.
Estimates CPC values are obtained from the TrafficEstimatorService. You can request up to 500 keywords per request.
FYI, there is an official AdWords API Forum that you can ask questions on.