This page describes how to configure Integration Endpoint to push assets to Youtube.
Pre-requisites:
You need a developers account and a project (Check details her: https://developers.google.com/youtube/v3/getting-started)
In your project you must enable the Youtube Data API v3.
Initialization & Configuration
Access your MM, and enter Settings.
...
Input the number into your integration form.
You need to fill in some aditional additional google information that which is :important
- Secret Client Data
- Refresh token (a token that does not expire for 6 months and can there be used)
- Just enter email
...
- (described below
- Refresh Token - IGNORE THIS for now. It will be automatically set.
- UserId - the email of the account that should be used to upload
- Redirect URI - this will be the url of the http://yourdam/api/v1/IntegrationEndpoint/google-integration-signing
Obtaining your Youtube client secret
Access https://console.cloud.google.com/apis/api/youtube.googleapis.com/credentials and log in as your Google user.
...
Info |
---|
It's imperative that the client secret is added to the integration endpoint configuration. |
Obtaining the Refresh Token
...
and become Authenticated
The following should be an automatic link in MM5 but right now you will have to construct it yourself. You will need:
- Client ID
- Redirect URI (as described above - has to be the digizuite integration api)
- Uid of the integration endpoint to use
https://accounts.google.com/o/oauth2/v2/auth?scope=https://www.googleapis.com/auth/youtube.upload&response_type=code&access_type=offline&redirect_uri=https://YOURDAMIN/digizuitecore/signin-google&client_id={CLIENT_ID}
Get the code from the redirect (important this redirect URL corresponds to access on your developer account project):
The client code above can be used to fetch a refresh token:
&state={integrationEndpointUid}
If you got it right then you will see (and you can now start adding assets to your channel):
Ensuring that the redirect URL corresponds to an authorized redirect URL (where you configure your secrets):
...
But at the same time ensure that the domain is authorized on your account:
Events Definition
For the type of events which export to Youtube will trigger on, please go to the page named "4.6 Integration Endpoint" to get a full overview.
...
In here you can see a list of export formats and the ID to the very left. (In this case 50038)
Configuration
Go to the settings page and create a new Integration Endpoint. The most Important steps are:
...
Test
You can easily test the integration by dragging in a video to the Youtube channel folder (and make sure that it actually uses the right profile on publishing).
...