Increasing the number of parallel calls to the API

281 views
Skip to first unread message

David Antunes

unread,
Feb 2, 2017, 8:54:20 AM2/2/17
to AdWords API Forum
Hi,

I was thinking - is it possible for an application to use more than 1 token to access the API?
Would it help, making more parallel calls to google possible?

From what I remember to have read in the past, the limit to the number of parallel things happening on the google side is more of an "per client" basis much more than on a "per API token" basis, but that's what I remember to have read - is that correct? (If so it is unrelated with the token which makes the requests)

Many thanks!
David

Shwetha Vastrad (AdWords API Team)

unread,
Feb 2, 2017, 11:02:11 AM2/2/17
to AdWords API Forum
Hi David,

Yes, an application can use more than one developer token. But please note that rate limit across Account rate scope is metered on all requests to a single AdWords account - no matter which developer token was used to make the request. If the combined QPS across tokens exceeds the limit, then the clients will receive RateExceededError in the Account rate scope. You can use a single developer token to make parallel API requests against your account. You may risk encountering CONCURRENT_MODIFICATION_ERROR if you're mutating AdWords objects in parallel using multiple threads for better throughput. This blog post provides more details on concurrency management in AdWords API.

A legal entity is granted one approved developer token. Please get in touch with the AdWords API compliance team to check if you can get a second developer token.

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages