Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

YouTube Reporting API Basic Metric not working [closed]

$
0
0

We had the following YouTube reporting API to extract the basic metric channel_basic_a2 report

curl --location 'https://youtubereporting.googleapis.com/v1/jobs/<reportId>/reports?createdAfter=2025-11-10T00%3A00%3A00Z' \--header 'Authorization: Bearer XXXX'

Since 11 Nov 2025, the above API has stopped working and it looks like, the metric channel_basic_a2 has been marked as expired.

        {"id": "XXX","reportTypeId": "channel_basic_a2","name": "job_name","createTime": "2024-01-01T11:19:38Z","expireTime": "2025-11-13T00:00:00Z"        }

Based on the YouTube Reporting types endpoint, it looks like channel_basic_a2 is no longer available and replaced by channel_basic_a3

curl --location 'https://youtubereporting.googleapis.com/v1/reportTypes' \--header 'Authorization: Bearer XXXX'

We tried added the new metric channel_basic_a3 to our jobs but still we are not receiving any data.

curl --location 'https://youtubereporting.googleapis.com/v1/jobs/<reportId_for_new_metric>/reports?createdAfter=2025-11-10T00%3A00%3A00Z' \--header 'Authorization: Bearer XXXX'

Response: Available number of report resources for parameter {'createdAfter': '2025-11-15T00:00:00Z'} : 0

Do we have to make any changes in the Youtube Channel as well?


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>