AI-generated Key Takeaways
-
The
batchActivatemethod activates a list ofPlacementobjects. -
The HTTP request uses the POST method to the specified endpoint, including a required parent parameter.
-
The request body requires a list of
nameswhich are the names of thePlacementobjects to activate. -
A successful response body is empty, and the method requires the
https://www.googleapis.com/auth/admanagerauthorization scope.
Activates a list of Placement objects.
HTTP request
POST https://admanager.googleapis.com/v1/{parent}/placements:batchActivate
Path parameters
| Parameters | |
|---|---|
parent |
Required. Format: |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "names": [ string ] } |
| Fields | |
|---|---|
names[] |
Required. The names of the |
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admanager
For more information, see the OAuth 2.0 Overview.