Get Google's global monthly searches

不羁岁月 提交于 2019-12-10 11:16:55

问题


I've had a look into using the Google Adwords API (PHP Library) but it seems to do a similar thing to what The Adwords Interface does and give you loads of recommended keywords and their relative "Global Monthly Searches" - I just need the Global Monthly Searches for the specific keyword I'm looking for.

Is there an easy way of doing this? Perhaps even without the full blown Adwords API?


回答1:


Using the AdWords API it's possible to just request the stats for a keyword instead of a list of ideas. You need to use the TargetingIdeaService and specify a requestType of STATS instead of IDEAS in the selector:

Try out the PHP example at http://www.google.com/codesearch/p?hl=en#Fu0vUbQ37f4/trunk/examples/v201008/GetRelatedKeywords.php and replace the line:

$selector->requestType = 'IDEAS';

With:

$selector->requestType = 'STATS';



来源:https://stackoverflow.com/questions/5184411/get-googles-global-monthly-searches

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!