API Quota Reduction

1,194 views
Skip to first unread message

Syed Stewart

unread,
Mar 22, 2022, 5:21:03 AM3/22/22
to Google Ads API and AdWords API Forum
Through the AdWords API, we could get stats for 3 million keywords per day with basic access, but with the new Google Ads API, through KeywordPlanAdGroupKeyordServiceClient and KeywordPlanIdeaService.GenerateKeywordIdeas, that number seems to have dropped to 15 thousands. Is this API quota reduction something Google has done or am I missing something?

Google Ads API Forum Advisor

unread,
Mar 22, 2022, 4:33:39 PM3/22/22
to labustgo...@gmail.com, adwor...@googlegroups.com
Hi Syed,

Thanks for reaching out. Planning service limitations are not related to access level. You can find the planning service-specific limitations here. Going over the 1 QPS limit will throw a RESOURCE_EXHAUSTED error.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YqDI0:ref

Syed Stewart

unread,
Apr 18, 2022, 10:02:16 AM4/18/22
to Google Ads API and AdWords API Forum

I would like to just confirm this is the way the new planning limits work.

I use the following process to get volume data for 800 keywords

1. I create a keyword plan. This counts as 1 operation.

2. I create a keyword plan campaign. This counts as 1 operation.

3. I create a keyword plan adgroup. This counts as 1 operation.

4. I add the 800 keywords to the keyword plan. This counts as 800 operations.

5. I generate the historical metrics. This counts as 1 operation.

6. I remove the keyword plan. This counts as 1 operation.

So to get the data for 800 keywords, it will cost me 805 operations.

Therefore, I want to confirm that with the basic plan we are limited to 15000 operations per day and this means that we can get maximum of only 15000 keywords in a single day.

Google Ads API Forum Advisor

unread,
Apr 19, 2022, 5:30:54 AM4/19/22
to labustgo...@gmail.com, adwor...@googlegroups.com
Hi Syed,

Thank you for your reply.

To confirm, mutate operations (create, update, remove) should be counted in the usual operations limit as mentioned here. You may also opt to use the BatchJobService when creating your keyword plans, and others, since the mutate operation of this service also supports these operations.

For the other get methods of the planning services, they are then calculated differently / separately as per this section of our API limits guide.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YqDI0:ref

synibleworkers

unread,
Apr 22, 2022, 2:24:50 PM4/22/22
to Google Ads API and AdWords API Forum
Yep this is brutal. I'm surprised more people aren't complaining about this. Quota drop from millions per day to 15000. It's now impossible to do real search volume research. It's also totally non-intuitive. Why do I have to setup a keyword plan, campaign, ad group just to check some search volumes. Who thought that was a good setup? It should let us check search volumes as we used to, then... when we've selected the keywords we want, we can create the keyword plan, campaign etc.. How it is now makes no sense, uses excessive, needless resources and doesn't allow anyway to do large scale keyword search volume research. It's a shame. 

Google Ads API Forum Advisor

unread,
Apr 25, 2022, 11:14:43 AM4/25/22
to synible...@gmail.com, adwor...@googlegroups.com
Hello,

Please allow me to share your feedback with our team. 

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YqDI0:ref

Google Ads API Forum Advisor

unread,
Apr 26, 2022, 11:05:12 AM4/26/22
to adwor...@googlegroups.com, synible...@gmail.com
Hello,

We have submitted an internal feature request on your behalf and relayed the issues that you noted. 

Additions/changes in subsequent versions of the API can be found on the release notes.

Google Ads API Forum Advisor

unread,
May 10, 2022, 10:02:34 AM5/10/22
to adwor...@googlegroups.com, synible...@gmail.com
Hi Vishal,

Thanks for your patience on this. The release of version 10.1 includes additions that should help your scenario. In 10.1, GenerateHistoricalMetrics no longer requires a KeywordPlan, campaign or ad group.

It may also be worth applying for Standard Access to avoid certain quotas/limits.

Syed Stewart

