YouTube options

What a post to YouTube takes, read from the same code the Postaki composer uses, so the API and the app agree. The live values of a connected channel (including shared allowances left today) are in GET /brands/{id}/channels and GET /channels/{id}/options; use POST /posts/validate to check a post before you create it. Every post also needs ai_generated, which sets the platform's AI label.

YouTube takes one video per post. title, made_for_kids and paid_placement are required on every YouTube copy. A video up to the short limit below goes out as a Short. synthetic_media is set by ai_generated. YouTube's own upload allowance is shared by every Postaki customer: GET /brands/{id}/channels shows how many uploads are left today.

Platform value: youtube.

Formats

short, video

Media

Kind Rule Value
video Largest width (px) 3840
video Largest height (px) 2160
video Largest file 1024 MB
video Longest video (seconds) 3600

Limits

Limit Value
text_max 5000
files_max 1
title_max 100
description_max_bytes 5000
tags_max_chars 500
short_max_seconds 180

Options

Send these in options of the channel's entry in channels.

Option Type Required Allowed values Note
own_description boolean no Send the description of this copy instead of the post text.
description string no Text of this copy only. Needs own_description.
title string yes
privacy string no public, unlisted, private
made_for_kids boolean yes
paid_placement boolean yes
synthetic_media boolean no Set by ai_generated.
tags list of strings no
category_id string no 22, 26, 24, 27, 19, 23, 10, 28, 25, 17, 1, 2, 15, 20, 29

Example

{
  "channels": [
    {
      "channel_id": 123,
      "options": {
        "title": "Spring offer",
        "made_for_kids": false,
        "paid_placement": false
      }
    }
  ]
}