Hi Antony,
We have the AdWords Ruby Client Library available which already has the OAuth2.0 support. There is also a demo application based on Rails that demonstrates the flow (and account hierarchy retrieval as well). Please check out the library here: http://code.google.com/p/google-api-ads-ruby/ And the demo application here: http://code.google.com/p/google-api-ads-ruby/source/browse/#git%2Fadwords_api%2Fexamples%2Fadwords_on_rails Please feel free to ask any related questions as I am the author of both. -Danial, AdWords API Team. On Tuesday, August 14, 2012 7:07:08 PM UTC+4, Antony Vorobiev wrote: > > Hello all, > > I was using ClientLogin authorization method in my server application for > several months, but now it throws CaptchaRequired error because of too much > authorization attempts for about 100 client_customer_id in a batch, so I'm > looking for the way to get 100+ client accounts processed (sync campaigns, > fetch campaign statuses, report statistics) in reasonable time (several > minutes) without any user interaction > > according to - https://developers.google.com/accounts/docs/OAuth2 - this > document, the most suitable method for me is OAuth 2.0 Service Account > authorization > > I've got all the credentials - Client ID, Email address, Application name > and private key file, but I still have no idea how can I get this stuff > working. > > > Could you please provide me with an example of how can I access to Adwords > API via OAuth 2.0 Service Account and fetch, for example, account hierarchy > using Ruby Adwords API library? > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
