Reference documentation and code samples for the Google Ads Ad Manager V1 Client class UpdateTargetingPresetRequest.
Request object for UpdateTargetingPreset method.
Generated from protobuf message google.ads.admanager.v1.UpdateTargetingPresetRequest
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ targeting_preset |
TargetingPreset
Required. The |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. The list of fields to update. |
getTargetingPreset
Required. The TargetingPreset to update.
The TargetingPreset's name is used to identify the TargetingPreset to
update.
| Returns | |
|---|---|
| Type | Description |
TargetingPreset|null |
|
hasTargetingPreset
clearTargetingPreset
setTargetingPreset
Required. The TargetingPreset to update.
The TargetingPreset's name is used to identify the TargetingPreset to
update.
| Parameter | |
|---|---|
| Name | Description |
var |
TargetingPreset
|
| 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 |
targetingPreset |
TargetingPreset
Required. The The |
updateMask |
Google\Protobuf\FieldMask
Optional. The list of fields to update. |
| Returns | |
|---|---|
| Type | Description |
UpdateTargetingPresetRequest |
|