Hi Josh, Thanks for getting back to me. I think that there might be other resolutions that would be able to generate IDs unique to all workers too. But this is up to your decision. :-)
Let us know if you need help in the future. Best, Thanet, AdWords API Team On Tuesday, April 4, 2017 at 7:11:12 PM UTC+9, Josh Sephton wrote: > > Hi Thanet, > > we've used a time-based ID generator because we have a number of different > workers working in parallel to generate the operations. However, if we're > reusing IDs in the same batch job then we're creating more operations per > second than anticipated. We can increase the resolution of the IDs so there > is more guarantee of uniqueness. > > Thanks for digging into this for us. > > Josh > > > > On Monday, 3 April 2017 07:20:50 UTC+1, Thanet Knack Praneenararat > (AdWords API Team) wrote: >> >> Hello Josh, >> >> It looks like you've reused the temporary ID in the same batch job. >> Note that it's totally fine to use the same temporary IDs in *different* >> batch >> jobs. >> Did you use some kinds of algorithms to map from the time stamp to >> negative numbers as temporary IDs? >> We encourage to use just sequence number starting from -1. >> >> Hope this help. >> >> Best, >> Thanet, AdWords API Team >> >> On Thursday, March 30, 2017 at 9:56:44 PM UTC+9, Josh Sephton wrote: >>> >>> Hi Vishal, >>> >>> I was trying with 15,000 operations previously, but I'm seeing the same >>> behaviour with 5000 operations. Would you expect batches of this size to >>> complete? >>> >>> Thanks, >>> Josh >>> >>> >>> >>> On Wednesday, 29 March 2017 19:27:38 UTC+1, Vishal Vinayak (Adwords API >>> Team) wrote: >>>> >>>> Hi Josh, >>>> >>>> Could you please try reducing the number of operations in your job and >>>> see if you are still facing issues? You can also check out our Best >>>> Practices Guide >>>> <https://developers.google.com/adwords/api/docs/guides/batch-jobs#best_practices> >>>> to >>>> optimize your batch job operations. Issues related to batch job >>>> performance >>>> are sometimes intermittent, however, if you are consistently facing these >>>> issues, please let me know and I would try to work with my team to find >>>> what's causing these issues. >>>> >>>> Regards, >>>> Vishal, 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/13b3574d-52aa-4dae-ab05-91de2ab99fc2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
