Hi, with the available example python scripts I managed to use the Google 
Ads API get a campaign infos, add a keyword plan, get keyword ideas, and 
generate forecast metrics. However I still have difficulties to understand 
some of the logic and especially finding the names of the methods to 
perform given actions. For example, the code for getting a KeywordPlan is 
keyword_plan_service = client.get_service("KeywordPlanService") and 
resource_name = keyword_plan_service.keyword_plan_path(customer_id, 
keyword_plan_id). I could not find where the method keyword_plan_path is 
listed in the documentation. The documentation lists: rpc GetKeywordPlan(
GetKeywordPlanRequest 
<https://developers.google.com/google-ads/api/reference/rpc/v6/GetKeywordPlanRequest>)
 
returns (KeywordPlan 
<https://developers.google.com/google-ads/api/reference/rpc/v6/KeywordPlan>), 
with  a field resource_name  for GetKeywordPlanRequest and KeywordPlan that 
seems to "require" cusomter_id and plan_id (that I extracted from the url 
in Google Ads Planner). Because of the script example I can use it. But if 
I want now to query the forecast and historical metrics for an existing  
Keyword Plan Ad group, I don't know how to proceed. There is a 
KeywordPlanAdGroupService with  GetKeywordPlanAdGroupReques 
<https://developers.google.com/google-ads/api/reference/rpc/v6/GetKeywordPlanAdGroupRequest>t
 
returning a  KeywordPlanAdGroup with field resource_name that seems to 
"require"  customer_id and  kp_ad_group_id. How do I query the planner ad 
group in this case (keyword_plan_ad_group_path does not work)? And more 
generally, how do I find the method, e.g. keyword_plan_path? Thank you very 
much and best regards

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d818a0c2-16e9-4344-ace8-11ec39fba9efn%40googlegroups.com.

Reply via email to