Google Ads Ad Manager V1 Client - Class UpdatePlacementRequest (0.5.0)

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

Request object for UpdatePlacement method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ placement Placement

Required. The Placement to update. The Placement's name is used to identify the Placement to update. Format: networks/{network_code}/placements/{placement_id}

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to update.

getPlacement

Required. The Placement to update.

The Placement's name is used to identify the Placement to update. Format: networks/{network_code}/placements/{placement_id}

Returns
Type Description
Placement|null

hasPlacement

clearPlacement

setPlacement

Required. The Placement to update.

The Placement's name is used to identify the Placement to update. Format: networks/{network_code}/placements/{placement_id}

Parameter
Name Description
var Placement
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
placement Placement

Required. The Placement to update.

The Placement's name is used to identify the Placement to update. Format: networks/{network_code}/placements/{placement_id}

updateMask Google\Protobuf\FieldMask

Required. The list of fields to update.

Returns
Type Description
UpdatePlacementRequest