Google Ads Ad Manager V1 Client - Class UpdateAdBreakRequest (0.3.0)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class UpdateAdBreakRequest.

Request object for UpdateAdBreak method.

Generated from protobuf message google.ads.admanager.v1.UpdateAdBreakRequest

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ ad_break AdBreak

Required. The AdBreak to update. The AdBreak's name is used to identify the AdBreak to update.

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to update.

getAdBreak

Required. The AdBreak to update.

The AdBreak's name is used to identify the AdBreak to update.

Returns
Type Description
AdBreak|null

hasAdBreak

clearAdBreak

setAdBreak

Required. The AdBreak to update.

The AdBreak's name is used to identify the AdBreak to update.

Parameter
Name Description
var AdBreak
Returns
Type Description
$this

getUpdateMask

Required. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to update.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
adBreak AdBreak

Required. The AdBreak to update.

The AdBreak's name is used to identify the AdBreak to update.

updateMask Google\Protobuf\FieldMask

Required. The list of fields to update.

Returns
Type Description
UpdateAdBreakRequest