YouTube
どのAIアプリからでも、YouTubeチャンネルに動画とショートを、タイトル、説明、タグ、公開設定を付けて、すぐに、または指定した時間にアップロードできます。
上限
- 接続済みのYouTubeアカウントごとの上限で、そのアカウントを使うすべてのAIアプリとAPIキーで共有されます。
- 1日の上限はUTCの00:00に、1週間の上限は月曜日のUTC 00:00にリセットされます。
- 予約投稿の一覧表示とキャンセルはPluggzy内で行われるため、YouTubeへの呼び出しは発生しません。
投稿ルール
YouTubeが受け付ける内容です。送信前にチェックするため、問題のある投稿で何かを失うことはありません。
textに最大5,000文字。titleに最大100文字。video_url)のどちらか一方を指定します。端末上のファイルは、先にupload_mediaでアップロードします。visibilityPublic (default), private or unlistedpublicprivateunlistedtagsVideo tags (each ≤100 characters, ≤500 in all).made_for_kidsThe video is made for children (default false; true turns comments off for good)thumbnail_urlPublic https link to a custom thumbnail (JPEG or PNG, ≤2 MB).安全のための上限
YouTubeアカウントを健全な状態に保つための仕組みです。このアカウントのすべてのAIアプリとAPIキーに適用され、オフにすることはできません。
publish_atは1分以上先、1年以内で指定します。リンクはその時点まで有効である必要があります。アップロードしたファイルは投稿とともに保持されます。上限に達したとき
知らないうちにキューに入れたり再試行したりすることはありません。ツールは、AIアプリが読んで説明し、適切なタイミングで再試行できるエラーを返します。
invalid_post投稿がYouTubeのルールに違反しています。どのルールかはメッセージに記載されています。gap前回の操作から間もなすぎます。retry_after_secondsだけ待ってください。limit1日または1週間の上限に達しました。リセットされる時刻も返されます。cooldownYouTubeから制限がかかり、アカウントは休止中です。permissionこのアプリには、その操作が許可されていません。再接続して許可してください。{ "error": "YouTube actions are spaced 2–5 s apart, at random, to look human. Wait 2s.", "code": "gap", "retry_after_seconds": 2 }
分析
get_insightsがYouTubeで読み取る内容です。普段の言葉で質問すれば、AIアプリがレポートを選びます。
overview 初期値直近days日間の表示回数、リーチ、エンゲージメント、フォロワーを、各サービス独自の指標と、全サービス共通の主要指標で表示します。accountを指定しない場合は、すべての分析アカウントを並べて表示します。followers 日ごとのフォロワー数(YouTubeではチャンネル登録者数)と、増えた数・減った数。audience 国別・都市別のフォロワーと、サービスが報告している場合は年齢・性別ごとのフォロワー。top_posts 期間中のベスト投稿を、エンゲージメント順、またはsort(表示回数、リーチ、いいね、コメント、シェア、日付)で並べます。accountを指定しない場合は、 すべての分析アカウントが対象です。timing 自分の投稿で成果が出やすい曜日と時間帯(UTC)、投稿頻度とエンゲージメントの関係、投稿がピークに達するまでの速さ。Instagramでは、フォロワーがオンラインの時間。post list_posts、上位の投稿、またはcreate_postから得たpost_idで、1件の投稿の数値を表示します。details: trueを指定すると、 日ごとの推移とサービス独自の追加情報も表示します。ツール
YouTubeには専用のツールがなく、投稿に対応したすべてのチャンネルで使える共通の投稿ツールを使います。このページには、YouTubeが読み取るフィールドだけを表示しています。
Publish a post on one connected account, right away or at publish_at (then it's scheduled: returns a scheduled_post_id for list_scheduled_posts and cancel_scheduled_post). YouTube: text ≤5000, 1 video (required), a title ≤100. YouTube needs a video and a title. Call post_options first for an account you haven't posted to in this conversation. Media: media_ids from upload_media (files the user has, or one you made), or public https links (image_urls, video_url); for a scheduled post, links must keep working until publish_at, uploads are kept with the post. Public and irreversible: confirm the account, final text, media, audience and time (with the user's time zone) with the user first.
accountstringaccount_id of the account to post from (list_accounts). Needed only when several accounts that can post are connected.textstringYouTubeでは必須titlestringYouTubeでは必須media_idsstring[]media_id values from upload_media, in order (images, or one video). Instead of image_urls and video_urlimage_urlsstring[]video_urlstringvisibilityenumpublish_atstringtagsstring[]made_for_kidsbooleanthumbnail_urlstring{ "structuredContent": { "url": "https://www.threads.net/@ada.martin/post/DQ3kF8sDk2L", "post_id": "18063215523019873", "published": true }, "content": [ { "type": "text", "text": "Post published." } ] }
{ "published": false, "status": "publishing", "post_id": "6914b2c8e4a1f0d3c2b5a7e9" }
- 受信09:41:02
- 上限内本日6件中2件
- 間隔を調整+2 s
- 送信済み09:41:04