AI-generated Key Takeaways
-
The endpoint allows you to deactivate a list of
Placement
objects using a POST request to the specified URI. -
The request requires a
parent
path parameter in the formatnetworks/{networkCode}
to identify the network. -
The request body must contain a JSON object with a
names
field, which is an array of strings representing the names of thePlacement
objects to deactivate in the formatnetworks/{networkCode}/placements/{placementId}
. -
A successful request results in an empty response body.
-
The request requires the
https://www.googleapis.com/auth/admanager
OAuth scope for authorization.
Deactivates a list of Placement
objects.
HTTP request
POST https://admanager.googleapis.com/v1/{parent}/placements:batchDeactivate
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.