REST Resource: networks.sources.content.adBreaks
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
リソース: AdBreak
ライブ動画イベントでミッドロール挿入点用の広告を決定する際に使用される、ミッドロール挿入点のメタデータ。
JSON 表現 |
{
"name": string,
"expectedDuration": string,
"customParams": string,
"scte35CueOut": string,
"podTemplateName": string,
"breakState": enum (BreakState )
} |
フィールド |
name |
string
出力専用。ミッドロール挿入点のリソース名。このフィールドの形式は「networks//assets//adBreaks/」です。をご覧ください。 network_code は、このコンテンツが属する Google アド マネージャーのネットワーク コードです。 asset_key は、Google 広告の管理でミッドロール挿入点が作成されたライブ ストリーム イベントのキーです。 adBreakId は、ミッドロール挿入点のキーです。出力のみ。
|
expectedDuration |
string (Duration format)
必須。予想される休憩時間。 s で終わる小数 9 桁までの秒単位の期間。例: "3.5s" 。
|
customParams |
string
アド マネージャーのカスタム条件ターゲティングで、この広告ブレークの広告リクエストに含める Key-Value ペア。例: 'key1=value&key2=value2,value22'
|
scte35CueOut |
string
scte35 キューアウトからの Base64 エンコード データ。splice_insert() または time_signal() コマンドが含まれることがある。例: - time_signal() を使用する場合: "/DA0AAAAAAAA///wBQb+cr0AUAAeAhxDVUVJSAAAjn/PAAGlmbAICAAAAAAsoKGKNAIAmsnRfg==" - splice_insert() あり: "/DAvAAAAAAAAAA///wFAVIAACPf+/+sABAAWAADVnALAL
|
podTemplateName |
string
Google アド マネージャー連続配信広告テンプレート名。
|
breakState |
enum (BreakState )
ミッドロール挿入点の現在の状態。
|
メソッド |
|
ライブ ストリーム内にミッドロール挿入点を作成するための API。 |
|
ライブ ストリーム内のミッドロール挿入点を一覧表示する API。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-21 UTC。
[null,null,["最終更新日 2025-08-21 UTC。"],[[["\u003cp\u003eAdBreak is metadata used to manage ad breaks within live video events for ad decisioning.\u003c/p\u003e\n"],["\u003cp\u003eIt features attributes like name, expected duration, custom parameters, SCTE-35 cue-out, pod template name, and break state.\u003c/p\u003e\n"],["\u003cp\u003eYou can create and list AdBreaks using the provided API methods.\u003c/p\u003e\n"]]],["Ad Break metadata defines ad decision criteria for live video events. Key information includes the `name` (resource identifier), `expectedDuration` (in seconds), `customParams` (key-value targeting), `scte35CueOut` (Base64 encoded data), `podTemplateName`, and `breakState` (current state). The `create` method allows for creating ad breaks, and `list` allows for viewing them. The Ad break has a defined structure using a JSON representation.\n"],null,["# REST Resource: networks.sources.content.adBreaks\n\n- [Resource: AdBreak](#AdBreak)\n - [JSON representation](#AdBreak.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AdBreak\n-----------------\n\nAd break metadata used to decision ads for an ad break in a live video event.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"expectedDuration\": string, \"customParams\": string, \"scte35CueOut\": string, \"podTemplateName\": string, \"breakState\": enum (/ad-manager/video/rest/v1/networks.assets.adBreaks#AdBreak.BreakState) } ``` |\n\n| Fields ||\n|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name of the Ad Break. This field will have the format of \"networks//assets//adBreaks/\". network_code is the network code in Google Ad Manager to which this content belongs. asset_key is the key of the Live Stream Event in Google Ad Manage under which the Ad Break was created. adBreakId is the key of the Ad Break. OUTPUT ONLY. |\n| `expectedDuration` | `string (`[Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration)` format)` Required. Expected break duration. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `\"3.5s\"`. |\n| `customParams` | `string` Key-value pairs to be included on ad requests for this break for custom criteria targeting in Ad Manager. Example: 'key1=value\\&key2=value2,value22' |\n| `scte35CueOut` | `string` Base 64 encoded data from the scte35 cue out. May include splice_insert() or time_signal() command. Examples: - with time_signal(): \"/DA0AAAAAAAA///wBQb+cr0AUAAeAhxDVUVJSAAAjn/PAAGlmbAICAAAAAAsoKGKNAIAmsnRfg==\" - with splice_insert(): \"/DAvAAAAAAAA///wFAVIAACPf+/+c2nALv4AUsz1AAAAAAAKAAhDVUVJAAABNWLbowo=\" |\n| `podTemplateName` | `string` Google Ad Manager pod template name. |\n| `breakState` | `enum (`[BreakState](/ad-manager/video/rest/v1/networks.assets.adBreaks#AdBreak.BreakState)`)` The current state of the Ad Break. |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------|---------------------------------------------------|\n| ### [create](/ad-manager/video/rest/v1/networks.sources.content.adBreaks/create) | API to create an Ad Break within the live stream. |\n| ### [list](/ad-manager/video/rest/v1/networks.sources.content.adBreaks/list) | API to list Ad Breaks within the live stream. |"]]