AdWords API: Python2 -> Python3 which library to use?

86 views
Skip to first unread message

Matthias Baader

unread,
Apr 10, 2019, 5:08:53 AM4/10/19
to AdWords API and Google Ads API Forum
Hi, 

a few days ago, you announced the deprecation for Python 2 in both the AdWords/Google Ad Manager and Google Ads Python client libraries soon in 2019:


In the AdWords-API library linked there, you'll find this information:

This library supports both Python 2 and 3. To use this library, you will need to have Python 2.7.9 (or higher) or Python 3.4 (or higher) installed.


But the examples there clearly will only work for Python2, e.g.:


... and there is no "from __future__ import..." or something to make those examples viable for Python2 and Python3

So my question is: if I install this library with:.

pip install googleads

will Python3 work or do I have to install a different library?

Regards

googleadsapi...@google.com

unread,
Apr 10, 2019, 6:14:49 AM4/10/19
to adwor...@googlegroups.com
Hi Matthias,

Thank you for contacting support. However, since your concern is more related to the Python client library, you may reach out to the client library owners directly via this link as they are better equipped to assist you regarding this matter.

Best regards,
Peter
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/910dd70c-8cea-4dc5-ba9b-1c9490ba14ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages