Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

Method: customers.batchJobs.mutate

Mutates a batch job.

List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError ResourceCountLimitExceededError

HTTP request

POST https://googleads.googleapis.com/v8/customers/{customerId}/batchJobs:mutate

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
customerId

string

Required. The ID of the customer for which to create a batch job.

Request body

The request body contains data with the following structure:

JSON representation
{
  "operation": {
    object (BatchJobOperation)
  }
}
Fields
operation

object (BatchJobOperation)

Required. The operation to perform on an individual batch job.

Response body

If successful, the response body contains data with the following structure:

Response message for BatchJobService.MutateBatchJob.

JSON representation
{
  "result": {
    object (MutateBatchJobResult)
  }
}
Fields
result

object (MutateBatchJobResult)

The result for the mutate.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

BatchJobOperation

A single operation on a batch job.

JSON representation
{
  "create": {
    object (BatchJob)
  }
}
Fields
create

object (BatchJob)

Create operation: No resource name is expected for the new batch job.

MutateBatchJobResult

The result for the batch job mutate.

JSON representation
{
  "resourceName": string
}
Fields
resourceName

string

The resource name of the batch job.