We have a tool that generates localized keyword suggestions to our clients based on historical search volumes. For that purpose we have been fetching historical metrics for ~3000 keywords on ~700 cities within US. And we have been doing this on a monthly basis. Up until last month we have been using adwords api without any problems and it was taking only a day to complete these requests.
We migrated to Google Ads API v10 and followed
this guide to generate historical metrics. But we are struggling to make this work with the new API. We designed our app to create one KeywordPlan, one KeywordPlanCampaign and one KeywordPlanAdGroup for each city we are targeting (~700 cities) and create ~3000 KeywordPlanAdGroupKeyword under every KeywordPlan. However, without any luck, for the past week we haven't been able to successfully create all 3K keywords for not even a single keyword plan. Everytime we make the api call for creating KeywordPlanAdGroupKeyword with 3000 create operations we got a RESOURCE_EXHAUSTED error.
I am aware of the Planning Service specific limitations explained
here and we are putting a 2 seconds delay between each request to adhere the 1 QPS requirement. Basically our app makes;
1 mutate request for creating 700 KeywordPlans