AuthenticationError.LOGIN_COOKIE_REQUIRED

2014-11-24 Thread Martin Geubelle
Hi, Since I am using my application on the web client (and not in local anymore), I have experienced a strange error. It looks like I can retrieve refresh/access token for the same adwords account only once. I am using Python Library. 1. I state the URL for getting API access (like : ht

Re: AuthenticationError.LOGIN_COOKIE_REQUIRED

2014-11-24 Thread Martin Geubelle
rized) account in the process. > > > -Danial, AdWords API Team. > > > On Monday, November 24, 2014 1:28:55 PM UTC+3, Martin Geubelle wrote: >> >> Hi, >> >> Since I am using my application on the web client (and not in local >> anymore), I have experienc

Re: AuthenticationError.LOGIN_COOKIE_REQUIRED

2014-11-24 Thread Martin Geubelle
Thank you for you quick answer ! *"Generally, you can approve one application only once per account, so you may be hitting a "wrong" (already authorized) account in the process."* Is it only true for Web application ? Because in local I have never experienced this problem ... In fact, when the

Re: AuthenticationError.LOGIN_COOKIE_REQUIRED

2014-11-25 Thread Martin Geubelle
Hi, The workaround I found for now is to revoke the access token and ask the authorization again, but it's not very convenient. I just don't get why it's possible in local with an "native application client identifier" and not on the web with an "web application client identifier" ... What cou

Re: AuthenticationError.LOGIN_COOKIE_REQUIRED

2014-11-25 Thread Martin Geubelle
Solution found on this page : https://developers.google.com/accounts/docs/OAuth2WebServer Use approval_prompt=force Martin -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDe

Correct way to retrieve users from AdWords API

2015-01-15 Thread Martin Geubelle
Hi there, I was wondering about the proper way of getting the CustomerId of an account in all cases using the API. First, I was using the service "ManagedCustomerService" and that worked well for my accounts, until I noticed that I couldn't get accounts that were not managed by MCC (if I under

Re: Correct way to retrieve users from AdWords API

2015-01-15 Thread Martin Geubelle
t; > objects >you get back from *ManagedCustomerService.get* will be the set of >customers managed by the account specified in the *clientCustomerId* SOAP >header. > > Hopefully that clears things up, but let me know if I missed anything. > > Cheers, > Josh, AdWords API Te