Google Ads Ad Manager V1 Client - Class BatchDeactivateCustomTargetingValuesRequest (0.8.0)

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

Request message for BatchDeactivateCustomTargetingValues method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent, which owns this collection of CustomTargetingValues. Format: networks/{network_code}/

↳ requests array<DeactivateCustomTargetingValueRequest>

Required. The CustomTargetingValue objects to deactivate.

getParent

Required. The parent, which owns this collection of CustomTargetingValues.

Format: networks/{network_code}/

Returns
Type Description
string

setParent

Required. The parent, which owns this collection of CustomTargetingValues.

Format: networks/{network_code}/

Parameter
Name Description
var string
Returns
Type Description
$this

getRequests

Required. The CustomTargetingValue objects to deactivate.

Returns
Type Description
Google\Protobuf\RepeatedField<DeactivateCustomTargetingValueRequest>

setRequests

Required. The CustomTargetingValue objects to deactivate.

Parameter
Name Description
var array<DeactivateCustomTargetingValueRequest>
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent, which owns this collection of CustomTargetingValues. Format: networks/{network_code}/ Please see CustomTargetingValueServiceClient::networkName() for help formatting this field.

requests array<DeactivateCustomTargetingValueRequest>

Required. The CustomTargetingValue objects to deactivate.

Returns
Type Description
BatchDeactivateCustomTargetingValuesRequest