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

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

Request object for UpdateCustomField method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ custom_field CustomField

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

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to update.

getCustomField

Required. The CustomField to update.

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

Returns
Type Description
CustomField|null

hasCustomField

clearCustomField

setCustomField

Required. The CustomField to update.

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

Parameter
Name Description
var CustomField
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
customField CustomField

Required. The CustomField to update.

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

updateMask Google\Protobuf\FieldMask

Required. The list of fields to update.

Returns
Type Description
UpdateCustomFieldRequest