Ratelimits and batch and instant updates

46 views
Skip to first unread message

Giles Bodger

unread,
May 13, 2016, 12:08:16 PM5/13/16
to AdWords API Forum
Hi all - quick question if i may - 

We use both batching and instant versions of the API

We have implemented a token bucket architecture that allows us to cope with rate limitting and performs desired waits as and when required for instant API access

Can you tell me whether the rate limiting within the BatchJobService (https://developers.google.com/adwords/api/docs/guides/batch-jobs), although managed by Google, affects our useage of Instant updates being sent through to the same account ?

Example - 
using the BatchJobService i am sending 1 million keywords accross several campaigns in account A. As described in the link above, the  BatchJobService looks after its own internal rate exceeded errors. If i was at the same time sending through 5000 ad updates to the same account A, but using the Instant API, would the rate exceeded errors happening within the BatchJobService have any bearing on the instant update because it is affecting the same Account? Could i potentiallly recieve Account level Rate Exceede errors in the Instant because of whats happening in the Batch ?

many thanks in advance

Giles


Shwetha Vastrad (AdWords API Team)

unread,
May 13, 2016, 3:07:23 PM5/13/16
to AdWords API Forum
Hi Giles,

Yes, there is the possibility of encountering the RateExceededError for regular API requests. The BatchJobService takes care of the errors it encounters, but it has no way of throttling itself before the RateExceededError occurs, so that a regular mutate operation can complete execution. There is also the possibility of hitting the token's daily operational limit if you are using a Basic access token. This table shows how operations count towards the daily limit.

You could consider performing the ad updates using batch processing too, since BatchJobService supports AdGroupAdOperation as well. 

Regards,
Shwetha, AdWords API Team.

Giles Bodger

unread,
May 16, 2016, 4:39:23 AM5/16/16
to AdWords API Forum
Hi Shwetha

Maybe i didnt understand that, but i dont think that was the answer to what i was asking. My question was hypothetical ... Our company has different scenarios where we use BOTH Instant AND Batch methods. My question really boils down to this ...

Can the Account level rate exceeded errors encountered, and managed internally, by the BatchJobService, have an impact on operations being carried out at the same time on the SAME account on the Instant API ?

thanks once again in advance

Giles

Shwetha Vastrad (AdWords API Team)

unread,
May 16, 2016, 11:21:00 AM5/16/16
to AdWords API Forum
Hi Giles,

Yes, RateExceededErrors encountered by the BatchJobService may have an impact on the regular API requests made to the account at the same time. 
Reply all
Reply to author
Forward
0 new messages