Google Ads Ad Manager V1 Client - Class UpdateAdSpotRequest (0.8.0)

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

Request object for UpdateAdSpot method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ ad_spot AdSpot

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

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update.

getAdSpot

Required. The AdSpot to update.

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

Returns
Type Description
AdSpot|null

hasAdSpot

clearAdSpot

setAdSpot

Required. The AdSpot to update.

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

Parameter
Name Description
var AdSpot
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields to update.

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

static::build

Parameters
Name Description
adSpot AdSpot

Required. The AdSpot to update.

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

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update.

Returns
Type Description
UpdateAdSpotRequest