YouTube Reporting API
Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.
Media & content#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.
Endpoints 8
jobs
- GETLists jobs.
/v1/jobs?includeSystemManaged=true&onBehalfOfContentOwner=string&pageSize=0&pageToken=stringLists jobs. - POSTCreates a job and returns it.
/v1/jobs?onBehalfOfContentOwner=stringCreates a job and returns it. - GETGets a job.
/v1/jobs/:jobId?onBehalfOfContentOwner=stringGets a job. - DELETEDeletes a job.
/v1/jobs/:jobId?onBehalfOfContentOwner=stringDeletes a job.
jobs.reports
- GETGets the metadata of a specific report.
/v1/jobs/:jobId/reports/:reportId?onBehalfOfContentOwner=stringGets the metadata of a specific report. - GETLists reports created by a specific job
/v1/jobs/:jobId/reports?createdAfter=string&onBehalfOfContentOwner=string&pageSize=0&pageToken=string&startTimeAtOrAfter=string&startTimeBefore=stringLists reports created by a specific job. Returns NOT_FOUND if the job does not exist.
media
- GETMethod for media download
/v1/media/:resourceNameMethod for media download. Download is supported on the URI /v1/media/{+name}?alt=media.
reportTypes
- GETLists report types.
/v1/reportTypes?includeSystemManaged=true&onBehalfOfContentOwner=string&pageSize=0&pageToken=stringLists report types.
API details
- Base URL
https://youtubereporting.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 2 scopes
An API key in the key query parameter - Operations
- 8 operations on 6 pathsGET 6POST 1DELETE 1
- Main resources
- jobs 4jobs.reports 2media 1reportTypes 1
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the YouTube Reporting API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the YouTube Reporting API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 2 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Lists jobs.” (GET /v1/jobs?includeSystemManaged=true&onBehalfOfContentOwner=string&pageSize=0&pageToken=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the YouTube Reporting API?
Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files. It is listed under Media & content and has 8 endpoints.
Who publishes the YouTube Reporting API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the YouTube Reporting API?
Requests go to https://youtubereporting.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the YouTube Reporting API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 2 scopes; an API key in the key query parameter.
How many endpoints does the YouTube Reporting API have?
8 operations on 6 paths (6 GET, 1 POST, 1 DELETE). The largest groups are jobs, jobs.reports, media, reportTypes.
Is forking the YouTube Reporting API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.