Hi,
Thank you for reaching out to us. I would suggest that you see this github post
for a fix to the issue, or download and install the latest version of our
client library to remedy setup issues. For Google Ads Python, you can find the
latest version here. Let me know if you have further
ads%2Fapi%2Fdocs%2Fclient-libs%2Fpython%2Foauth-installed>
>> .
>>
>> When running the code on example, eg, get_keyword_stats.py, I got
>> : module 'google.ads.google_ads.v2.proto.errors' has no attribute
>> 'errors_pb2'
>>
>> How could I fix it?
>>
>
.errors_pb2.GoogleAdsFailure()
> AttributeError: module 'google.ads.google_ads.v2.proto.errors' has no
> attribute 'errors_pb2'
>
> File
> "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/google/ads/google_ads/interceptors/exception_intercepto
m%2Fgoogle-ads%2Fapi%2Fdocs%2Fclient-libs%2Fpython%2Foauth-installed>
> .
>
> When running the code on example, eg, get_keyword_stats.py, I got
> : module 'google.ads.google_ads.v2.proto.errors' has no attribute
> 'errors
gle_ads.v2.proto.errors' has no
attribute 'errors_pb2'
File
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/google/ads/google_ads/interceptors/exception_interceptor.py",
line 68, in _get_google_ads_failure
Change like this bellow, then it works!
Hello,
Thank you for reaching out. This error can be observed as a result of the setup
issues. Could you please try to re-download and install the latest version of
our Python client libraries from here to remedy setup issues. Please give this
a try and let me know if you still run into
e code on example, eg, get_keyword_stats.py, I got
: module 'google.ads.google_ads.v2.proto.errors' has no attribute
'errors_pb2'
How could I fix it?
Many thanks!!
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogsp