Reference documentation and code samples for the Google Ads Ad Manager V1 Client class BatchCreateCustomFieldsRequest.
Request object for BatchCreateCustomFields method.
Generated from protobuf message google.ads.admanager.v1.BatchCreateCustomFieldsRequest
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource where |
↳ requests |
array<CreateCustomFieldRequest>
Required. The |
getParent
Required. The parent resource where CustomFields will be created.
Format: networks/{network_code}
The parent field in the CreateCustomFieldRequest must match this
field.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent resource where CustomFields will be created.
Format: networks/{network_code}
The parent field in the CreateCustomFieldRequest must match this
field.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequests
Required. The CustomField objects to create.
A maximum of 100 objects can be created in a batch.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setRequests
Required. The CustomField objects to create.
A maximum of 100 objects can be created in a batch.
| Parameter | |
|---|---|
| Name | Description |
var |
array<CreateCustomFieldRequest>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent resource where |
requests |
array<CreateCustomFieldRequest>
Required. The |
| Returns | |
|---|---|
| Type | Description |
BatchCreateCustomFieldsRequest |
|