Dan S.
Dan S.

Reputation: 177

Get API Key for adsense requests

I'm using the API Explorer tool to create some request urls for google adsense here. Here is the request url that they gave me that gives a response of today's earnings: https://www.googleapis.com/adsense/v1.4/reports?startDate=today&endDate=today&accountId=MY_ACCOUNT_ID&metric=EARNINGS&key={YOUR_API_KEY}

However, I don't know how to get my API key for google developer to be able to recreate this url in my code.

Upvotes: 0

Views: 964

Answers (1)

Morfinismo
Morfinismo

Reputation: 5243

The API key is created on the Cloud Platform Console. Please refer to this document and you will be able to do it. Hope this helps!

Upvotes: 1

Related Questions