Hi,
I am migrating to newer version v201306, but not able to use old code with
clientCustomerID and developerToken, thowing authentication related error.
Would you pleaes share your new C# code and process to get oAuth parameter.
Thanks in Adavance!!
On Thursday, August 8, 2013 1:44:11 PM UTC+5:30, [email protected]
wrote:
> While attempting to use the client library that includes v201306 in C# in
> the new authentication process an exception is
> generated AdsOAuthException with the following message
>
> Failed to get access token for service account.
>
> {
>
> "error" : "access_denied"
>
> }
>
> The app.config includes
> <AdWordsApi>
> <add key="RetryCount" value="1"/>
> <add key="Timeout" value="100000"/>
> <add key="EnableGzipCompression" value="true"/>
> <add key="UserAgent" value="AlexReports"/>
> <add key="DeveloperToken" value="MCC DEV TOKEN"/>
>
> <add key="AuthorizationMethod" value="OAuth2" />
> <add key="OAuth2ClientId" value="NUMBERS.apps.googleusercontent.com"
> />
> <add key="OAuth2ClientSecret" value="SECRET" />
>
> <add key="OAuth2Scope" value="https://adwords.google.com/api/adwords"
> />
>
> <add key="OAuth2Mode" value="SERVICE_ACCOUNT" /><!--as is not
> replaced-->
> <add key="OAuth2ServiceAccountEmail" value="
> [email protected] <javascript:>" />
> <add key="OAuth2PrnEmail" value="MCC EMAIL" />
> <add key="OAuth2JwtCertificatePath" value="FILENAME-privatekey.p12" />
> <add key="OAuth2JwtCertificatePassword" value="SECRET" />
> </AdWordsApi>
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords 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
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.