Resource: AdBreak
Ad break metadata used to decision ads for an ad break in a live video event.
| JSON representation |
|---|
{ "name": string, "createTime": string, "expectedDuration": string, "customParams": string, "scte35CueOut": string, "podTemplateName": string, "breakState": enum ( |
| Fields | |
|---|---|
name |
Output only. The resource name of the Ad Break. This field will have the format of "networks/ 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. |
createTime |
Output only. The create time of the Ad Break. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
expectedDuration |
Required. Expected break duration. A duration in seconds with up to nine fractional digits, ending with ' |
customParams |
Optional. 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' Deprecated: Please set cust_params in breakParams.ad_tag_params by using the "cust_params" key. |
scte35CueOut |
Optional. 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=" |
podTemplateName |
Optional. Google Ad Manager pod template name. Deprecated: Please set cust_params in breakParams.ad_tag_params by using the "ptpln" key. |
breakState |
Output only. The current state of the Ad Break. |
expectedStartTime |
Optional. The expected start time of the Ad Break. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
expireDuration |
Optional. Expires the Ad Break at expectedStartTime + expireDuration. If expectedStartTime is not set, the Ad Break will expire expireDuration after decisioning starts. Default: 30m Minimum: 5m Maximum: 6h A duration in seconds with up to nine fractional digits, ending with ' |
breakSequence |
Output only. The midroll sequence ID of the Ad Break. Multiple ad breaks may have the same breakSequence if explicitly specified through breakParams.ad_tag_params with the mridx key. This effectively links two GAM ad breaks. |
breakParams |
Optional. Break parameters to be included on ad requests for this break. |
matchParams |
Optional. Used for Stitched DAI to determine how an Ad Break created through the API is matched with an in-manifest ad break. When a new break is detected, a match function will be run against all ad breaks of an event that have a breakState of To prevent accidental "match-all" behavior (which would occur with an empty but present matchParams), matchParams cannot be empty if set. If the field is present in a request, at least one of its own fields must be set. Ad Breaks are checked in this order: 1. with matchParams, ordered by ascending expectedStartTime, ascending createTime, where Ad Breaks without expectedStartTime are prioritized when sorted 2. without matchParams, ordered by ascending expectedStartTime, ascending createTime, where Ad Breaks without expectedStartTime are prioritized when sorted If all pending EABNs do not match, DAI will fall back to JIT decisioning behavior utilizing the next available midroll index |
servedBreak |
Output only. This reflects the actual information of the served ad break. Only set for ad breaks with a |
Methods |
|
|---|---|
|
API to create an Ad Break within the live stream. |
|
API to delete an Ad Break within the live stream. |
|
API to get an Ad Break within the live stream. |
|
API to list Ad Breaks within the live stream. |
|
API to update an Ad Break within the live stream. |