Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This page describes how to configure the YouTube Service to upload videos to YouTube and delete videos from YouTube. Two steps are required, namely Google configuration and Digizuite configuration. Be aware of the limitations and important knowledge. In particular, note the limit on the number of daily uploads from the quota system.

Google Configuration

Some preliminary configuration must be done with Google:

...

It is possible to also fetch to the privacy status when uploading an asset. This will override the default privacy status on the assets where it is set. This can be done with the following steps:

...

  • At most 1 YouTube client should be created per ClientId from Google.

  • All non-recoverable errors are collected in the error queue “YoutubeService.error” in RabbitMQ.

  • Videos uploaded with the YouTube Service should also be deleted with the YouTube Service by unpublishing or deleting the video in the DAM Center. If a video is manually deleted from YouTube, and it is then unpublished or deleted in the DAM Center, and error will be recorded in the error queue in RabbitMQ.

  • Google has a “Quota” system that limits the number of calls to their APIs. For a new project, the default limit is 10,000 per day for the YouTube API, which amounts to approximately 6 video uploads per day. It is possible to apply for a higher limit from https://console.developers.google.com/apis/api/youtube/quotas. If the limit is reached when trying to upload a video, the upload will end up in the error queue in RabbitMQ, from where it can be retried when more quota is available. It is, of course, also always possible to retry an upload by unpublishing and publishing the video again. The quota usage can be monitored from https://console.developers.google.com/apis/api/youtube.googleapis.com/overview. It is possible to apply for a higher limit from https://console.developers.google.com/apis/api/youtube/quotas. This process might take a few weeks. Please ensure that you are logged in with the appropriate user when requesting more quota.