Hi Aleksandr, 

You are right, BatchjobService is extremely helpful in the cases where the 
operations are dependent (need to use temp Ids), has a bunch operations to 
be performed etc. BatchJobService also retries operations that fail due to 
transient errors like rate limit errors. The downside is that you will not 
have much control over the time in which the job is going to be completed. 
>From the number of entities to be created in your case, you may have to 
make approximately the given number of API mutate calls (considering the 
maximum 
possible operations/request 
<https://developers.google.com/adwords/api/docs/appendix/limits#general>) : 

975 campaigns ~1 mutate call
64720 ad groups ~ 13 mutate calls
1242360 keywords ~ 249 mutate calls
242700 expanded ads ~ 49 mutate calls

In addition to that, you will also have to take care of spacing the 
requests in such a way to avoid rate limit errors, have proper mechanism to 
handle any errors while execution etc. There isn't a guideline to use/not 
use BatchJobService based on the upload size of the Job. Instead, 
BatchjobService should be looked at as an alternative to perform API 
operations asynchronously. It does seem like you are concerned about the 
execution time of the batch job. If so, using mutate requests might be a 
better option for you.

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/a14ba0a9-6f76-40b7-b3c2-78c420376b1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Batch jo... aleksandr . borisov
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
      • ... aleksandr . borisov
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
    • Re:... axel

Reply via email to