AI-generated Key Takeaways
-
The API allows for the batch updating of
Placementobjects using a POST request. -
The
parentpath parameter is required and specifies the network where placements will be updated. -
The request body contains a list of
UpdatePlacementRequestobjects, with a maximum of 100 per batch. -
The response body contains a list of the updated
Placementobjects. -
Authorization requires the
https://www.googleapis.com/auth/admanagerOAuth scope.
- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- UpdatePlacementRequest
- Try it!
API to batch update Placement objects.
HTTP request
POST https://admanager.googleapis.com/v1/{parent}/placements:batchUpdate
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent resource where |
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.batchUpdate 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.
UpdatePlacementRequest
Request object for placements.patch method.
| JSON representation |
|---|
{
"placement": {
object ( |
| Fields | |
|---|---|
placement |
Required. The The |
updateMask |
Required. The list of fields to update. This is a comma-separated list of fully qualified names of fields. Example: |