Errors Following the First Request Guide

43 views
Skip to first unread message

Jeffrey Lee

unread,
Jul 14, 2015, 10:07:23 AM7/14/15
to adwor...@googlegroups.com
Hi, so I was following the guide here to set up the api:


I am stuck on the 2nd part. I keep getting this error:

AdsCommon::Errors::Error: Environment 'PRODUCTION' does not support version 'v201309'


I looked for some solutions online, but none of them has solved my issue. I did do one thing different in step one and is I didn't call authorize on the Api object. I keep getting the error:


AdsCommon::Errors::OAuth2VerificationRequired: AdsCommon::Errors::OAuth2VerificationRequired


Does anyone know how I can get pass these steps? 

Anthony Madrigal

unread,
Jul 14, 2015, 4:23:30 PM7/14/15
to adwor...@googlegroups.com, leejef...@gmail.com
Hi Jeffery, 

AdWords API v201309 has been deprecated. Please download v201506 from one of our client libraries and see if you are still getting these errors.

Regards,
Anthony
AdWords API Team

Jeffrey Lee

unread,
Jul 14, 2015, 5:51:04 PM7/14/15
to adwor...@googlegroups.com, leejef...@gmail.com
So I tried that, but I am still getting the error: 

AdsCommon::Errors::Error: Environment '' does not support version 'v201506'


Which is weird because I do have environment in my yml file.

Anthony Madrigal

unread,
Jul 14, 2015, 7:08:24 PM7/14/15
to adwor...@googlegroups.com, leejef...@gmail.com
Hi Jeff,

Please make sure that you are using the latest version of the google-adwords-api gem. Hopefully this fixes the issue.

Jeffrey Lee

unread,
Jul 14, 2015, 8:04:49 PM7/14/15
to adwor...@googlegroups.com, leejef...@gmail.com
I am currently using 0.15.2, unless there is a later one I am not seeing.

Jeffrey Lee

unread,
Jul 14, 2015, 10:07:25 PM7/14/15
to adwor...@googlegroups.com
It turns out my main issue was that in the yml file, originally it was my bad formatting in the yml file. I got rid of the first colon on each line. Bad idea.
Reply all
Reply to author
Forward
0 new messages