How do I get reporting for a custom channel? I see data in my adsense account for that channel, but when I go through the API, I see null values.Request
Authorization: Bearer ya29.AHES6ZR4WLdS1N3OdEhcll7bljT_UX5KlFvqJMWRA9PQh6OOVM7u9MA
X-JavaScript-User-Agent: Google APIs Explorer
Response
200 OK
- Show headers -
{
"kind": "adsense#report",
"totalMatchedRows": "0",
"headers": [
{
"name": "DATE",
"type": "DIMENSION"
},
{
"name": "TOTAL_EARNINGS",
"type": "METRIC_CURRENCY",
"currency": "USD"
}
],
"totals": [
"",
null
],
"averages": [
"",
null
]
}
Here's the URL of the report in adsense:
https://www.google.com/adsense/v3/app#viewreports/d=today&ag=date&dd=1YchannelY1YMYPUBIDAND CHANNELID&ss=&oc=&oo=ascending&gm=earnings&co=d&sgs=&sgds=&drh=false&cc=&viewmode=1