I'm trying to use the Google Ads API to gather historical metrics on 
keywords in all fifty states.

Using the Python wrapper library, for each of the 51 locations (states + 
District of Colombia), I'm doing this:
- I create a KeywordPlan
- I create a KeywordPlanCampaign specific to the location, using the 
KeywordPlan
- I create a KeywordPlanAdGroup using the KeywordPlanCampaign
- I create a KeywordPlanAdGroupKeywords using the KeywordPlanAdGroup, for 
100 keywords
- I call generate_historical_metrics() on the KeywordPlanService

This runs through all 51 locations successfully and I get all the data.

If I try it again with another 100 keywords, it fails halfway through with 
RESOURCE_EXHAUSTED errors. "Resource has been exhausted (e.g. check quota)."

As soon as that happens, I'm locked out for 24 hours.

I tried having it wait an hour before starting again, and got locked out 
for 24 hours.

The day after that I tried having it wait for two hours, along with a 5 
minute wait between each of the 51 queries, and got locked out for another 
24 hours.

According to the API quotas 
page https://developers.google.com/google-ads/api/docs/best-practices/quotas 
I should not be seeing these errors at all. I have no idea what quota I'm 
hitting or how to address it.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3f5be15f-34e8-438c-874f-7cdd9960ded4n%40googlegroups.com.
  • RE... Jason Tiscione
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Jason Tiscione

Reply via email to