Ritik Soni
unread,Jan 29, 2022, 12:52:32 AM1/29/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Ads API and AdWords API Forum
Traceback (most recent call last):
File "C:\Users\AppData\Local\Programs\Python\Python310\lib\site-packages\googleads\common.py", line 243, in LoadFromStorage
with open(path, 'rb') as handle:
FileNotFoundError: [Errno 2] No such file or directory: '.../googleads.yaml'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\PycharmProjects\googleExample\Google ads.py", line 16, in <module>
adwords_client = adwords.AdWordsClient.LoadFromStorage('.../googleads.yaml')
File "C:\Users\AppData\Local\Programs\Python\Python310\lib\site-packages\googleads\adwords.py", line 175, in LoadFromStorage
return cls(**googleads.common.LoadFromStorage(
File "C:\Users\AppData\Local\Programs\Python\Python310\lib\site-packages\googleads\common.py", line 246, in LoadFromStorage
raise googleads.errors.GoogleAdsValueError(
googleads.errors.GoogleAdsValueError: Given yaml file, .../googleads.yaml, could not be opened.