this’s our test account error:
Exception in thread "main"
com.google.api.ads.common.lib.exception.OAuthException: Credential could
not be refreshed.
at
com.google.api.ads.common.lib.auth.OfflineCredentials.generateCredential(OfflineCredentials.java:229)
at
adwords.axis.v201708.basicoperations.GetAdGroups.main(GetAdGroups.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 400
Bad Request
{
"error" : "invalid_user"
}
We created a test manager account:[email protected]
We got the clientId and clientSecret through the test account:
api.adwords.clientId=
867462009466-t48l04gtqq3ou6kgapsbeousds3k8pjk.apps.googleusercontent.com
api.adwords.clientSecret=gZ6Dn4GSVs6N557cbWaPfOKJ
call GetRefreshToken.java I get freshToken
api.adwords.refreshToken=4/DmNiW-lM13op0tlnwmiKnC9SRBxP-9EHmpk5NZ-ehvo
Who can help me ???
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/01b2c2c7-c3b8-4d72-b779-fed65b3849b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.