Consider these guidelines when using
- For better throughput, fewer larger jobs is preferred over many smaller
jobs. It is recommended to add no more than 1,000 operations per
AddMutateJobOperationsRequestand use the
sequence_tokento upload the rest of the operations to the same job.
- When submitting multiple concurrent jobs for the same account, try to reduce
the likelihood of jobs operating on the same objects at the same time, while
maintaining large job sizes. Many unfinished jobs (with status of
RUNNINGthat try to mutate the same set of objects may lead to deadlock-like conditions resulting in severe slow-down and even job failures.
- Don't submit multiple operations that mutate the same object in the same job. The result will be unpredictable if you do so.
- For better throughput, order uploaded operations by operation type. For
example, if your job contains operations to add campaigns, ad groups, and ad
group criteria, order the operations in your upload so that all of the
CampaignOperationsare first, followed by all of the
AdGroupOperations, and finally all
- Do not poll the job status too frequently or you will risk hitting rate limit errors.
MutateJobsupports up to one million operations.
- Each account can have up to 100 active or pending jobs at the same time.