Hi all,
I'm trying to add a complete campaign via Api.
I have 1 Campaign with around 50 adGroups and each adGroup with 3 ads. Each ads has 1 label.
I'm able to add around 26 adgroups in few seconds (max 2 minutes), but then I get a timed out connection error.
I increased the soapRequestTimeout up to 60minutes, but nothing changed.
My workflow is:
- create campaign obj
- Add campaign (call mutate function)
- get id campaign added
- create adgroup obj
- set campaign id
- add adgroup (call mutate function)
- create extended ads list
- set adgroup is
- add extendedads (call mutate function)
- get extendedads list
- for each ads create label and add label
I have huge quantities of data in a flat file.
Could you suggest me an optimized workflow?
Could the implementation of the AddCompleteCampaignUsingBatchJob example solve my problem?
Thanks