Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Creating a YouTube data set record

Updated on March 11, 2021

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 begin: 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.
Caution: 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 CreateData ModelData 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.
    Note: 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.
    Note: See the YouTube Data API documentation for information about limitations when specifying keywords and authors.
  11. Click Save.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us