Error import when generating executable with auto-py-to-exe package

23 views
Skip to first unread message

Mattia Achilli

unread,
Dec 8, 2022, 8:23:59 AM12/8/22
to Google Ads API and AdWords API Forum
Hello everyone, I have a very strange problem, when i develop on PyCharm normally i can use perfectly the google ads package while when I generate the executable using the auto-py-to-exe and trying to execute it gives me back an error (i attached the image), what could it be?
Senza titolo.png

Google Ads API Forum Advisor

unread,
Dec 9, 2022, 12:35:41 AM12/9/22
to mattiaac...@gmail.com, adwor...@googlegroups.com
Hi Mattia,

Thank you for reaching out to us.

Could you confirm if you are using the latest client library code for Python here? If yes, then for our team to further investigate and validate why you are encountering errors, could you please provide us with the complete API logs (request and response with request-id) generated on your end? Note that this can be requested or provided to the developer handling the Google Ads API transactions when logging of the API requests has been enabled.

This is the specific guideline to enable Python.
- https://developers.google.com/google-ads/api/docs/client-libs/python/logging

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

On the other hand, since you said that you develop on PyCharm normally and can use perfectly the google ads package but when you generate the executable using the auto-py-to-exe and trying to execute it gives you back an error. With this, I would suggest you reach out to your Python client library owner by filing an issue in the Issue tab of github via this link, as they are more equipped to provide guidance on this matter.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2h0oh5:ref
Reply all
Reply to author
Forward
0 new messages