Hi,

Please follow these wiki articles to start using AdWords API with the 
latest .NET client library:

1. Getting 
started: https://github.com/googleads/googleads-dotnet-lib/wiki/Getting-Started
2. Create client id and 
secret: 
https://github.com/googleads/googleads-dotnet-lib/wiki/How-to-create-OAuth2-client-id-and-secret
3. Generate refresh token and configure your 
application: 
https://github.com/googleads/googleads-dotnet-lib/wiki/Using-OAuth2TokenGenerator

Another approach would be to 
watch https://www.youtube.com/watch?v=WifY2fFyaMw. It's for migrating the 
library from ClientLogin to OAuth2, but the steps to configure the project 
using OAuth2 is pretty much the same.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, June 26, 2014 6:34:18 AM UTC-4, Whatsome WithAll wrote:
>
> @Marcos
> Can you please your code to authorize and post data to Google Adwords API 
> using ClientLogin?
> I am a bit new to c# and .Net and dont know from where to start. 
> It will be too much helpful to me.
> Thanks and Regards
> Tom
>
> On Tuesday, January 22, 2013 11:19:52 PM UTC+5:30, Marcos Placona wrote:
>>
>> Hi, I've just got back to working on an integration with the Adwords API, 
>> and realized it had to be upgraded (from v201109).
>>
>> This was previously a prototype application, that is now scheduled to 
>> come to life, and what I've noticed is that there's been a big leap 
>> from v201109 to v201209 in terms of authentication.
>>
>> By reading Takeshi's reply here 
>> <https://groups.google.com/d/msg/adwords-api/Q4RlHPGNLzU/ZWoc38H05gsJ>, 
>> it became clear that the entire concept of sandbox has now been phased out, 
>> and we now work on the basis of having a test account.
>>
>> Initially on my prototype I was only using ClientLogin as 
>> the AuthorizationMethod through a test account. However, with the new 
>> authentication I've realized I will actually have to use our actual live 
>> MCC account with a test account as described here 
>> <https://developers.google.com/adwords/api/docs/test-accounts>.
>>
>> All well and good, I've got the account created, and have requested 
>> permission to use it as a test account. However using the live credentials 
>> on:
>>
>> <add key="AuthorizationMethod" value="ClientLogin" />
>> <add key="Email" value="xxx"/>
>> <add key="Password" value="xxxxx"/>
>>
>> Isn't an option... :-(
>>
>> I then thought about requesting an OAuth key pair in order to use them on 
>> my application instead. All the documentation I found about getting one of 
>> those seems a bit rough around the edges, so I'm not really sure how to get 
>> one of those without actually making my application request it. Ideally, 
>> I'd like to go somewhere, generate it, and then use it on my config file as 
>> such. 
>>
>> <add key="AuthorizationMethod" value="OAuth" />
>> <add key="OAuthConsumerKey" value="INSERT_YOUR_OAUTH_CONSUMER_KEY_HERE" />
>> <add key="OAuthConsumerSecret" 
>> value="INSERT_YOUR_OAUTH_CONSUMER_SECRET_HERE" />
>>
>> Is that even possible? If so, where can I generate the OAuth keys?
>>
>> Thanks in advance,
>>
>> Marcos
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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/d/optout.

Reply via email to