Google Ads API:FileNotFoundError: [Errno 2] No such file or directory

Published on:
Last updated:

This post is also available in: 日本語 (Japanese)

When using Google Ads API( ex. ), I got the following error, so I write an article as a memo.

FileNotFoundError: [Errno 2] No such file or directory

For example in the case running "", you need to set the PATH to "google-ads.yaml" in the argument of GoogleAdsClient.load_from_storage().

- googleads_client = GoogleAdsClient.load_from_storage(version="v14")
+ googleads_client = GoogleAdsClient.load_from_storage("path/to/google-ads.yaml", version="v14")

Reference URL:

No tags for this post.

Kuniyoshi Takemoto is the founder of LLC, and editor of this blog( more and follow me on LinkedIn.