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

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

Request object for UpdateCustomTargetingValue method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ custom_targeting_value CustomTargetingValue

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

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update.

getCustomTargetingValue

Required. The CustomTargetingValue to update.

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

Returns
Type Description
CustomTargetingValue|null

hasCustomTargetingValue

clearCustomTargetingValue

setCustomTargetingValue

Required. The CustomTargetingValue to update.

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

Parameter
Name Description
var CustomTargetingValue
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
customTargetingValue CustomTargetingValue

Required. The CustomTargetingValue to update.

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

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update.

Returns
Type Description
UpdateCustomTargetingValueRequest