如何使用 Node.js 访问 Google AdWords API?
有没有办法使用node.js来访问和管理google adwords帐户?
Is there a way to use node.js to access and manage a google adwords account?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我是 AdWords 非官方 node.js 客户端库的作者:https://www .npmjs.com/package/googleads-node-lib。它每天都离功能齐全的客户端库越来越近。欢迎拉请求。
I'm the author of an unofficial node.js client library for AdWords: https://www.npmjs.com/package/googleads-node-lib. It is getting closer to a feature complete client library every day. Pull requests welcome.
是的,该库使用标准 Javascript(它是使用 Google 的 Closure 库构建的)。您可能需要做的是编写一个适用于 Node.js 的 HttpWebTransport 适配器。 http://code.google.com/p/google-api-adwords-js/source/browse/#svn%2Ftrunk%2Fjs%2Fsystem%2Fsrc%2Fgoogle%2Fsystem%2Fnet有一些针对特定技术的示例,例如 Google Gadgets、Chrome 扩展等,但没有针对 Node.js 的示例。另请参阅 http ://code.google.com/p/google-api-adwords-js/source/browse/trunk/js/adwordsapi/src/config.js详细了解如何配置该库以使用特定的HttpWeb传输 班级。
干杯,
阿纳什
Yes, the library uses standard Javascript (it is built using Google's Closure library). What you might need to do is to write an HttpWebTransport adapter that works for Node.js. http://code.google.com/p/google-api-adwords-js/source/browse/#svn%2Ftrunk%2Fjs%2Fsystem%2Fsrc%2Fgoogle%2Fsystem%2Fnet has a few examples for specific technlogies like Google Gadgets, Chrome extensions, etc. , but there isn't one for Node.js. Also see http://code.google.com/p/google-api-adwords-js/source/browse/trunk/js/adwordsapi/src/config.js for details on how to configure the library to use a particular HttpWebTransport class.
Cheers,
Anash
就这样:https://www.npmjs.com/package/google-ads- api
Adwords 目前已弃用。
There you go: https://www.npmjs.com/package/google-ads-api
Adwords are deprecated for now.
我对 node.js 不太了解,但如果它使用标准 JavaScript,那么您应该能够使用新的 AdWords API JavaScript 库:http://code.google.com/p/google-api-adwords-js/
I don't know much about node.js but if it's using standard JavaScript then you should be able to get somewhere with the new AdWords API JavaScript library: http://code.google.com/p/google-api-adwords-js/