Reference documentation and code samples for the Google Ads Ad Manager V1 Client class CreateAdBreakRequest.
Request object for CreateAdBreak method.
Generated from protobuf message google.ads.admanager.v1.CreateAdBreakRequest
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource where this |
↳ ad_break |
AdBreak
Required. The |
getParent
Required. The parent resource where this AdBreak will be created
identified by an asset key or custom asset key.
Formats:
networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}
networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent resource where this AdBreak will be created
identified by an asset key or custom asset key.
Formats:
networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}
networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAdBreak
Required. The AdBreak to create.
| Returns | |
|---|---|
| Type | Description |
AdBreak|null |
|
hasAdBreak
clearAdBreak
setAdBreak
Required. The AdBreak to create.
| Parameter | |
|---|---|
| Name | Description |
var |
AdBreak
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent resource where this Formats:
|
adBreak |
AdBreak
Required. The |
| Returns | |
|---|---|
| Type | Description |
CreateAdBreakRequest |
|