Could not get ClientLogin token for user: Auth token could not be retrieved because of error: NotVerified ERROR

54 views
Skip to first unread message

bartek.f...@javatech.com.pl

unread,
Aug 3, 2010, 8:16:27 AM8/3/10
to AdWords API Forum
Hi

I am developing application using the AdWords API (Java libraries,
v200909). Unfortunately, I have a problem. For some users (only some),
when I try to get service (any) by operation:

adWordsUser.getService(AdWordsService.V200909.INFO_SERVICE);

I get an error:

13:45:21,561 ERROR [STDERR] javax.xml.rpc.ServiceException: Could not
get ClientLogin token for user: Auth token could not be retrieved
because of error: NotVerified
13:45:21,561 ERROR [STDERR] at
com.google.api.adwords.lib.AdWordsVersion
$AdWordsVersionV200909.setHeaders(AdWordsVersion.java:196)
13:45:21,561 ERROR [STDERR] at
com.google.api.adwords.lib.AdWordsServiceFactory.getConfiguredStub(AdWordsServiceFactory.java:
184)
13:45:21,561 ERROR [STDERR] at
com.google.api.adwords.lib.AdWordsServiceFactory.generateSerivceStub(AdWordsServiceFactory.java:
104)
13:45:21,561 ERROR [STDERR] at
com.google.api.adwords.lib.AdWordsUser.getService(AdWordsUser.java:
331)
13:45:21,561 ERROR [STDERR] at
eu.javatech.campaignmanager.api.google.GenericApi.getInfoService(GenericApi.java:
74)
13:45:21,562 ERROR [STDERR] at
eu.javatech.campaignmanager.api.google.UserApi.isActiveUser(UserApi.java:
40)
13:45:21,562 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
13:45:21,562 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
13:45:21,562 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
13:45:21,562 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:597)


Does anyone have an idea where it come from?

Regards,
Bartek Franaszek

AdWords API Advisor

unread,
Aug 4, 2010, 10:13:32 AM8/4/10
to AdWords API Forum
Hi Bartek,

Looks like the account you are trying to access hasn't been activated
yet. As per http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html#Errors,
the user will need to access their Google account directly to resolve
the issue before you can use it with ClientLogin API to generate an
authToken.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Aug 3, 5:16 pm, "bartek.franas...@javatech.com.pl"

bartek.f...@javatech.com.pl

unread,
Aug 11, 2010, 7:30:31 AM8/11/10
to AdWords API Forum
Thanks Anash, you were right. It tourned out that my client didn't
activate his account...

Cheers,
Bartek Franaszek


On 4 Sie, 16:13, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> HiBartek,
>
> Looks like the account you are trying to access hasn't been activated
> yet. As perhttp://code.google.com/apis/accounts/docs/AuthForInstalledApps.html#E...,
Reply all
Reply to author
Forward
0 new messages