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.  AuthTokens have a fairly long life span (a couple of days at
least) so you can and should reuse them between requests.  If your
application is generating a new authToken for every request that could
be the cause of the problem.

Best,
- Eric

On Nov 18, 12:01 am, sreenu <[email protected]> wrote:
> 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 <[email protected]>
> wrote:
>
>
>
> > 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 <[email protected]> wrote:
>
> > > Hi,
>
> > > I am getting "ServiceException:javax.xml.rpc.ServiceException: Could
> > > not get ClientLogin token for user." exception for all  services
> > > (campaign, adgroup, ad, keyword).
>
> > > 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
> > > (clientCustomerId); // clientCustomer id is the email address.
>
> > > CampaignServiceInterface campaignService = null;
>
> > >         try {
> > >             campaignService = user.getService
> > > (AdWordsService.V200906.CAMPAIGN_SERVICE);
> > >         } catch (ServiceException e) {
> > >             logger.error("getCampaignService: Email:["+user.getEmail()
> > > +"]ClientEmail:["+user.getClientEmail()+"]ClientCustomerId:
> > > ["+user.getClientCustomerId()+"]DeveloperToken:
> > > ["+user.getDeveloperToken()+"]applicationToken:
> > > ["+user.getApplicationToken()+"]Password:["+user.getPassword()+"]
> > > ServiceException:"+ e);
> > >             e.printStackTrace();
> > >         }
>
> > > In failure case I am writing the user information.
>
> > > Please advice.

--

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=.


Reply via email to