Hi Josh,

Thanks for getting back to us, we will modify our batch writer so that it
collates the batch operations by type.

Cheers,
Richard

On Wed, 3 Jul 2019 at 16:28, Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Hi Richard,
>
> I looked into our logs and spoke with the batch jobs team, and the jobs in
> question timed out because they were taking too long to complete. We took a
> look at your operations and noticed that you have many instances of the
> following pattern of operations:
>
>    1. Create ad group 1
>    2. Create an ad in ad group 1
>    3. Create ad group criteria in ad group 1
>    4. Create ad group 2
>    5. Create an ad in ad group 2
>    6. Create ad group criteria in ad group 2
>    7. and so on...
>
> Instead of this approach, please group your operations according to
> operation type as recommended in the best practices section of our guide
> <https://developers.google.com/adwords/api/docs/guides/batch-jobs#best_practices>
>  .
> For example, the following would be a much more efficient approach for the
> sequence above:
>
>    1. Create ad group 1
>    2. Create ad group 2
>    3. ...
>    4. Create ad in ad group 1
>    5. Create ad in ad group 2
>    6. ...
>    7. Create ad group criteria in ad group 1
>    8. Create ad group criteria in ad group 2
>    9. ...
>
> Thanks,
> Josh, Google Ads API Team
>
> ref:_00D1U1174p._5001UCYZ9v:ref
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@googlegroups.com
> 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 a topic in the
> Google Groups "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/YOxlzgyd1E4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> adwords-api+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/adwords-api/K0HJ1000000000000000000000000000000000000000000000PU2OAH007HnIfA-8TcKuUiDopGzU-A%40sfdc.net
> <https://groups.google.com/d/msgid/adwords-api/K0HJ1000000000000000000000000000000000000000000000PU2OAH007HnIfA-8TcKuUiDopGzU-A%40sfdc.net?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAFT6T-BDM4ho%2BpArLw%3D%2BdXe0HRPZsbDvXa3_JoMNQVmh6_hyYA%40mail.gmail.com.

Reply via email to