Get search volumes for past 12 months with new google-ads API

905 views
Skip to first unread message

Ed Ng

unread,
Apr 26, 2019, 6:18:39 AM4/26/19
to AdWords API and Google Ads API Forum
Hi,

I have a question on using the new Ads API to pull monthly search volumes for past 12 months.  According to the documentation (https://developers.google.com/google-ads/api/docs/release-notes#keyword_planning), the old way of pulling search volumes data using TargetingIdeaService is replaced by KeywordPlanService.GenerateHistoricalMetrics.  With the new Ads API, instead of getting past 12 months of search volumes per keyword per month, it returns a single search volume value (appears to be an overall average of last 12 months) per keyword only.  Does anyone know any ways to get keyword monthly search volumes for past 12 months with the new Ads API?  

The client is written in Java btw.  I did follow documentation to create keyword plan > campain > ad group > keywords before calling GenerateHistoricalMetrics and I don't see any config in the API that lets you specify period for historical metrics and monthly aggregation.  

We've been using the Adwords API version v201806 for search volumes for a while until it broke recently with an UNSUPPORTED_VERSION error.  We really need to restore this service to function as before.  Any helps will be greatly appreciated!

-Ed

googleadsapi...@google.com

unread,
Apr 26, 2019, 3:47:29 PM4/26/19
to ed...@mmiagency.com, AdWords API and Google Ads API Forum
Hi Ed,

Unfortunately, it's currently not possible to segment the data by month. The historical metrics will only return the average monthly searches for the past 12 months.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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+unsubscribe@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+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/178ea5b7-d53f-4958-a72a-a302fe9602c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages