【发布时间】:2011-03-03 17:44:16
【问题描述】:
我已经研究过使用 Google Adwords API(PHP 库),但它似乎与 The Adwords Interface 所做的事情类似,并为您提供加载推荐关键字及其相关关键字“全球每月搜索量” - 我只需要针对我正在寻找的特定关键字的全球每月搜索量。
有没有简单的方法来做到这一点?也许即使没有成熟的 Adwords API?
【问题讨论】:
标签: php google-ads-api
我已经研究过使用 Google Adwords API(PHP 库),但它似乎与 The Adwords Interface 所做的事情类似,并为您提供加载推荐关键字及其相关关键字“全球每月搜索量” - 我只需要针对我正在寻找的特定关键字的全球每月搜索量。
有没有简单的方法来做到这一点?也许即使没有成熟的 Adwords API?
【问题讨论】:
标签: php google-ads-api
使用 AdWords API,可以只请求关键字的统计信息,而不是提示列表。您需要使用 TargetingIdeaService 并在选择器中指定 STATS 的 requestType 而不是 IDEAS:
在http://www.google.com/codesearch/p?hl=en#Fu0vUbQ37f4/trunk/examples/v201008/GetRelatedKeywords.php 试用 PHP 示例并替换以下行:
$selector->requestType = 'IDEAS';
与:
$selector->requestType = 'STATS';
【讨论】: