Google Ads Ad Manager V1 Client - Class UpdateCreativeRequest (0.17.0)

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

Request object for UpdateCreative method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ creative Creative

Required. The Creative to update. The Creative's name is used to identify the Creative to update. Format: networks/{network_code}/creatives/{creative_id}

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update.

getCreative

Required. The Creative to update.

The Creative's name is used to identify the Creative to update. Format: networks/{network_code}/creatives/{creative_id}

Returns
Type Description
Creative|null

hasCreative

clearCreative

setCreative

Required. The Creative to update.

The Creative's name is used to identify the Creative to update. Format: networks/{network_code}/creatives/{creative_id}

Parameter
Name Description
var Creative
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
creative Creative

Required. The Creative to update.

The Creative's name is used to identify the Creative to update. Format: networks/{network_code}/creatives/{creative_id}

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update.

Returns
Type Description
UpdateCreativeRequest