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

Re: Correct way to retrieve users from AdWords API

2015-01-15 Thread Martin Geubelle
things up, but let me know if I missed anything. Cheers, Josh, AdWords API Team On Thursday, January 15, 2015 at 7:48:03 AM UTC-5, Martin Geubelle wrote: 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

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 could

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/

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 :

Re: AuthenticationError.LOGIN_COOKIE_REQUIRED

2014-11-24 Thread Martin Geubelle
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 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

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