2013-02-25 64 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的例子,因爲我試圖使用它,但我失敗了。

回答