Hi
I want to get all my vidoes Traffic Source (Youtube Search) Words through coding
Thanks
Hi
I want to get all my vidoes Traffic Source (Youtube Search) Words through coding
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Jayraj ChhayaRank #304 · 8.2K reputationPosted Apr 4, 2024, 8:16 AM EDT
You can utilize the YouTube Data API. First, you need to authenticate your application with the API and then make a request to retrieve the video details including the traffic source.
using Google.Apis.Services; using Google.Apis.YouTube.v3; var youtubeService = new YouTubeService(new BaseClientService.Initializer() { ApiKey = "YOUR_API_KEY", ApplicationName = "YourAppName" }); var videoRequest = youtubeService.Videos.List("snippet"); videoRequest.Id = "YOUR_VIDEO_ID"; var videoResponse = await videoRequest.ExecuteAsync(); var trafficSource = videoResponse.Items[0].Snippet.Description; // Extract the YouTube Search keywords from the traffic sourceRamco RamcoRank #462 · 5.4K reputationPosted Apr 5, 2024, 3:21 AM EDT
Hi Jayraj
I am trying like below . Howfurther to be done
var clientTag = new RestClient("https://www.googleapis.com/youtube/v3/"); var tagRequest = new RestRequest("videos", Method.GET); tagRequest.AddParameter("key", "AIzaSyKSHDHYDHDYD6Q9b5LsKYHT8");Thanks