BatchJobService - what is the purpose of incremental upload?

19 views
Skip to first unread message

GDZ

unread,
Aug 31, 2016, 4:25:38 PM8/31/16
to AdWords API Forum
Just wondering what are the benefits of incremental upload for say inserting bunch of new keywords into campaign's adgroups? BatchJobService example doesn't explain/show this clearly.

Thank you!

GDZ 

Shwetha Vastrad (AdWords API Team)

unread,
Aug 31, 2016, 5:43:44 PM8/31/16
to AdWords API Forum
Hi,

Incremental uploads allow you to send multiple upload requests to the batch job. For example, if you have different types of operations, like CampaignOperation, AdGroupAdOperation, etc., you can separate these and send in different upload requests to the uploadUrl. Or if you have a large number of keywords to add, you could make sub-sets of these keywords and submit each set separately. 

The code in the AddKeywordsUsingIncrementalBatchJob example, between lines 141 and 152, checks if the list of operations has reached KEYWORDS_PER_UPLOAD and uploads the current list of operations. 

I hope this helps. 

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages