2013-02-25 32 views
0

我想制作一个应用程序来读取我在Adsense上的收入。 我在Google上创建了一个应用程序,并生成了一个URL来登录到应用程序。如何处理Adsense API - Android

https://accounts.google.com/o/oauth2/auth?from_login=0&response_type=code&scope=https://www.googleapis.com/auth/adsense&redirect_uri=xxxxxxxx&access_type=offline&as=-415b671ff3966dc2&pli=1&client_id=xxxxxxxxxxx&authuser=0&hl=en 

但是当用户登录到应用程序,然后单击“允许”的输出没有访问令牌只是有“码”。 也我想知道是否有一个在Android上使用谷歌OAuth API的例子,因为我试图使用它,但我失败了。

回答