Channel homepage sections
manage_youtube_channel_sectionManage YouTube channel homepage sections: list, create, update, or delete shelves that hold playlists, channels, or auto-filled content. Writes go live immediately.
Instructions
THE SHELVES ON THE CHANNEL HOMEPAGE — what a visitor sees first, and the only place a chosen playlist can be put above YouTube’s own default layout. action:'list' reads them in the order they appear, 'create' adds one, 'update' replaces one, 'delete' removes one (confirm-gated, and there is no undo — the layout has to be rebuilt by hand). EVERY WRITE IS PUBLIC IMMEDIATELY: a channel homepage is not a draft. type decides what the shelf holds — singlePlaylist and multiplePlaylists take playlist ids, multipleChannels takes channel ids and those two plus multiplePlaylists take a title you choose, while popularUploads, recentUploads, subscriptions and the rest are filled by YouTube and take neither. position is zero-based and is what re-orders the page. DO NOT TREAT A LIST AS A READ-BACK: YouTube's own section list lags a write by a few seconds in BOTH directions — measured, it returned nothing right after a create and still returned a deleted section right after a delete — so a write reports what YouTube returned and a delete reports as ACCEPTED, and re-listing straight away can show the old layout. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hl | No | language for the returned titles, e.g. "en" | |
| type | No | singlePlaylist | multiplePlaylists | popularUploads | recentUploads | likes | allPlaylists | likedPlaylists | recentPosts | recentActivity | liveEvents | upcomingEvents | completedEvents | multipleChannels | postedVideos | postedPlaylists | subscriptions. Required to create or update | |
| style | No | leave it off to let YouTube choose | |
| title | No | the heading, and only multiplePlaylists and multipleChannels take one — YouTube writes the heading for every other type | |
| action | No | defaults to 'list' | |
| confirm | No | must be true to actually delete | |
| channels | No | channel ids to feature. Required for multipleChannels | |
| position | No | zero-based position on the homepage. Leave it off and YouTube places the section | |
| playlists | No | playlist ids, from list_youtube_playlists. Required for singlePlaylist (exactly one) and multiplePlaylists | |
| sectionId | No | for update and delete — from action:'list' |