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

Error building API client for YouTube Content ID API (youtubePartner v1) when retrieving asset metadata with customId

$
0
0

I’m trying to use the YouTube Content ID API to retrieve metadata for all assets associated with my content owner account, including the customId field, and save the results to a CSV file. However, I’m encountering an error when building the API client with googleapiclient.discovery.build:

What I’m Trying to DoI want to:

Authenticate using OAuth 2.0 with a saved token.json (generated via google-auth-oauthlib).Call the assets.list endpoint to fetch all asset metadata, including customId, title, type, ownership, etc.Save the results to a CSV file with columns like asset_id, type, title, custom_id, etc.My account is a YouTube Partner with Content ID access, and I’m using the correct contentOwnerId.

QuestionsWhy am I getting the Error building API client: name: youtubePartner version: v1? Is youtubePartner the correct API name for the YouTube Content ID API?How can I fix this to successfully call assets.list and retrieve customId in the metadata?Are there specific configurations or library versions needed for the youtubePartner API?If googleapiclient isn’t viable, what’s the best way to structure HTTP requests to ensure I get all asset metadata, including customId?


Viewing all articles
Browse latest Browse all 3712

Latest Images

Trending Articles



Latest Images

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