geo_target_constants - Resource has been exhausted

135 views
Skip to first unread message

Yoav Melamed

unread,
Mar 30, 2021, 10:35:21 AM3/30/21
to AdWords API and Google Ads API Forum
Hi,

I'm using geographic_view with geo_target_state segment. Since the geo_target_state returned as a number I'm using the geo_target_state.get resource for translation - to get the state name.
After 1000 calls I'm reaching the quota and the resource stop working.
What is the best unlimited way to translate the state code to a name?

Thanks,

Yoav

Google Ads API Forum Advisor Prod

unread,
Mar 30, 2021, 9:55:09 PM3/30/21
to yo...@trapica.com, adwor...@googlegroups.com
Ho Yoav,

The Resource has been exhausted error indicates that you have already exceeded the daily (1,000) quota for GET requests/operations. You may refer to this documentation for the quota you need to consider daily when performing requests using the API.

I would recommend that you use the alternatives mentioned here when retrieving objects. Furthermore, if you wish to get unlimited number of operations (please see here), apart from the GET request/operation, you may opt to upgrade to standard access as well.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2EoPS6:ref

Yoav Melamed

unread,
Mar 31, 2021, 8:53:44 AM3/31/21
to AdWords API and Google Ads API Forum
Thank you for the answer - I understand the quota issue.
I want to translate the US state code returned from an API call to a state name, for that I don't want to move to streaming.
Is there a place where I can find the geo_target_constant in a static manner and copy it once to my place to avoid extra API calls?
Or any populated key-value states codes?

Google Ads API Forum Advisor Prod

unread,
Apr 2, 2021, 10:15:34 AM4/2/21
to yo...@trapica.com, adwor...@googlegroups.com
Hello,

You can find the Ids and the names to these locations here.

Regards,
Anthony

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q2EoPS6:ref

Yoav Melamed

unread,
Apr 4, 2021, 2:44:13 AM4/4/21
to AdWords API and Google Ads API Forum
Thanks.

Ngon Nguyen

unread,
Jul 23, 2021, 5:19:26 PM7/23/21
to yo...@trapica.com, AdWords API and Google Ads API Forum


Nó kì A 3.1

Vào 21:35, Th 3, 30 thg 3, 2021 Yoav Melamed <yo...@trapica.com> đã viết:
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
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 "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/c4dfdabf-cef5-4ae4-ad19-9f573af5ed07n%40googlegroups.com.

Ngon Nguyen

unread,
Jul 23, 2021, 5:19:56 PM7/23/21
to adsapifor...@gmail.com, yo...@trapica.com, adwor...@googlegroups.com


Nó kì A 3.1

Vào 8:54, Th 4, 31 thg 3, 2021 Google Ads API Forum Advisor Prod <adsapifor...@gmail.com> đã viết:
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
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 "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.

Google Ads API Forum Advisor

unread,
Jul 25, 2021, 9:56:55 PM7/25/21
to ngonng...@gmail.com, yo...@trapica.com, adwor...@googlegroups.com
Hi Ngon,

Thank you for commenting on this forum post.

Could you confirm if you have question or concern with what my colleague's response on this forum post? If yes, then please provide more details about it so that I can check.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2EoPS6:ref
Reply all
Reply to author
Forward
0 new messages