Hi Peter,

As per guide 
<https://github.com/googleads/googleads-dotnet-lib/wiki/API-access-using-own-credentials-(server-to-server-flow)#step-2---setting-up-the-client-library>,
 
if you are generating OAuth2 credentials via service account flow 
<https://developers.google.com/adwords/api/docs/guides/authentication#oauth2_service_accounts>,
 
the path to the generated .json file seems to be the only value that you 
can set for OAuth2SecretsJsonPath key in the config file. You may double 
check with the .NET client library team 
<https://github.com/googleads/googleads-dotnet-lib/issues> to confirm.

Alternatively, you may want to consider generating OAuth2 credentials using 
the installed application flow 
<https://developers.google.com/adwords/api/docs/guides/authentication#generate_oauth2_credentials>
 instead. 
It achieves similar goal and allows you to set client Id and client secret 
variables 
<https://github.com/googleads/googleads-dotnet-lib/wiki/API-access-using-own-credentials-(installed-application-flow)#step-2---setting-up-the-client-library>
 instead 
of setting a file path. 

Regards,
Ivan
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ec1f3557-48f2-4fa3-8033-00e1af1552c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to