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?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/834485f4-6720-41d9-b9df-5e3590ba2571%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Operations number -... Vitaly Dukhota

Reply via email to