REST Resource: networks.customAssets.adBreaks
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูล: AdBreak
ข้อมูลเมตาของช่วงพักโฆษณาที่ใช้เพื่อตัดสินโฆษณาสำหรับช่วงพักโฆษณาในเหตุการณ์วิดีโอสด
การแสดง JSON |
{
"name": string,
"expectedDuration": string,
"customParams": string,
"scte35CueOut": string,
"podTemplateName": string,
"breakState": enum (BreakState )
} |
ช่อง |
name |
string
เอาต์พุตเท่านั้น ชื่อทรัพยากรของช่วงพักโฆษณา ฟิลด์นี้จะมีรูปแบบเป็น "networks//assets//adBreaks/" network_code คือรหัสเครือข่ายใน Google Ad Manager ที่มีเนื้อหานี้ Asset_key เป็นคีย์ของเหตุการณ์สตรีมแบบสดในการจัดการโฆษณา Google ที่ใช้สร้างช่วงพักโฆษณา adBreakId เป็นคีย์ของช่วงพักโฆษณา เอาต์พุตเท่านั้น
|
expectedDuration |
string (Duration format)
ต้องระบุ ระยะเวลาพักที่คาดไว้ ระยะเวลาเป็นวินาทีโดยมีเลขเศษส่วนไม่เกิน 9 หลัก ลงท้ายด้วย "s " ตัวอย่างเช่น "3.5s"
|
customParams |
string
คู่คีย์-ค่าจะรวมอยู่ในคำขอโฆษณาสำหรับช่วงพักโฆษณานี้สำหรับการกำหนดเป้าหมายตามเกณฑ์ที่กำหนดเองใน Ad Manager ตัวอย่างเช่น 'key1=value&key2=value2,value22'
|
scte35CueOut |
string
ข้อมูลที่เข้ารหัสฐาน 64 จากข้อความสุดท้าย SCTE-35 อาจรวมคำสั่ง splice_insert() หรือ time_signal() ด้วย ตัวอย่าง: - with time_signal(): “/DA0AAAAAAAA///wBQb+cr0AUAAeAhxDVUVJSAAAjn/PAAGlmbAICAAAAAAsoKGKNAIAmsnRfg==” - with splice_insert(): "/DAvAAAAAAAA///wFAVIAACPf+4+c2AAhALA
|
podTemplateName |
string
ชื่อเทมเพลตพ็อด Google Ad Manager
|
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 resource stores metadata for ad breaks in live video events, managing ad decisions.\u003c/p\u003e\n"],["\u003cp\u003eIt includes attributes such as name, expected duration, custom parameters for targeting, and SCTE-35 cue-out data for ad insertion.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage AdBreaks through APIs for creation and listing within a live stream context.\u003c/p\u003e\n"]]],[],null,["# REST Resource: networks.customAssets.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.customAssets.adBreaks/create) | API to create an Ad Break within the live stream. |\n| ### [list](/ad-manager/video/rest/v1/networks.customAssets.adBreaks/list) | API to list Ad Breaks within the live stream. |"]]