Google Ads Ad Manager V1 Client - Class BatchCreateAdUnitsRequest (0.6.0)

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

Request object for BatchCreateAdUnits method.

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

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 resource where AdUnits will be created. Format: networks/{network_code} The parent field in the CreateAdUnitRequest must match this field.

↳ requests
array< CreateAdUnitRequest >

Required. The AdUnit objects to create. A maximum of 100 objects can be created in a batch.

getParent

Required. The parent resource where AdUnits will be created.

Format: networks/{network_code} The parent field in the CreateAdUnitRequest must match this field.

Returns
Type
Description
string

setParent

Required. The parent resource where AdUnits will be created.

Format: networks/{network_code} The parent field in the CreateAdUnitRequest must match this field.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getRequests

Required. The AdUnit objects to create.

A maximum of 100 objects can be created in a batch.

Returns
Type
Description

setRequests

Required. The AdUnit objects to create.

A maximum of 100 objects can be created in a batch.

Parameter
Name
Description
var
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

Required. The parent resource where AdUnits will be created. Format: networks/{network_code} The parent field in the CreateAdUnitRequest must match this field. Please see AdUnitServiceClient::networkName() for help formatting this field.

requests
array< CreateAdUnitRequest >

Required. The AdUnit objects to create. A maximum of 100 objects can be created in a batch.

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: