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

YouTube API v3: setting contentDetails.contentRating.ytRating field not reflecting in YouTube UI

$
0
0

I'm creating videos using the Videos insert API, and the contentDetails.contentRating.ytRating field does not seem to be setting the property correctly.

Using the Java library, I'm doing

new Video()  .setContentDetails(    new VideoContentDetails()      .setContentRating(new ContentRating().setYtRating("ytAgeRestricted"))  );

but the "Age restriction" property is always set to "No" on these created videos. Is there something I should be doing differently?


Viewing all articles
Browse latest Browse all 3721

Latest Images

Trending Articles



Latest Images

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