AI-generated Key Takeaways
-
Archives a list of
Placement
objects using aPOST
request to a specific endpoint. -
Requires a
parent
path parameter formatted asnetworks/{networkCode}
. -
The request body includes a required array of
names
which are the names of thePlacement
objects to archive, formatted asnetworks/{networkCode}/placements/{placementId}
. -
A successful response body is empty.
-
The request requires the
https://www.googleapis.com/auth/admanager
OAuth scope for authorization.
Archives a list of Placement
objects.
HTTP request
POST https://admanager.googleapis.com/v1/{parent}/placements:batchArchive
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.