- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- DeactivateCustomTargetingValueRequest
- Try it!
Deactivates a list of CustomTargetingValue objects.
HTTP request
POST https://admanager.googleapis.com/v1/{parent}/customTargetingValues:batchDeactivate
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent, which owns this collection of CustomTargetingValues. Format: |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"requests": [
{
object ( |
| Fields | |
|---|---|
requests[] |
Required. 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.
DeactivateCustomTargetingValueRequest
Request message to deactivate a CustomTargetingValue.
| JSON representation |
|---|
{ "name": string } |
| Fields | |
|---|---|
name |
Required. The resource name of the CustomTargetingValue. Format: |