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" الذي ينتمي إليه هذا المحتوى. asset_key هي المفتاح لحدث البث المباشر في "إدارة إعلانات Google" الذي تم بموجبه إنشاء الفاصل الإعلاني. يمثّل adBreakId عنصرًا أساسيًا للفاصل الإعلاني. النتائج فقط.
|
expectedDuration |
string (Duration format)
مطلوب. مدة الفاصل المتوقعة. مدة بالثواني مكونة من تسعة أرقام كسور كحد أقصى وتنتهي بالأرقام "s " مثال: "3.5s"
|
customParams |
string
أزواج المفتاح/القيمة التي سيتم تضمينها في طلبات الإعلان لهذا الفاصل لاستهداف المعايير المخصّصة في "مدير إعلانات Google" مثال: 'key1=value&key2=value2,value22'
|
scte35CueOut |
string
بيانات بترميز Base 64 من إشارة scte35. قد يتضمّن الأمر splice_insert() أو time_signal() . أمثلة: - with time_signal(): “/DA0AAAAAAAA///wBQb+cr0AUAAeAhxDVUVJSAAAjn/PAAGlmbAICAAAAAAsoKGKNAIAmsnRfg==” - with splice_insert(): "/DAvAAAAAAzAA///wFAVIAACPf+/+AUc2s
|
podTemplateName |
string
اسم نموذج مجموعة الإعلانات المتسلسلة في "مدير إعلانات Google".
|
breakState |
enum (BreakState )
الحالة الحالية للفاصل الإعلاني.
|
الطُرق |
|
واجهة برمجة التطبيقات لإنشاء فاصل إعلاني ضمن البث المباشر |
|
واجهة برمجة تطبيقات لإدراج الفواصل الإعلانية ضمن البث المباشر |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]