We have a CMS on YouTube. I am trying to write a PHP script using Youtube API that uploads sound recordings and creates assets based on these recordings. I am reading the references on inserting assets in Google developers:
https://developers.google.com/youtube/partner/docs/v1/assets/insert
The example shown here is about uploading videos. The following snippet shows how to create a video insert request.
// Create a request for the API's videos.insert method to create and upload the video. $insertRequest = $youtube->videos->insert("status,snippet", $video, array('onBehalfOfContentOwner' => $contentOwnerId, 'onBehalfOfContentOwnerChannel' => $channelId));
But i am not finding anything regarding creating an audio or sound recording insert request to be able to upload the recordings. So how to create insert sound recording insert requests instead of video?
Appreciate any help regarding this issue. Thank you