unread,
May 20, 2022, 1:58:18 PM5/20/22
to Google Ads API and AdWords API Forum
Hello,

Thanks for the new features, especially the introduction of GenerateHistoricalMetrics.

Do you mind adding these parameters from GenerateKeywordIdeasRequest to GenerateKeywordHistoricalMetricsRequest?

  1. geo_target_constants[]
  2. language

Google Ads API Forum Advisor

unread,
May 23, 2022, 2:29:36 PM5/23/22
to labustgo...@gmail.com, adwor...@googlegroups.com
Hi Syed,

The Ads API GenerateHistoricalMetrics method supports the same metrics found in Saved Keywords in the Ads UI. The location and language targeting parameters should be set on the keyword plan campaign that metrics are being generated for. 

Syed Stewart

unread,
May 24, 2022, 7:54:57 AM5/24/22
to Google Ads API and AdWords API Forum
Hi Matt,

I got the APIs mixed up. I wrote GenerateHistoricalMetrics when I meant GenerateKeywordHistoricalMetrics, and I apologize for the confusion.

Indeed, when calling GenerateHistoricalMetrics, I'm able to set the location and language targeting parameters on the keyword plan campaign, but I've not found a way to specify those parameters when calling GenerateKeywordHistoricalMetrics.

Google Ads API Forum Advisor

unread,
May 25, 2022, 12:58:49 AM5/25/22
to labustgo...@gmail.com, adwor...@googlegroups.com
Hi Syed,

Thank you for your reply.

As mentioned earlier by our colleague Matt, the language and location will need to be specified on the keyword plan campaign, when using the GenerateKeywordHistoricalMetrics feature of the Google Ads API. 

You may review this example to know more about the implementation. 

That said, when finally generating the metrics, You will no longer need to specify once more the language and location. The metrics will then be based on the contents of your keyword plan campaign, including the language and location that you set within those plans.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YqDI0:ref

Syed Stewart

unread,
May 25, 2022, 6:54:54 AM5/25/22
to Google Ads API and AdWords API Forum
Hello Peter,

Maybe the snippet below might help clarify what I meant.


<?php

// Before 10.1
// ===========
// Taken from https://developers.google.com/google-ads/api/docs/keyword-planning/generate-historical-metrics?hl=en#create_a_keyword_plan
$keywordPlanResource = self::createKeywordPlan(
    $googleAdsClient,
    $customerId
);
$planCampaignResource = self::createKeywordPlanCampaign(
    $googleAdsClient,
    $customerId,
    $countryCode, //
    $languageCode,
    $keywordPlanResource
);
// ...
$keywordPlanServiceClient = $googleAdsClient->getKeywordPlanServiceClient();
$generateHistoricalMetricsResponse = $keywordPlanServiceClient->generateHistoricalMetrics(
    $keywordPlanResource
);

// After 10.1
// ==========
$keywordPlanIdeaServiceClient = $googleAdsClient->getKeywordPlanIdeaServiceClient();
$generateHistoricalMetricsResponse = $keywordPlanIdeaServiceClient->generateKeywordHistoricalMetrics(
    [
        'customerId' => $googleAdsClient->getLoginCustomerId(),
        'keywords' => $keywords
    ]
);


Before 10.1, you needed to create a KeywordPlan to generate historical metrics, and you could specify the location and language parameters when creating a KeywordPlanCampaign.

The 10.1 release introduced generateKeywordHistoricalMetrics, allowing historical metrics generation without the need for a KeywordPlan.

As far as I can tell, there is no way to specify language and location parameters when calling generateKeywordHistoricalMetrics.

synibleworkers

