Re: Rails App - Getting a 'LoadError cannot load such file -- adwords_api' in the Login Controller

2017-03-28 Thread Arjun Rajkumar
Hi Peter, Thanks. Fixed this. The position of the file was correct - but I had forgotten to add 'gem 'google-adwords-api', '~> 0.18.0' in my gemfile. Thanks Arjun On Tuesday, March 28, 2017 at 12:40:37 PM UTC+5:30, Peter Oliquino wrote: > > Hi Arjun, > > Could you confirm if what you

Rails App - Getting a 'LoadError cannot load such file -- adwords_api' in the Login Controller

2017-03-28 Thread Arjun Rajkumar
Hi, I am getting this no file error - while requiring the 'adwords_api' file in the login controller. The code in the controller is similar to https://github.com/googleads/google-api-ads-ruby/blob/master/adwords_api/examples/adwords_on_rails/app/controllers/login_controller.rb I have also

Re: Not able to authenticate when testing adwords_on_rails example on my system

2017-03-29 Thread Arjun Rajkumar
Still stuck on this - basically the Proceed on the login_prompt_path is nil - and hence clicking on this does not take a uesr anywhere. Any suggestions? Thanks Arjun On Wednesday, March 29, 2017 at 2:44:33 PM UTC+5:30, Arjun Rajkumar wrote: > > Hi, > > Just looking to lear

Not able to authenticate when testing adwords_on_rails example on my system

2017-03-29 Thread Arjun Rajkumar
Hi, Just looking to learn more about the Adwords API, and thought i'll test the adwords_on_rails example on my local system. The example always starts by authenticating a user if a user is not signed in. # Checks if we have a valid credentials. def authenticate() token =

Error while running 'ruby setup_oauth2.rb' while setting up the client library

2017-03-27 Thread Arjun Rajkumar
Hey, I am new to the Adwords API and have been trying to set this up for a while. I was following the steps on this page : https://github.com/googleads/google-api-ads-ruby/wiki/API-access-using-own-credentials-(installed-application-flow)#step-2---setting-up-the-client-library I got stuck at

Re: Error while running 'ruby setup_oauth2.rb' while setting up the client library

2017-03-27 Thread Arjun Rajkumar
Hi Vishal, Thanks. This works now after I moved the file to the home directory. Still not able to make an API call. Tried testing via console by running Getting this error - rrors: Error [1]: field_path: trigger: error_string: AuthorizationError.USER_PERMISSION_DENIED

How do I get the recent 'Change History' from Adwords API

2017-03-27 Thread Arjun Rajkumar
Hi, I am new to the Adwords API. Is it possible to get a list of recent changes that happened in the account? Just looking to get a list of the last 30 changes thats done in the account - Date, Campaign Name & Changes. How do I get this data via API? Thanks Arjun -- --

Re: Rails Adwords API - cannot load such file -- adwords_api

2017-03-27 Thread Arjun Rajkumar
Hi Richard, Were you able to get this fixed? Running into the same issue using Rails. Getting a load error - 'cannot load such file -- adwords_api' I am requiring the 'adwords_api' file in the controller when getting this error. Would be great to know how you fixed this issue. Thanks

Re: Error while running 'ruby setup_oauth2.rb' while setting up the client library

2017-03-28 Thread Arjun Rajkumar
Hi Vishal, This works fine from the console. But via the Rails app when I require the adwords_api file in the login controller, I am getting the same error I got before in console. 'Cannot load such a file'. Any idea how I could fix this in the Rails app? Thanks Arjun On Tuesday, March

Best way to get keyword search volume via the Adwords API in 2018?

2018-01-31 Thread Arjun Rajkumar
Hey! I saw different suggestions (older dates) for how to get the keyword search volume for a particular keyword. Can anyone please confirm the best way to get the keyword search volume for a batch of keywords via some API? Which API should I use? Sorry if this is a newbie question. Just

How to get the search volume for keywords via an API every month.

2018-01-31 Thread Arjun Rajkumar
Hey, I would like to get back the search volume for a bunch of keywords (~1000 keywords) programatically via an API every month. Which API should I use to get this programatically? Any links to the preferred API will be really helpful. Can this be done via the Adwords API ? Thanks Arjun --

Re: ruby setup_oauth2.rb error

2018-02-08 Thread Arjun Rajkumar
tokens, and trying to do that by running 'ruby setup_oauth2.rb' , but that is not re-authoirising. Thanks. Arjun On Friday, 9 February 2018 10:13:16 UTC+5:30, Arjun Rajkumar wrote: > > Hi Dhanya, > > Thanks for your reply. > Yes, I had done this last year and already have the OA

Getting a AdsCommon::Errors::OAuth2VerificationRequired

2018-02-09 Thread Arjun Rajkumar
Hey all, I'm trying to use the Adwords API Library but running into this error: -- AdsCommon::Errors::OAuth2VerificationRequired excluded from capture: DSN not set AdsCommon::Errors::OAuth2VerificationRequired (AdsCommon::Errors::OAuth2VerificationRequired): -- I ran the 'ruby

Re: Getting a AdsCommon::Errors::OAuth2VerificationRequired

2018-02-09 Thread Arjun Rajkumar
:user_agent => "" }, :oauth2_token => { :access_token => 'XXX' }, :service => { :environment => 'PRODUCTION' } }) return @api end -- THanks Arjun On Saturday, 10 February 2018 04:27:41 UTC+5:30,

Re: ruby setup_oauth2.rb error

2018-02-08 Thread Arjun Rajkumar
Hi Dhanya, Thanks for your reply. Yes, I had done this last year and already have the OAuth tokens from another account. But this is a new project and wanted new tokens. Can you please confirm which lines to comment out - before doing your three steps: ~~~ def setup_oauth2() adwords =

ruby setup_oauth2.rb error

2018-02-08 Thread Arjun Rajkumar
Hi, I am installing the adwords api via this official doc: https://github.com/googleads/google-api-ads-ruby/wiki/API-access-using-own-credentials-(installed-application-flow) In step 2, when I run 'setup_oauth2.rb' I am getting this response : 'OAuth2 token is now saved to ~/adwords_api.yml and