Google Ads Ad Manager V1 Client - Class UpdateTargetingPresetRequest (0.14.1)

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

Request object for UpdateTargetingPreset method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ targeting_preset TargetingPreset

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

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update.

getTargetingPreset

Required. The TargetingPreset to update.

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

Returns
Type Description
TargetingPreset|null

hasTargetingPreset

clearTargetingPreset

setTargetingPreset

Required. The TargetingPreset to update.

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

Parameter
Name Description
var TargetingPreset
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
targetingPreset TargetingPreset

Required. The TargetingPreset to update.

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

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update.

Returns
Type Description
UpdateTargetingPresetRequest