Issues: google-adwords-api :v201601 to :v201607 migration

38 views
Skip to first unread message

SOHAIR AHMAD

unread,
Nov 3, 2016, 12:52:26 AM11/3/16
to AdWords API Forum
Hi All, 

I was using google-adwords-api :v201601 of the api, and as we know its depreciated on August 27.

There is an error that I faced on :v201601 

AdwordsApi::Errors::ReportError (HTTP code: 400, body: !!!2|||-1|||Invalid version for use with report XML???):

this is happening when I try to download report with definition using a well known line 

report_utils.download_report(report_definition)


Now I tried to update my version to :v201607 and I am unexpectedly facing this error:

AdsCommon::Errors::Error (Unknown version 'v201607'):

Its happening during 
report_utils function call

API_VERSION = :v201607
report_utils = adwords.report_utils(API_VERSION)


Is there any one to guid me on migration or tell me if I am missing something during migration ?

Thanks in advance,

Sohair.



Peter Oliquino

unread,
Nov 3, 2016, 1:56:23 AM11/3/16
to AdWords API Forum
Hi Sohair,

You might also want to try our latest version, which is currently the v201609. Could you confirm as well if you have updated to our latest client library and used one of our examples (other languages are also available in the link) in generating reports? If yes, then you should be able to successfully generate your report. Additionally, you might also find our reporting guide helpful. I hope this helps and please let me know if the issue persists.

Thanks and regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages