Hello,
I am trying to connect to our Google Ads API through Python. I've gotten it to work with the load_from_storage and pointing to a .yaml file which also points to the service account .json file.
This has tremendous security concerns, and it cannot be the only way to connect with a service account. Using load_from_dict seems to need JSON_KEY_FILE_PATH as a variable anyway, and the same goes for load_from_env.
Surely there has to be a possibility to use variables instead, so that we do not store the keys in our repository? In the future we'll look at key vaults instead, and then we also just want to store the keys.
The error message I get:
Google Ads API call failed: Your YAML file is incorrectly configured for OAuth2. You need to define credentials for either the OAuth2 installed application flow (('client_id', 'client_secret', 'refresh_token')) or service account flow (('json_key_file_path',)).