Re: warning BC40000: 'Public Property OAuth2CertificatePath As String' is obsolete: 'Use OAuth2SecretsJsonPath property instead.'

2016-06-16 Thread 'Anash P. Oommen (AdWords API Team)' via AdWords API Forum
Hi,

I'm working on the changes required for the docs right now, but 
OAuth2SecretsJsonPath represents the JSON file you download from the Google 
Developer console when creating a new service account. The UI provides you 
two options - download the certificate as a P12 file + password (which 
corresponds to OAuth2CertificatePassword + OAuth2CertificatePath) or as a 
JSON file (which corresponds to OAuth2SecretsJsonPath). The steps are 
listed on 
https://developers.google.com/adwords/api/docs/guides/authentication#setting_up_service_account_access

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, June 16, 2016 at 1:10:54 PM UTC-4, BDCoder wrote:
>
> Hello,
>
> Trying to upgrade my project via NuGet to v201605, recompiled and I get 
> the following two (2) warnings:
>
> warning BC4: 'Public Property OAuth2CertificatePassword As String' is 
> obsolete: 'Use OAuth2SecretsJsonPath property instead.'.
>
>
> warning BC4: 'Public Property OAuth2CertificatePath As String' is 
> obsolete: 'Use OAuth2SecretsJsonPath property instead.'.
>
>
> So, I try to find *any* documentation on the "OAuth2SecretsJsonPath" 
> property -- I *ASSUME* it is a path to a JSON file that has OAuth2 
> credentials in it -- but I am only guessing.
>
> Doing a Google search of "Adwords API OAuth2SecretsJsonPath" lead me to 
> the following page:
>
>
> https://github.com/googleads/googleads-dotnet-lib/blob/master/src/AdWords/App.config
>
> The above file has the line:
>
>  "INSERT_OAUTH2_SECRETS_JSON_FILE_PATH_HERE" />
>
>
>
> Question(s):
>
> 1) Is the OAuth2SecretsJsonPath value a path to a JSON file (yes/no)?   I 
> am assuming yes.
>
> 2) If yes to above, then what the format (name/value) pairs are expected 
> in the JSON file?  An example *MIGHT* be a good idea.
>
> Where do I find this information in the API documentation ??
>
> Going in circles for the past 3 hours !!!
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/888f998c-dc48-4792-af03-391ad2d9337c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


warning BC40000: 'Public Property OAuth2CertificatePath As String' is obsolete: 'Use OAuth2SecretsJsonPath property instead.'

2016-06-16 Thread BDCoder
Hello,

Trying to upgrade my project via NuGet to v201605, recompiled and I get the 
following two (2) warnings:

warning BC4: 'Public Property OAuth2CertificatePassword As String' is 
obsolete: 'Use OAuth2SecretsJsonPath property instead.'.


warning BC4: 'Public Property OAuth2CertificatePath As String' is 
obsolete: 'Use OAuth2SecretsJsonPath property instead.'.


So, I try to find *any* documentation on the "OAuth2SecretsJsonPath" 
property -- I *ASSUME* it is a path to a JSON file that has OAuth2 
credentials in it -- but I am only guessing.

Doing a Google search of "Adwords API OAuth2SecretsJsonPath" lead me to the 
following page:

https://github.com/googleads/googleads-dotnet-lib/blob/master/src/AdWords/App.config

The above file has the line:





Question(s):

1) Is the OAuth2SecretsJsonPath value a path to a JSON file (yes/no)?   I 
am assuming yes.

2) If yes to above, then what the format (name/value) pairs are expected in 
the JSON file?  An example *MIGHT* be a good idea.

Where do I find this information in the API documentation ??

Going in circles for the past 3 hours !!!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/73013eb4-ccd5-4653-9485-b7c8f861601d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.