Hi, I'm assuming you are using .NET client library. If so, to get started with OAuth2 there is a usage here<https://code.google.com/p/google-api-adwords-dotnet/source/browse/src/Common/Util/OAuth2TokenGenerator.cs?name=v16.0.0> (you can see it when you run the OAuth2TokenGenerator).
As mentioned, first you need to go to API console (https://code.google.com/apis/console/) and create a new project. Unlike ClientLogin, storing email/password in the config file is not needed using OAuth2 Best, - Takeshi, AdWords API Team On Tuesday, September 3, 2013 12:09:05 AM UTC+9, Rivka wrote: > > I'm trying to set up oAuth2 for my google adwords api authentication > method, however I'm running into an issue with getting my access and > refresh tokens. > > I ran the OAuth2TokenGenerator program, but it's throwing an error: > "Invalid_client". > > I've been using ClientLogin originally for my sandbox account. When I > replaced the username/password with my live username/password it didn't > work. So I thought I'd try oAuth2 - but that's not working either. I'm > wondering if I need to be using a specific email account for this. I'm > using the email account I use to log in to Google Adwords. (Does it need to > be the email account that actually created the adwords account originally??) > > What am I doing wrong? > > Thank you. > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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.
