Sha256: 4ce1ca80e9547863f75a811c6eb74db644603f6808fd45ed3cc57fc5f417c192

Contents?: true

Size: 364 Bytes

Versions: 3

Compression:

Stored size: 364 Bytes

Contents

#!/usr/bin/env ruby

# Use adwords4r in parent dir
$LOAD_PATH.unshift '../lib/'

require 'adwords4r'

begin
    adwords = AdWords::API.new
    puts "result = #{adwords.getFreeUsageQuotaThisMonth().getFreeUsageQuotaThisMonthReturn}"

rescue AdWords::Error::UnknownAPICall => e
    puts e
rescue AdWords::Error::ApiError => e
    puts e.code
    puts e.message
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adwords4r-11.1.0 examples/old/get_free_usage_this_month.rb
adwords4r-11.0.2 examples/get_free_usage_this_month.rb
adwords4r-11.0.3 examples/get_free_usage_this_month.rb