AI-generated Key Takeaways
-
The
AddBatchJobOperationsRequest
is a request message for theBatchJobService.AddBatchJobOperations
method. -
It requires the
resource_name
of the batch job and a list ofmutate_operations
to be added. -
A
sequence_token
is used to enforce the order of requests for a batch job, being omitted in the first request and used in subsequent ones. -
mutate_operations
can use negative temporary IDs to define dependencies between entities created within the same batch job.
Request message for BatchJobService.AddBatchJobOperations
.
Fields | |
---|---|
|
Required. The resource name of the batch job. |
|
A token used to enforce sequencing. The first AddBatchJobOperations request for a batch job should not set sequence_token. Subsequent requests must set sequence_token to the value of next_sequence_token received in the previous AddBatchJobOperations response. |
|
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1". |