If you are frequently requesting the API service, you should cache the
token for 10 days (not sure it is 2 weeks or longer, but 10 days
should be safe), there is limit call for clientlogin API in a day
(probably 100 times, not sure the exact number, though).
Found you are using the class library,
Hi Ursula,
The authToken is generated and stored and in the AdWordsUser object.
Ensure that each thread uses the same AdWordsUser to generate the
services.
Best,
- Eric
On Jan 4, 3:41 pm, Ursula wrote:
> Hello,
>
> I'm using the client libraries ( java ) to get the services and I'm
> experienci
Hello,
I'm using the client libraries ( java ) to get the services and I'm
experiencing the same error in the production environment. Here is a
snippet of code where I am seeing this most often. I contruct and
AdWordsUser object and then make a call to get the service that I
need>
adwordsUser.g
Thank you. It worked for me.
On Nov 18, 7:49 pm, AdWords API Advisor
wrote:
> Hi Sreenu,
>
> The main cause of account locking is excessive logins. The v2009 API
> uses authTokens, which are generated by the ClientLogin service
> (http://code.google.com/apis/accounts/docs/AuthForInstalledApps.ht
Hi Sreenu,
The main cause of account locking is excessive logins. The v2009 API
uses authTokens, which are generated by the ClientLogin service
( http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html
). If you request authTokens too frequently your account may be
locked. AuthToken
Hi,
I have tried this and worked fine for some time. Again I am getting
same exception. Could you please tell me the cases which adwords can
lock accounts.
On Nov 17, 2:14 am, AdWords API Advisor
wrote:
> Hi Sreenu,
>
> Have you tried using the account unlock CAPTCHA?
>
> https://www.google.co
Hi Sreenu,
Have you tried using the account unlock CAPTCHA?
https://www.google.com/accounts/displayunlockcaptcha
Best,
- Eric
On Nov 16, 6:53 am, sreenu wrote:
> Hi,
>
> I am getting "ServiceException:javax.xml.rpc.ServiceException: Could
> not get ClientLogin token for user." exception for
Hi,
I am sure , I am passing correct user name and password.
I am using MCC account and I have hundred client accounts.
Here I am giving you the piece of code.
AdWordsUser user = null;
adWordsUser = new AdWordsUser(propertyfile);
adWordsUser = adWordsUser .generateClientAdWordsUser
(clientCusto
Hi Sreenu,
Please double-check the username and password you are using to log
in. After a number of failed logins your account may become locked.
If this is the case, you will need to unlock your account by
completing the CAPTCHA here:
https://www.google.com/accounts/displayunlockcaptcha.
Best