Google Ads Ad Manager V1 Client - Class UpdateCustomTargetingKeyRequest (0.6.0)

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

Request object for UpdateCustomTargetingKey method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ custom_targeting_key CustomTargetingKey

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

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to update.

getCustomTargetingKey

Required. The CustomTargetingKey to update.

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

Returns
Type Description
CustomTargetingKey|null

hasCustomTargetingKey

clearCustomTargetingKey

setCustomTargetingKey

Required. The CustomTargetingKey to update.

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

Parameter
Name Description
var CustomTargetingKey
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
customTargetingKey CustomTargetingKey

Required. The CustomTargetingKey to update.

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

updateMask Google\Protobuf\FieldMask

Required. The list of fields to update.

Returns
Type Description
UpdateCustomTargetingKeyRequest