When making
any AdWords API call, you should always remember to handle the possibility of
a rate limit error properly. Do you feel this is a bit troublesome and want to solve it in one go?
We’ve just released a new Java client library extension named “RateLimiter”, which automatically adds rate limit error handling logic (wait-and-retry) across all threads in a single JVM, so you can focus on implementing core business logic. More excitingly, you just need to change a few lines of code to use it! Check out this
open-source extension on GitHub, and follow the
instructions to give it a try.
As always, feel free to ask questions or give us feedback via the
forum or the
project’s issue tracker.
Zhuo Chen, AdWords API Team