Hello, I'm starting with the Adwords API now, and I'm getting errors
in the following line:

CampaignServiceInterface campaignService =
user.getService(AdWordsService.V201101.CAMPAIGN_SERVICE);

This is the way I am trying to login:

AdWordsUser AdWordsUser user = new ("my-email","my-password", "id-
client", "" ,"my-token", true);

I'm not able to login, this exception occurs:

Exception in thread "main" javax.xml.rpc.ServiceException: Could not
get ClientLogin token for user: Auth token could not be retrieved
because of IOException: No route to host: connect
com.google.api.adwords.lib.AdWordsVersion at $
AdWordsVersionV201101.setHeaders (AdWordsVersion.java: 359)
at com.google.api.adwords.lib.AdWordsServiceFactory.getConfiguredStub
(AdWordsServiceFactory.java: 184)
at
com.google.api.adwords.lib.AdWordsServiceFactory.generateServiceStub
(AdWordsServiceFactory.java: 104)
at com.google.api.adwords.lib.AdWordsUser.getService
(AdWordsUser.java: 329)

The data are correct, just do not know yet what is this userAgent.
Could you help me?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to