Keyword Plans - bulk retrieving historical metrics

60 views
Skip to first unread message

William Turrell

unread,
Oct 21, 2021, 5:06:15 PM10/21/21
to AdWords API and Google Ads API Forum
Hello. I am using the PHP Client library (V8).

Is it possible to retrieve historical data for multiple Keyword Plans (separately) in a single request? 

\Google\Ads\GoogleAds\V8\Services\Gapic\KeywordPlanServiceGapicClient::generateHistoricalMetrics only accepts a single plan but I am wondering if I can (or indeed should, for efficiency reasons) wrap multiple classes in something else?

Thanks,
William

Google Ads API Forum Advisor

unread,
Oct 22, 2021, 11:18:15 AM10/22/21
to adwor...@googlegroups.com
Hello,

Thanks for reaching out. The GenerateHistoricalMetricsRequest method can only accept one keyword plan, as you mentioned. This method also is not supported for batch jobs, as the BatchJobService only supports mutate operations (you can see a list of supported batch job operations here).

The planning services and KeywordPlanService metric generation methods are subject to special limits. You can find these here.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


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