How to use KeywordPlanService.GenerateHistoricalMetrics by Rest API

200 views
Skip to first unread message

Xingguo Sun

unread,
Jan 13, 2020, 7:46:10 AM1/13/20
to AdWords API and Google Ads API Forum
I have read the documentation for Google Ads API, but still can't figure out how to implement it. (Getting the search volume specifically)

I need to use this API in our add-ons, so I have to use the rest API(Google Ads API) in the app scripts.

For example,
how to use KeywordPlanService.GenerateHistoricalMetrics by Rest API

postGoogleAds.png



BTW, I think I know what should I add on the header.



WX20200113-131955@2x.png


Rohit Nishad

unread,
Feb 8, 2022, 2:11:38 PM2/8/22
to Google Ads API and AdWords API Forum
any update?

Google Ads API Forum Advisor

unread,
Feb 9, 2022, 2:36:54 AM2/9/22
to rohitnisha...@gmail.com, adwor...@googlegroups.com
Hi Rohit,

Thank you for reaching out to our team.

Please note that App Scripts is outside of our expertise already so I would not be able to assist you on generating API requests using it. However, if you will be directly using CURL, then I would suggest referring to this document as it presents details specific to REST and explains what you need to know to call the REST interface directly. Then, refer to this document to know how to construct the body of the API request for generating historical metrics. Lastly, refer to this document so that you can apply the procedure discussed there in the REST interface for generating historical metrics.

Let me know if you have questions with the provided support.

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


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