Thank you very much Anash! I think I will do all my tests (and prototype) using ClientLogin for simplicity sake, but add a step into the build to actually do the oAuth authentication. I know I've got time, but wanna make sure I won't need to do this in a hurry down the line when ClientLogin is to be sunset.
With kindest regards, Marcos On Monday, 4 February 2013 08:20:37 UTC, Anash P. Oommen (AdWords API Team) wrote: > > Hi Marcos, > > Yes, ClientLogin is deprecated in favour of OAuth2. See > https://developers.google.com/accounts/docs/AuthForInstalledApps for > details. However, ClientLogin is part of Google Apps API, which has a 3 > year deprecation policy (https://developers.google.com/accounts/terms), > so my guess is that it is okay to use ClientLogin for the time being. > > Cheers, > Anash P. Oommen, > AdWords API Advisor. > > On Friday, February 1, 2013 9:34:11 PM UTC+5:30, Marcos Placona wrote: >> >> Hi Anash, >> >> thank you for your answer. >> >> You're absolutely right, I could just use the test account (and its >> credentials), and carry on using ClientLogin. I have done it now, and it >> works. >> >> However, I remember reading somewhere that ClientLogin would be phased >> out in favour of OAuth2, and if that's the case, I should probably already >> start thinking about how to implement it with OAuth2. Can you please >> confirm if my statement is correct, and ClientLogin is really going to be >> phased out? >> >> Thank you so much for your answers, >> >> Marcos >> >> On Monday, 28 January 2013 05:47:59 UTC, Anash P. Oommen (AdWords API >> Team) wrote: >>> >>> Hi Marcos, >>> >>> May I know why the use of ClientLogin isn't an option? You could use >>> email/password of the test account to test your script, and once the >>> development is done, you could substitute your production account >>> credentials instead. This way you don't have to use live credentials in >>> your script in the development phase. >>> >>> Also, if you want to start using OAuth2 instead of ClientLogin, then PHP >>> library has a code example that explains how this may be done. See >>> http://code.google.com/p/google-api-adwords-php/source/browse/examples/v201209/Misc/UseOAuth2.phpfor >>> details. >>> >>> Cheers, >>> Anash P. Oommen, >>> AdWords API Advisor. >>> >>> 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 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.
