获取adsense请求的API密钥

时间:2016-11-30 23:09:29

标签: google-api request

我使用API​​ Explorer工具为google adsense here创建了一些请求网址。以下是他们给我的请求网址,以回应今天的收入: https://www.googleapis.com/adsense/v1.4/reports?startDate=today&endDate=today&accountId=MY_ACCOUNT_ID&metric=EARNINGS&key={YOUR_API_KEY}

但是,我不知道如何让我的API密钥让Google开发人员能够在我的代码中重新创建此网址。

1 个答案:

答案 0 :(得分:1)

API密钥是在Cloud Platform Console上创建的。请参阅this document,您就可以了。希望这有帮助!

相关问题