BatchJobService.AddBatchJobOperationsto 5,000 mutate operations per request. After this change rolls out, any
AddBatchJobOperationsrequests that contain more than 5,000 mutate operations will result in a
Note that this will not change the total number of operations you are allowed to add to a
BatchJob. It only changes the number of operations you can add to a
BatchJobin a single
What do you need to do?
- Ensure that your code doesn’t send more than 5,000 mutate operations per
AddBatchJobOperationsrequest to the Google Ads API.
- In rare cases, you may still encounter the
SizeLimitError.REQUEST_SIZE_LIMIT_EXCEEDEDerror due to the total size of the request payload, even when you send a request with fewer than 5,000 mutate operations. Therefore, your code should retry the request with half the number of mutate operations until it succeeds. For instance, if 5,000 mutate operations fail, try 2,500 mutate operations. If 2,500 mutate operations fail, try 1,250 mutate operations, and so on.