Keyword Plan Service : How to consume

40 views
Skip to first unread message

Narender Bana

unread,
Apr 15, 2019, 6:48:35 AM4/15/19
to AdWords API and Google Ads API Forum
Hi,

I am trying to consume Keyword Plan Service API available in the google ads using java client libraries, But this API requires planId in the request.
And am not aware what this planId signfies. Can someone help me to invoke this API and how to I get this planId inroder to invoke Keyword Plan Service
to get historical metrices.


Thanks 

googleadsapi...@google.com

unread,
Apr 15, 2019, 3:01:14 PM4/15/19
to AdWords API and Google Ads API Forum
Hello Narender,

You could use the code samples shown here to create a keyword plan first and then can use the resource name of the Keyword Plan for KeywordPlanService. For now the code samples for keyword plan is available in C# and PHP only. You could refer them and follow the similar pattern to create KeywordPlans in Java.

Regards,
Sai Teja, 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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

Narender Bana

unread,
Apr 22, 2019, 12:47:50 PM4/22/19
to AdWords API and Google Ads API Forum
Thanks. It helped.
Reply all
Reply to author
Forward
0 new messages