unread,
May 25, 2022, 8:47:50 AM5/25/22
to Google Ads API and AdWords API Forum
This has issue has been brought up many times and the team here is not understanding the issue. Why release 10.1 and allow us to generate metrics without a keywword plan if we can't set the language and location? The 10.1 release was meant to solve an issue but they forgot certain functionality making it unusable. The ads api team needs to understand that the  generateKeywordHistoricalMetrics HAS to be able to add location and language for it to be useful otherwise it's unusable. Telling us to go back and generate a keyword plan is exactly the reason they released 10.1 and the  generateKeywordHistoricalMetrics so we wouldn't have to do that. Can someone on the ads team please make the api developers aware that the 10.1 release is useless unless they allow us to set language and location when calling  generateKeywordHistoricalMetrics.  

Google Ads API Forum Advisor

unread,
May 26, 2022, 2:37:54 AM5/26/22
to labustgo...@gmail.com, adwor...@googlegroups.com
Hi everyone,

Thank you so much Syed for the additional information and also for synibleworkers input on this issue.

Upon checking, this guide provides details on how the KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics can be used.

The location and language indeed is not required or available to be set in this new feature's request. If such a functionality of being able to include these parameters is available in the Google Ads UI's Keyword Planner, you may send a screenshot so that I may raise a feature request, subject for review, for its support in the Google Ads API.

Should the screenshot include your user / account information, you may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Syed Stewart

unread,
May 26, 2022, 4:44:13 AM5/26/22
to Google Ads API and AdWords API Forum
Hi Peter,

Yes, it's possible to set the location in Keyword Planner. The language is preset to "All languages" though, and it cannot be changed.

I have attached a screenshot.
keyword-planner-screenshot.jpeg

Google Ads API Forum Advisor

unread,
May 26, 2022, 10:38:49 PM5/26/22
to labustgo...@gmail.com, adwor...@googlegroups.com
Hi Syed,

Thank you for providing more details to your concern.

Upon checking the provided UI, the language is default to the "All language". With this, since the API only mirrors the UI, then it appears that it is also the default value when not specifying it in the API requests. As for modifying the language using Google Ads API, you can use the update KeywordPlanCampaignOperation to update the language_constants[] field, then re-execute the KeywordPlanService.GenerateHistoricalMetrics.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YqDI0:ref

Syed Stewart

unread,
May 28, 2022, 2:11:42 AM5/28/22
to Google Ads API and AdWords API Forum
Hi Ernie,

Thanks for your response.

It's possible to select a location in Keyword Planner, as I showed in the screenshot I attached above. Could you please make this possible in KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics as well?

Google Ads API Forum Advisor

unread,
May 30, 2022, 6:23:04 PM5/30/22
to labustgo...@gmail.com, adwor...@googlegroups.com
Hi Syed,

Thank you for the reply.

Could you confirm if what you want is to set all the parameters only in the KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics? If yes, then I am afraid that multiple services are involved here as mentioned in this document. However, so that I can raise your concern to my team about generating historical metrics, would you be able to provide your use case for the feature you are looking for? 

Syed Stewart

unread,
May 31, 2022, 3:27:49 AM5/31/22
to Google Ads API and AdWords API Forum
Hi Ernie,

I am particularly interested in having a location parameter in KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics.

My use case for this is to be able to do some keyword research without the tedium of creating a KeywordPlan, a KeywordPlanCampaign, a KeywordPlanAdGroup, e.t.c., then removing them. I should be able to create those entities only after I've done my research and selected the keywords I want.

Alex Papageorgiou

unread,
Jul 5, 2022, 10:35:12 AM7/5/22
to Google Ads API and AdWords API Forum
Hello, 
Bringing this conversation back to life
a number of parameters have been added such as language and geo target constants - but I 've also seen reports on this forum that these parameters do not actually change anything in the response. 
Could someone confirm if these new additions, especially language and location params now work as expected? Thanks

Google Ads API Forum Advisor

unread,
Jul 5, 2022, 1:42:55 PM7/5/22
to alp...@gmail.com, adwor...@googlegroups.com
Hi Alex,

Thank you for following up on this thread.

We have recently received feedback from the rest of our team that this should now be working as expected. Should you encounter issues, you may provide to our team your complete request and response logs, and request-id, so our team can raise this issue once more regarding the generateKeywordHistoricalMetrics.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


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