Reference documentation and code samples for the Google Ads Ad Manager V1 Client class BatchDeactivateAdUnitsRequest.
Request object for BatchDeactivateAdUnits
method.
Generated from protobuf message google.ads.admanager.v1.BatchDeactivateAdUnitsRequest
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Format: networks/{network_code}
↳ names
array
Required. The resource names of the AdUnit
s to deactivate. Format: networks/{network_code}/adUnits/{ad_unit_id}
getParent
Required. Format: networks/{network_code}
string
setParent
Required. Format: networks/{network_code}
var
string
$this
getNames
Required. The resource names of the AdUnit
s to deactivate.
Format: networks/{network_code}/adUnits/{ad_unit_id}
setNames
Required. The resource names of the AdUnit
s to deactivate.
Format: networks/{network_code}/adUnits/{ad_unit_id}
var
string[]
$this
static::build
parent
string
Required. Format: networks/{network_code}
Please see AdUnitServiceClient::networkName()
for help formatting this field.
names
string[]
Required. The resource names of the AdUnit
s to deactivate.
Format: networks/{network_code}/adUnits/{ad_unit_id}
Please see AdUnitServiceClient::adUnitName()
for help formatting this field.

