YouTube アナリティクスと Reporting API を更新し、YouTube のショート動画の視聴回数のカウント方法に合わせています。
詳細
Method jobs.delete
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
リクエスト
HTTP リクエスト
DELETE https://youtubereporting.googleapis.com/v1/jobs/{jobId}
承認
すべての YouTube Reporting API のリクエストは承認される必要があります。認可ガイドでは、OAuth 2.0 プロトコルを使用して認証トークンを取得する方法を説明しています。
YouTube Reporting API のリクエストでは、次の認証スコープを使用します。
スコープ |
https://www.googleapis.com/auth/yt-analytics.readonly |
YouTube コンテンツの YouTube アナリティクス レポートを表示します。このスコープは再生回数や評価数など、ユーザー アクティビティの指標へのアクセスを提供します。 |
https://www.googleapis.com/auth/yt-analytics-monetary.readonly |
YouTube コンテンツに関する YouTube アナリティクス収益レポートを表示します。このスコープでは、ユーザー アクティビティの指標や、収益と広告パフォーマンスの推定指標を確認できます。 |
パラメータ
パスパラメータ
パラメータ |
jobId |
string
削除されるジョブを一意に識別するために YouTube によって使用される ID。 |
クエリ パラメータ
パラメータ |
onBehalfOfContentOwner |
string
API リクエストを行うコンテンツ所有者の ID。リクエストでこのパラメータの値が指定されていない場合、API サーバーは、ユーザー自身のチャンネルに対するリクエストであると想定します。 |
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンス
成功すると、レスポンスの本文は空になります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-02-22 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2023-02-22 UTC。"],[[["This endpoint is used to delete a reporting job using the YouTube Reporting API."],["Authorization is required using OAuth 2.0 and appropriate scopes, such as `https://www.googleapis.com/auth/yt-analytics.readonly` or `https://www.googleapis.com/auth/yt-analytics-monetary.readonly`."],["The `jobId` path parameter is mandatory, as it specifies the unique ID of the job to be deleted."],["The `onBehalfOfContentOwner` query parameter is optional and specifies the content owner for whom the request is made."],["A successful deletion results in an empty response body."]]],["This document details the process for deleting a reporting job via the YouTube Reporting API. A `DELETE` request is sent to the specified endpoint, using the `jobId` path parameter to identify the job. Authorization is required, with scopes for viewing analytics or monetary reports. An optional `onBehalfOfContentOwner` query parameter can be included to specify a content owner. The request body should be empty, and a successful response will also have an empty body.\n"]]