YouTube traffic sources and search terms
youtube_traffic_sourcesWhere the channel's views come from (YouTube search, suggested videos, Shorts feed, external sites...). Pass type='YT_SEARCH' for the YouTube SEARCH TERMS people used to find the videos (the YouTube equivalent of Search Console queries - compare them with Search Console for content gaps), 'EXT_URL' for the websites that send viewers, or 'RELATED_VIDEO' for the videos yours are suggested next to.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "youtube_traffic_sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Omit for the overall split by source. | |
| video | No | Limit to one video: id, URL, or title. | |
| channel | No | Channel name or id. Only needed when more than one YouTube channel is connected. | |
| endDate | No | YYYY-MM-DD. Default: 3 days ago (YouTube Analytics lags 2-3 days). | |
| startDate | No | YYYY-MM-DD. Default: 28 days before endDate. |