Creates, updates or removes asset groups. Operation statuses are returned.
HTTP request
POST https://googleads.googleapis.com/v19/customers/{customerId}/assetGroups:mutate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customerId |
Required. The ID of the customer whose asset groups are being modified. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"operations": [
{
object ( |
Fields | |
---|---|
operations[] |
Required. The list of operations to perform on individual asset groups. |
validateOnly |
If true, the request is validated but not executed. Only errors are returned, not results. |
Response body
Response message for an asset group mutate.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "results": [ { object ( |
Fields | |
---|---|
results[] |
All results for the mutate. |
partialFailureError |
Errors that pertain to operation failures in the partial failure mode. Returned only when partialFailure = true and all errors occur inside the operations. If any errors occur outside the operations (for example, auth errors), we return an RPC level error. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.