Environment 'PRODUCTION' does not support version 'v201710'

47 views
Skip to first unread message

j6

unread,
Jun 15, 2018, 6:45:43 AM6/15/18
to AdWords API and Google Ads API Forum
Just now setting up the example Rails app for the Google AdWords API <https://github.com/googleads/google-api-ads-ruby> and I'm getting the error in the title. How do I use the current/supported version?

Error originates from <AccountController#index> on the line that checks the version number <customer_srv = adwords.service(:CustomerService, get_api_version())>

I suspect I am missing something basic, but I have found no similar question in the forums or documentation. Thanks.

Dhanya Sundararaju (AdWords API Team)

unread,
Jun 15, 2018, 1:53:25 PM6/15/18
to AdWords API and Google Ads API Forum
Hi Jonathan,

Could you please confirm that while setting up the client library, you had followed the steps as mentioned in the README.md file? If yes, then could you please run get_campaigns.rb and reply back with complete SOAP logs and client customer id, so that I can troubleshoot further? You may opt to reply privately to author.  

Regards,
Dhanya, AdWords API Team

j6

unread,
Jun 18, 2018, 2:55:58 PM6/18/18
to AdWords API and Google Ads API Forum
It seems like I may be able to avoid the issue by using the "Enter Test Account ID" option instead of the "List Accounts" option which takes me to the version error mentioned in the original post. I am guessing my token has just not been approved and I will need to straighten that out with my AdWords account. 

Thanks for your response. Going through the README again I noticed that I had not filled out everything in my adwords_api.yml file and I had not moved it to my user root.

Dhanya Sundararaju (AdWords API Team)

unread,
Jun 18, 2018, 3:51:02 PM6/18/18
to AdWords API and Google Ads API Forum
Hi Jonathan,

Glad that you found the README.md file helpful. If not already aware, you can also use this form to contact Compliance team. In the meantime, you may use a test account to get you a headstart in setting up and making API calls as it does not require an approved developer token. Please refer this section of guide for better clarity and let me know if you face any issues while setting up.
Reply all
Reply to author
Forward
0 new messages