Method: networks.adRules.batchDelete

Deletes a list of AdRule objects.

HTTP request

POST https://admanager.googleapis.com/v1/{parent}/adRules:batchDelete

Path parameters

Parameters
parent

string

Required. Format: networks/{networkCode}

Request body

The request body contains data with the following structure:

JSON representation
{
  "names": [
    string
  ]
}
Fields
names[]

string

Required. Resource names for the AdRule. Format: networks/{networkCode}/adRules/{adRule}

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/admanager

For more information, see the OAuth 2.0 Overview.