Hi, my understanding is that there is an overhead associated with batching operations. It probably doesn’t make sense to submit a batch if I only want to perform one or two operations – it will probably be quicker to just call the appropriate services directly and submit each operation separately. My question is – where is the threshold where it starts to make sense to go batching? I understand for most of these question the answer will be “it depends”, but because to answer it I will have to implement the same functionality twice (as batches and as single operations), I would like to ask for your opinion – maybe even just a gut feeling – would it be possible to at least give an order of magnitude? Does it make sense to batch 10, 50, 100, 500, or 1000 operations?
To be even more specific, here is my typical scenario: a managed customer has 5-10 campaigns, each campaign has 5-10 adgroups, each adgroup has 5-10 ads. The customer makes an update to their account, which will result in deletion of 1 campaign, mutations of 5-10 adgroups in another campaign (in terms of adding/removing some of their keywords, etc.), and creation of one campaign with its 5-10 adrgroups and 30-90 ads; in total that would often be around 100-200 operations. Would you use batching for this scenario? What if it was 50 operations? 500 operations?
So to summarize my question, for a typical create/update scenario, where is a (VERY) approximate threshold in terms of orders of magnitude of number of operations, where I should switch to batching as opposed to single operations?