0.17.0 (latest) 0.16.0 0.15.1 0.14.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.1 0.3.1 0.2.0 0.1.3 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` |   |