Google Ads API is returning to beta status. Please read our blog post for more details.

Best Practices

Consider these guidelines when using MutateJobService:

  • For better throughput, fewer larger jobs is preferred over many smaller jobs. It is recommended to add no more than 1,000 operations per AddMutateJobOperationsRequest and use the sequence_token to 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 RUNNING that 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 CampaignOperations are first, followed by all of the AdGroupOperations, and finally all AdGroupCriterionOperations.
  • Do not poll the job status too frequently or you will risk hitting rate limit errors.

Limitations

  • Each MutateJob supports up to one million operations.
  • Each account can have up to 100 active or pending jobs at the same time.

Skicka feedback om ...

Google Ads API Beta
Google Ads API Beta
Behöver du hjälp? Besök vår supportsida.