Re: OAuth2 - invalid grand error

2012-10-19 Thread Danial Klimkin
Hello Sudhir, Please check out the discussion on this issue: http://code.google.com/p/google-api-ads-ruby/issues/detail?id=85&can=1 Note when using a pre-saved token, it should be a hash. I'll update the OAuth2 example to make it more clear. -Danial, AdWords API Team. On Thursday, Octobe

Re: OAuth2 - invalid grand error

2012-10-17 Thread Sudhir
get_campaigns and get_account_hierarchy examples are provided in the ruby libraray itself. The only difference is the authentication. I am using OAuth2 and examples use ClientLogin so the the difference is in config file only. Here is my config: --- # This is an example configuration file for

Re: OAuth2 - invalid grand error

2012-10-16 Thread Danial Klimkin
Hello Sudhir, Can you please provide your source code for both get_campaigns and get_account_hierarchy? What set of the credentials do you provide? -Danial, AdWords API Team. On Thursday, October 11, 2012 10:27:01 PM UTC+4, Sudhir wrote: > > I followed the documentation to set up google-api-