Hi Orly, The 502 error is something the core engineering team is aware of and working on. These errors are caused by internal timeouts on the API servers. Reducing the size of your requests may help, 256 is already a pretty low number of operations per request. When you receive this error you shouldn't be charged any API units.
Best, - Eric Koleda, AdWords API Team On Feb 5, 5:00 am, Orly Junior <orly.jun...@periscopix.com> wrote: > Hi, > > Everyday we make about 45000 keyword (bid) changes through the API, in > batches of aproximetly 256 at a time. > Rigorously, some of these calls fail with error 502 - Bad Gateway. > I have a few questions about how to recover and proceed from this > condition: > > - Should I retry immediately after I get the error or should I way > before reposting the request? > > - Will increasing the number of changes per batch, also increase the > probability of getting the 502 error? > > - I understand that each keyword change will cost me 3 units, as for > Feb 2010; will I be changed for the underlying operations anyway, if I > get the 502 error? > > Thanks in advance, > > Orly -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@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.