LinkedIn
Copied!

Table of Contents

Creating a YouTube data set record

Version:

Only available versions of this content are shown in the dropdown

Use the YouTube data set to filter the metadata of the YouTube videos according to the keywords that you specify. First, create a YouTube data set to connect with the YouTube Data API. Next, reference the data set from a data flow and use the Text Analyzer rule to analyze the metadata of the YouTube videos.

Before you create a YouTube data set, obtain a Google API key from the Google developers website. This key is necessary to configure the YouTube data set and access the YouTube data.

Do not reference one instance of the YouTube data set in multiple data flows. Stopping one of such data flows, stops the YouTube data set in the other data flows.
  1. In Dev Studio, click Create Data Model Data Set .

  2. Enter the data set label and identifier.

  3. From the Type list, select YouTube.

  4. Specify the ruleset, Applies-to class, and ruleset version of the data set.

    The Applies-to class for YouTube data sets must always be Data-Social-YouTube.
  5. Click Create and open.

  6. On the YouTube tab, enter the Google API key.

  7. Optional:

    Select the Retrieve video URL check box to retrieve the URL of a YouTube video if the metadata of the video contains the keywords that you specify.

  8. Optional:

    Select the Retrieve comments check box to retrieve all users’ comments about a YouTube video whose metadata contains the keywords that you specify.

  9. In the Keywords section, click Add keyword, and enter one or more keywords that you want to find in the video metadata.

    The system performs text analysis on the metadata that contains the keywords.
  10. Optional:

    In the Ignore section, click Add author, and type the user names whose videos you want to ignore.

    See the YouTube Data API documentation for information about limitations when specifying keywords and authors.
  11. Click Save.

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.