Clarification Needed Regarding API Requests/Operations Count

46 views
Skip to first unread message

Mario

unread,
Jun 8, 2021, 7:21:43 AM6/8/21
to AdWords API and Google Ads API Forum
Hi,

I am using the Ads API. My issue has to do with keeping track of the number of API requests made in order to avoid passing the 15,000 operations limit (for a basic access token).

Currently, I rely on the "Metrics" section on the Google Cloud Platform (using a link similar to the following: https://console.cloud.google.com/apis/api/googleads.googleapis.com/metrics?project=.......) to check the number of requests we have made during the day.

My first question is: Is there another, possibly more practical, way to check how many operations/requests I have already made throughout the day? 

Moving on to my next point: not all requests are being shown on the page stated above.
I have some scripts scheduled to run using the Windows Task Scheduler. Although I am sure that they are running successfully, the request made by the scheduled scripts are not being counted.

My second question is: Is there any known reason for this discrepancy in the request count? To rephrase, could you give me any insight as to why it seems that those requests are not being counted?

I hope the issues raised are clear. Your assistance, as always, is highly appreciated.

Regards,
Mario

Google Ads API Forum Advisor

unread,
Jun 9, 2021, 6:27:29 AM6/9/21
to chal...@gmail.com, adwor...@googlegroups.com

Hello Mario,

Thank you for reaching out to us.

Since the Basic access is limited to 15,000 operations/day, you may want to consider upgrading your access to Standard (Unlimited operations/day). You can check on this guide for more details.

As for your first question, in the Google Ads API's perspective, you can see the API calls made on a project ID basis if you check the Google Cloud Console. As for your second question, could you provide more details on the discrepancy that you've mentioned?

Regards,

Google Logo
Mark Kevin Albios
Google Ads API Team
 


ref:_00D1U1174p._5004Q2I13Iv:ref

Mario

unread,
Jun 9, 2021, 8:06:29 AM6/9/21
to AdWords API and Google Ads API Forum
Hi Mark,

Thank you for your reply.

Regarding your response to my first question:
If I understood correctly, there is no alternative way to keep track of the calls made other than visiting the Cloud Console website?
For instance, I wouldn't be able to get such data through an API call or a script?

Also, ignore the second question. The discrepancy was due to a faulty observation on my part.
I rechecked and all calls are being counted accurately.

Regards,
Mario

Google Ads API Forum Advisor

unread,
Jun 10, 2021, 3:40:52 AM6/10/21
to chal...@gmail.com, adwor...@googlegroups.com

Hello Mario,

Thanks for getting back to us.

As for your first question, I'm afraid that there is no alternative way for now. What I can think programmatically is to have a counter on your code that will keep track of those api request/operations.

Regards,

Reply all
Reply to author
Forward
0 new messages