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 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` |   |