AI-generated Key Takeaways
-
The
batchCreatemethod allows for the creation of multiplePlacementobjects in a single API call, up to a maximum of 100. -
The request uses a POST HTTP method and requires a parent network path parameter.
-
The request body contains an array of
CreatePlacementRequestobjects, each specifying the parent and thePlacementto create. -
The response body contains an array of the newly created
Placementobjects. -
Authorization for this method requires the
https://www.googleapis.com/auth/admanagerOAuth scope.
- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- CreatePlacementRequest
- Try it!
API to batch create Placement
objects.
HTTP request
POST https://admanager.googleapis.com/v1/{parent}/placements:batchCreate
Path parameters
| Parameters | |
|---|---|
parent
|
Required. The parent resource where the |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"requests"
:
[
{
object (
|
| Fields | |
|---|---|
requests[]
|
Required. The |
Response body
Response object for placements.batchCreate
method.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"placements"
:
[
{
object (
|
| Fields | |
|---|---|
placements[]
|
The |
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 (
|
| Fields | |
|---|---|
parent
|
Required. The parent resource where this |
placement
|
Required. The |

