googleads / google-api-ads-ruby

Ad Manager SOAP API Client Libraries for Ruby
297 stars 229 forks source link

Occurred error after entering verification code #172

Open Randima-Lahiru opened 4 years ago

Randima-Lahiru commented 4 years ago

I followed all the steps according to document and After run setup_oauth2.rb script this became,

Hit Auth error, please navigate to URL: https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=********-*******.apps.googleusercontent.com&redirect_uri=*******&response_type=code&scope=https://www.googleapis.com/auth/adwords log in and type the verification code:

I go to above URL and allow access and it will shows some code and I entered it to above place and hit it again. But it was generated another error,

:in `connect_nonblock': SSL_connect returned=1 errno=0 state=error: certificate verify failed (Faraday::SSLError)

How I fix it?