{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":21682,"path":"integrate-applications/integration-hub/youtube-spoke.md","title":"YouTube Spoke","bundle":null,"doc_type":null,"release":"australia","body":"\n# YouTube Spoke\n\nManage your videos, channels, subscriptions, and playlists in YouTube account, and access analytics and statistics from your ServiceNow instance.\n\n## Request apps on the Store\n\nVisit the [ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the [ServiceNow Store version history release notes](https://www.servicenow.com/docs/r/store-release-notes/sn-store-release-notes.html).\n\n## Integration Hub subscription\n\nThis spoke requires an Integration Hub subscription. For more information, see [Legal schedules - IntegrationHub overview](https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/legal/snc-addendum-integrationhub.pdf).\n\n## Spoke version\n\nYouTube spoke v1.0.5 is the latest version. For version history of the spoke, see [YouTube spoke release notes](https://www.servicenow.com/docs/r/store-release-notes/store-integrationhub-rn-youtube.html).\n\n## Supported versions\n\nThis spoke was built for these YouTube versions, but may be compatible with later versions.\n\n-   Reporting API version v1\n-   Data API version v3\n-   Analytics API version v2\n\n## YouTube spoke requirements\n\nThe YouTube spoke requires a custom app that you create in Google Cloud Platform.\n\n## Spoke dependencies\n\nIf you’re having trouble installing the app, confirm that these dependent plugins are installed:\n\n-   ServiceNow Flow Designer - Dynamic Inputs \\(com.glide.hub.dynamic\\_inputs\\)\n-   ServiceNow IntegrationHub Action Step - REST \\(com.glide.hub.action\\_step.rest\\)\n-   ServiceNow IntegrationHub Runtime \\(com.glide.hub.integration.runtime\\)\n-   Complex Object \\(com.glide.cobject\\)\n-   ServiceNow IntegrationHub Action Template - Data Stream \\(com.glide.hub.action\\_type.datastream\\)\n\n**Note:** Some of these plugins are licensable features and require appropriate licenses, if used outside the spoke implementation.\n\n## Spoke actions\n\nThe YouTube spoke provides actions to automate YouTube tasks when events occur in the ServiceNow AI Platform. Available actions include:\n\n<table id=\"table_u1p_kh2_hfb\"><thead><tr><th>\n\nCategory\n\n</th><th>\n\nAction\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td rowspan=\"6\">\n\nAnalytics\n\n</td><td>\n\nAudience Retention Statistics\n\n</td><td>\n\nRetrieves information about the audience retention statistics.\n\n</td></tr><tr><td>\n\nBasic Statistics\n\n</td><td>\n\nRetrieves information about the basic statistics.\n\n</td></tr><tr><td>\n\nDemographics\n\n</td><td>\n\nRetrieves information about the demographics. That is, details about the age, gender, and geographical location of your audience.\n\n</td></tr><tr><td>\n\nDevice/OS Statistics\n\n</td><td>\n\nRetrieves information about the devices from which your audience accesses your content.\n\n</td></tr><tr><td>\n\nGet Country Codes \\(Metadata\\)\n\n</td><td>\n\nRetrieves details of countries and their ISO codes.**Note:** This action is a metadata action.\n\n</td></tr><tr><td>\n\nTraffic Source Statistics\n\n</td><td>\n\nRetrieves information about the various traffic sources.\n\n</td></tr><tr><td rowspan=\"2\">\n\nCaptions\n\n</td><td>\n\nDelete Caption\n\n</td><td>\n\nDeletes captions on a video.\n\n</td></tr><tr><td>\n\nLook up Captions\n\n</td><td>\n\nRetrieves information about the captions on a video.\n\n</td></tr><tr><td rowspan=\"4\">\n\nComments\n\n</td><td>\n\nDelete Comment\n\n</td><td>\n\nDelete the specified comment on a video.\n\n</td></tr><tr><td>\n\nLook up Comments\n\n</td><td>\n\nRetrieves details about the top-level comments in a comment thread.\n\n</td></tr><tr><td>\n\nPost Comment\n\n</td><td>\n\nPosts a top-level comment on a video.\n\n</td></tr><tr><td>\n\nReply to Comment\n\n</td><td>\n\nPosts a reply to a top-level comment on a video.\n\n</td></tr><tr><td rowspan=\"6\">\n\nGroups\n\n</td><td>\n\nCreate Groups\n\n</td><td>\n\nCreates a group for videos, channels, or playlists.\n\n</td></tr><tr><td>\n\nDelete Group\n\n</td><td>\n\nDeletes the specified group.\n\n</td></tr><tr><td>\n\nDelete Group Item\n\n</td><td>\n\nDeletes the specified group item.\n\n</td></tr><tr><td>\n\nInsert Item into Group\n\n</td><td>\n\nInserts an item in the specified group.\n\n</td></tr><tr><td>\n\nLook up Group-Items\n\n</td><td>\n\nRetrieves information about all items in a group.\n\n</td></tr><tr><td>\n\nLook up Groups\n\n</td><td>\n\nRetrieves information about the specified groups.\n\n</td></tr><tr><td rowspan=\"4\">\n\nPlaylist\n\n</td><td>\n\nCreate Playlist\n\n</td><td>\n\nCreates a playlist in your YouTube account.\n\n</td></tr><tr><td>\n\nDelete Playlist\n\n</td><td>\n\nDeletes a playlist from your YouTube account.\n\n</td></tr><tr><td>\n\nDelete Playlist Item\n\n</td><td>\n\nDeletes the specified playlist item.\n\n</td></tr><tr><td>\n\nInsert into Playlist\n\n</td><td>\n\nInserts an item in the specified playlist.\n\n</td></tr><tr><td rowspan=\"4\">\n\nReports\n\n</td><td>\n\nCreate Report Job\n\n</td><td>\n\nCreates a report job in YouTube account. YouTube generates the requested report within 24 hours.\n\n</td></tr><tr><td>\n\nGet Report Types Choice \\(Metadata\\)\n\n</td><td>\n\nRetrieves information about the Report Types list.\n\n</td></tr><tr><td>\n\nLook up Reports\n\n</td><td>\n\nRetrieves information about the reports generated for a job.\n\n</td></tr><tr><td>\n\nView Report\n\n</td><td>\n\nRetrieves data in a report in CSV format.\n\n</td></tr><tr><td rowspan=\"3\">\n\nSubscriptions\n\n</td><td>\n\nLook up Subscriptions\n\n</td><td>\n\nRetrieves information about the specified subscriptions.\n\n</td></tr><tr><td>\n\nSubscribe Channel\n\n</td><td>\n\nSubscribes to the required channel.\n\n</td></tr><tr><td>\n\nUnsubscribe Channel\n\n</td><td>\n\nUnsubscribes to the required channel.\n\n</td></tr><tr><td rowspan=\"8\">\n\nVideo\n\n</td><td>\n\nDelete Video\n\n</td><td>\n\nDeletes an uploaded video.\n\n</td></tr><tr><td>\n\nLook up Video\n\n</td><td>\n\nRetrieves information about the specified video.\n\n</td></tr><tr><td>\n\nLook up Videos\n\n</td><td>\n\nRetrieves information about the specified multiple videos.\n\n</td></tr><tr><td>\n\nRate/Unrate Video\n\n</td><td>\n\nLikes or dislikes the specified video. Also, remove the previous rating for a video.\n\n</td></tr><tr><td>\n\nSearch\n\n</td><td>\n\nSearches for the required video, channel, or playlist.\n\n</td></tr><tr><td>\n\nSet Thumbnail to Video\n\n</td><td>\n\nSets a thumbnail image for an uploaded video.\n\n</td></tr><tr><td>\n\nSet Video Metadata\n\n</td><td>\n\nSets the metadata of a video.\n\n</td></tr><tr><td>\n\nUpload Video\n\n</td><td>\n\nUploads a video to your channel in YouTube.\n\n</td></tr></tbody>\n</table>## Connection and credential alias requirements\n\nIntegration Hub uses aliases to manage connection and credential information. Using an alias eliminates the need to configure multiple credentials and connection information profiles when using multiple environments. If the connection or credential information changes, you don't need to update any actions that use the connection. For more information, see [Connections and Credentials](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-security/r-credentials.md).\n\nFor information about setting up the spoke, see [Set up the YouTube spoke](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/integration-hub/youtube-setup.md).\n\n"}}