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