Method: networks.placements.batchCreate
Stay organized with collections
Save and categorize content based on your preferences.
API to batch create Placement
objects.
HTTP request
POST https://admanager.googleapis.com/v1/{parent}/placements:batchCreate
Path parameters
Parameters |
parent |
string
Required. The parent resource where the Placement s will be created. Format: networks/{networkCode} The parent field in the CreatePlacementRequest messages match this field.
|
Request body
The request body contains data with the following structure:
Fields |
requests[] |
object (CreatePlacementRequest )
Required. The Placement objects to create. A maximum of 100 objects can be created in a batch.
|
Response body
Response object for placements.batchCreate
method.
If successful, the response body contains data with the following structure:
JSON representation |
{
"placements": [
{
object (Placement )
}
]
} |
Fields |
placements[] |
object (Placement )
The Placement objects created.
|
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admanager
For more information, see the OAuth 2.0 Overview.
CreatePlacementRequest
Request object for placements.create
method.
JSON representation |
{
"parent": string,
"placement": {
object (Placement )
}
} |
Fields |
parent |
string
Required. The parent resource where this Placement will be created. Format: networks/{networkCode}
|
placement |
object (Placement )
Required. The Placement to create.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-05 UTC.
[null,null,["Last updated 2025-09-05 UTC."],[],[],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.BatchCreatePlacementsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [CreatePlacementRequest](#CreatePlacementRequest)\n - [JSON representation](#CreatePlacementRequest.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nAPI to batch create `Placement` objects.\n\nHTTP request\n\n`POST https://admanager.googleapis.com/v1/{parent}/placements:batchCreate`\n\nPath parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The parent resource where the `Placement`s will be created. Format: `networks/{networkCode}` The parent field in the CreatePlacementRequest messages match this field. |\n\nRequest body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"requests\": [ { object (/ad-manager/api/beta/reference/rest/v1/networks.placements/batchCreate#CreatePlacementRequest) } ] } ``` |\n\n| Fields ||\n|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requests[]` | `object (`[CreatePlacementRequest](/ad-manager/api/beta/reference/rest/v1/networks.placements/batchCreate#CreatePlacementRequest)`)` Required. The `Placement` objects to create. A maximum of 100 objects can be created in a batch. |\n\nResponse body Response object for `placements.batchCreate` method.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------|\n| ``` { \"placements\": [ { object (/ad-manager/api/beta/reference/rest/v1/networks.placements#Placement) } ] } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------|\n| `placements[]` | `object (`[Placement](/ad-manager/api/beta/reference/rest/v1/networks.placements#Placement)`)` The `Placement` objects created. |\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/admanager`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2).\n\nCreatePlacementRequest Request object for `placements.create` method.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"parent\": string, \"placement\": { object (/ad-manager/api/beta/reference/rest/v1/networks.placements#Placement) } } ``` |\n\n| Fields ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The parent resource where this `Placement` will be created. Format: `networks/{networkCode}` |\n| `placement` | `object (`[Placement](/ad-manager/api/beta/reference/rest/v1/networks.placements#Placement)`)` Required. The `Placement` to create. |"]]