• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

googleads/google-api-ads-ruby: Ads API Client Libraries for Ruby

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

googleads/google-api-ads-ruby

开源软件地址(OpenSource Url):

https://github.com/googleads/google-api-ads-ruby

开源编程语言(OpenSource Language):

Ruby 99.9%

开源软件介绍(OpenSource Introduction):

Ads API Client Libraries for Ruby

This project hosts the new Ads common framework for Ruby, as well as the Ruby client libraries for the various SOAP-based Ads APIs at Google.

The Ruby client libraries make it easier to write Ruby clients to programmatically access your accounts.

The AdWords API will sunset on April 27, 2022.
Upgrade to the Google Ads API Ruby client library.

New to the library? Take a look at the wiki for this project.

Want to stay up-to-date with our latest releases? Subscribe to the master RSS feed on GitHub.

Products currently supported

  • Google AdWords API AdWords Gem Version
  • Google Ad Manager API DFP Gem Version

Client library features

  • Support for logging incoming and outgoing SOAP messages
  • Support for logging request information
  • Based on Savon library
  • Ruby 2.1, 2.2, 2.3, and 2.4 compatible
  • OAuth2 and OAuth2 JWT built-in authentication
  • Local validation for parameter number and type on API calls
  • Thread-safe
  • Ruby-like syntax, by converting all method names and properties to snake_case instead of lowerCamelCase
  • Simplified development model by using arrays and hashes instead of solid objects
  • (AdWords) Full support for reporting and BatchJobService uploads

Getting started

  1. Install your library of choice using RubyGems.

     $ gem install google-adwords-api
    

    or

     $ gem install google-dfp-api
    

    Note: If you're using a version of Ruby lower than 2.2.2, you will need to manually install a previous version of Rack, a dependency of our HTTP library. You can do this with:

     $ gem install rack -v 1.6.4
    
  2. Copy the sample config file (adwords_api.yml or ad_manager_api.yml) for your product to your home directory and fill out the required properties.

  1. Setup your OAuth2 credentials.

The AdWords and Ad Manager APIs use OAuth2 as the authentication mechanism. Follow the appropriate guide below based on your use case.

If you're accessing an API using your own credentials...

If you're accessing an API on behalf of clients...

  1. See each product's individual README for more specific instructions:

Submitting bug reports and/or feature requests

If you have issues directly related to the client library, use the issue tracker.

If you have issues pertaining to a specific product, use the product support forums:

Make sure to subscribe to our blog for API change announcements and other news.

Logging

To enable logging, see the library-specific README files for AdWords or Ad Manager.

Updates

Contributing

See CONTRIBUTING.md for details on how to contribute.

This library has adopted the community-driven style guide hosted by bbatsov. Updates to the existing code base will be made incrementally to conform to the style defined there, and all new code will be subject to that style guide. Keep this in mind while crafting contributions.

Note: if you have an ad blocker active, you might experience issues while submitting an issue or pull request. You can still contribute by disabling the ad blocker for this project URL.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap