This is a set of simple samples written in Ruby, which provide a minimal example of DoubleClick Ad Exchange Seller integration within a command line application.
This starter project provides a great place to start your experimentation into the DoubleClick Ad Exchange Seller REST API.
Please make sure that you're running Ruby 1.8.7+ and you've run
bundle install on the sample to install all prerequisites.
Before getting started, check the Getting Started section on the Ruby client library documentation page: https://developers.google.com/api-client-library/ruby/start/get_started
I'm assuming you've checked out the code and are reading this from a local directory. If not, check out the code to a local directory.
-
Start up a sample
$ bundle exec ruby get_all_ad_clients.rb -
Complete the authorization steps on your browser
-
Examine your shell output, be inspired and start hacking an amazing new app!