AdWords API v201609 to v201708 Migration Problem

44 views
Skip to first unread message

unread,
Sep 25, 2017, 6:22:27 AM9/25/17
to AdWords API Forum
Programming environment:

  • python version 3.3.5
  • googleads 4.7.0
  • api interface call v201609

Because v201609 version of the old version to 2017-10-02 will be disabled, I now have to migrate to the new version!

I have other historical factors running environment, can not upgrade to python 3.4+, can only keep python 3.3.5 version, and the new version of the adwords api interface dependent library needs python 3.4+ support.

Now my migration plan:

  1. I now practice is to adwords interface call when set version v201708
  2. \googleads-python-lib\googleads\adwords.py Code in _SERVICE_MAP Added: v201708 mapping



client.GetService(service, version='v201708')


I have no problem with the test report and the operation of the campaign. I would like to ask you that this migration scheme is feasible and will there be any other problems?!



Sreelakshmi Sasidharan (AdWords API Team)

unread,
Sep 25, 2017, 2:10:03 PM9/25/17
to AdWords API Forum
Hi, 

You are right, the latest version of python client library requires python 3.4 or higher. Your approach might work for services/reports which does not have any changes between the V201609 and V201708 version of the API. You might run into unexpected issues while working with services/reports which did change between these versions. I strongly suggest that you download the latest library version without modifying the old version. If you have more questions about the impact of your approach, my suggestion is to ask the question on the client library issues tracker as the library owner will have more insights about this.

Thanks,
Sreelakshmi, AdWords API Team

unread,
Sep 25, 2017, 10:03:34 PM9/25/17
to AdWords API Forum
Ths Sreelakshmi Sasidharan!
 
 Because the time is tight, can not immediately migrate to python3.4 + environment, such as excessive over a period of time, and so will accept your proposal later, migrate to the new version of the operating environment! 

 
Reply all
Reply to author
Forward
0 new messages