AI-generated Key Takeaways
-
The
networks.customFields.batchActivate
method is used to activate a list ofCustomField
objects. -
The HTTP request method is
POST
and the URL includes a requiredparent
path parameter with the formatnetworks/{networkCode}
. -
The request body is a JSON object containing a required
names
array of strings, where each string is the resource name of aCustomField
object to activate in the formatnetworks/{networkCode}/customFields/{customFieldId}
. -
A successful response body is empty.
-
This operation requires the
https://www.googleapis.com/auth/admanager
OAuth scope.
Activates a list of CustomField
objects.
HTTP request
POST https://admanager.googleapis.com/v1/{parent}/customFields: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 resource 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.