This page describes how to configure Integration Endpoint to push assets to Youtube.
Initialization
Access your MM, and enter Settings.
In here, you will have to create a new endpoint.
You should be seeing the following screens - just without the data
The following steps will guide you to fill this form out correctly.
Title
Simply name your integration endpoint something descriptive.
Folder ID
In your DAM Center ("DC" henceforth), you must create a new folder.
Go to the DC, right-click Channels → Add folder
Name it "Youtube" /or something else if you prefer)
Right-click the Youtube folder, and press "Edit Folder Rights"
Input the number into your integration form.
You need to fill in some aditional google information that is:
- Secret Client Data
- Refresh token (a token that does not expire for 6 months and can there be used)
- Just enter email
Obtaining your Youtube client secret
Access https://console.cloud.google.com/apis/api/youtube.googleapis.com/credentials and log in as your Google user.
Go to the developer's console and download the JSON file as illustrated below.
If you have no OAuth 2.0 Client ID, please create one using the "Create Credentials" - also shown in the image above.
It's imperative that the client secret is added to the integration endpoint configuration.
Obtaining the Refresh Token
Put this in browser and remember to put in your CLIENT ID first and make sure that the api allows the redirect URI as shown hee.
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:
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
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 this context, it would most sense to subscribe to profile which handles video publishing (only to the channel that has been configured) + unpublish/publish as shown here:
Search name
In the Search name field input "exportSearch"
Some versions of the DC require you to manually "install" the exportSearch.
Please look at for more info if in doubt.
Export media format ID
Go to formats in the DC and get the format ID that corresponds to the published profiles you are "subscribing" to. (In the field "Subscribe to profiles")
For instance, the profile selected above contains the following formats (480p is highlighted here):
Go to formats and get the ID of 480p:
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:
- Get the channel folder ID (the one you just created above)
- Select the export type to youtube
- Copy/Paste the JSON secret
- Select published profiles
- Get the export format id
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).