How can we figure out that the YouTube video is monetized using youtube/v3/videos?id=<> call?
There is no way to determine whether or not a video is monetized with a call to the YouTube Data API (which appears to be what you mean by youtube/v3/videos?id
).
Instead, you'll need the YouTube Content ID API. Keep in mind that you'll have to be a partner of the CMS, and have the authentication of the CMS, to get visibility to a video's policy this way. You'll probably want to determine a video's policyId
, and then use the policies.list
resource to determine the type of policy (I've never attempted this myself, though this is how I would start).
See this question for more info.
Admin
Updated on June 05, 2022Comments
-
Admin almost 2 years
Given a YouTube Video id, and using
youtube/v3/videos?id=<>
API call, how can we find that the video is monetized? Which param in response signifies that?e.g.
https://www.youtube.com/watch?v=E1iqGiX0lSg
Thanks, Nimish