![]() |
VOOZH | about |
Using SQL Server as a backup for critical business data provides an essential safety net against loss. Backing up data to SQL Server enables business users to more easily connect that data with features like reporting, analytics, and more.
This example demonstrates how to use the CData SSIS Tasks for YouTube Analytics inside of a SQL Server SSIS workflow to transfer YouTube Analytics data into a Microsoft SQL Server database.
To get started, add a new YouTube Analytics source and SQL Server ADO.NET destination to a new data flow task.
๐ The Data Flow task used in this example. (Salesforce is shown.)Follow the steps below to save YouTube Analytics connection properties in a connection manager.
YouTube Analytics uses the OAuth authentication standard. You can use the embedded CData OAuth credentials or you can register an application with Google to obtain your own.
In addition to the OAuth values, to access YouTube Analytics data set ChannelId to the Id of a YouTube channel. You can obtain the channel Id in the advanced account settings for your channel. If not specified, the channel of the currently authenticated user will be used.
If you want to generate content owner reports, specify the ContentOwnerId property. This is the Id of the copyright holder for content in YouTube's rights management system. The content owner is the person or organization that claims videos and sets their monetization policy.
๐ Configuring a connection (Salesforce is shown).Follow the steps below to specify the query to be used to extract YouTube Analytics data.
SELECT Snippet_Title, ContentDetails_ItemCount FROM Groups๐ The SQL query to retrieve records. (Salesforce is shown.)
Follow the steps below to specify the SQL server table to load the YouTube Analytics data into.
You can now run the project. After the SSIS Task has finished executing, your database will be populated with YouTube Analytics data.
๐ The completed import. (Salesforce is shown.)Download a free trial of the YouTube Analytics SSIS Component to get started:
Download NowLearn more:
๐ YouTube Analytics IconPowerful SSIS Source & Destination Components that allow you to easily connect SQL Server with live YouTube Analytics account data through SSIS Workflows.
Use the YouTube Analytics Data Flow Components to synchronize with YouTube Analytics Traffic, Sources, Demographics, Subscribers, etc. Perfect for data synchronization, local back-ups, workflow automation, and more!