Can't Update Adwords Version, But About to be Deprecated

49 views
Skip to first unread message

li...@relationshiphero.com

unread,
Mar 19, 2018, 9:53:39 PM3/19/18
to AdWords API Forum

I keep getting emails that API v201708 is going to be deprecated this month. But when I try updating my Python code to use API version v201802 or v201710, I get this error:


GoogleAdsValueError: Unrecognized version for the AdWords API. Given: v201802 Supported: ['v201705', 'v201702', 'v201708']

 This is the line of Python code I have:

ad_service = adwords_client.GetService('AdGroupAdService', version='v201802')

Luis Xander Talag (AdWords API Team)

unread,
Mar 20, 2018, 1:41:29 AM3/20/18
to AdWords API Forum
Hi liron,

It seems like you have attempted to run the most recent service without updating your client library. I would suggest to download the latest client library (v201802) first then retry the request again. You may check this migration guide for reference.

Thanks and regards,
Luis
AdWords API Team

li...@relationshiphero.com

unread,
Mar 26, 2018, 1:56:44 AM3/26/18
to AdWords API Forum
Ah that worked. Thanks!
Reply all
Reply to author
Forward
0 new messages