Reference documentation and code samples for the Google Ads Ad Manager V1 Client class LinearBreak.
Represents linear session related break information.
Generated from protobuf message google.ads.admanager.v1.DaiSession.AdBreak.LinearBreak
Namespace
Google \ Ads \ AdManager \ V1 \ DaiSession \ AdBreakMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ break_start_time |
Google\Protobuf\Timestamp
Output only. The timestamp of when the break started. |
↳ expected_break_duration |
Google\Protobuf\Duration
Output only. The duration of the placement opportunity associated with the break. |
↳ slate_duration |
Google\Protobuf\Duration
Output only. The duration of slate that was inserted for this break. |
↳ underlying_duration |
Google\Protobuf\Duration
Output only. The duration of underlying content that was inserted for this break. |
getBreakStartTime
Output only. The timestamp of when the break started.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasBreakStartTime
clearBreakStartTime
setBreakStartTime
Output only. The timestamp of when the break started.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExpectedBreakDuration
Output only. The duration of the placement opportunity associated with the break.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasExpectedBreakDuration
clearExpectedBreakDuration
setExpectedBreakDuration
Output only. The duration of the placement opportunity associated with the break.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSlateDuration
Output only. The duration of slate that was inserted for this break.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasSlateDuration
clearSlateDuration
setSlateDuration
Output only. The duration of slate that was inserted for this break.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUnderlyingDuration
Output only. The duration of underlying content that was inserted for this break.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasUnderlyingDuration
clearUnderlyingDuration
setUnderlyingDuration
Output only. The duration of underlying content that was inserted for this break.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|