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',)).


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/520dab3e-49f7-4db6-9c8c-812508156cf0n%40googlegroups.com.
  • Co... 'Mats Beckman' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to