According to the documentation <quote>To generate historical metrics:
Create a KeywordPlan, KeywordPlanCampaigns, KeywordPlanAdGroups, 
KeywordPlanCampaignKeywords, and KeywordPlanAdGroupKeywords.
Call KeywordPlanService.GenerateHistoricalMetrics with that keyword plan.
</quote>

Now the weird thing is that the plans come out as a 4-element, 
slash-delimited string, 
e.g. customers/1879809528/keywordPlanCampaigns/413340892.  However, the 
GenerateHistoricalMetrics code (which is a documentation-inspired 
modification of code 
at 
https://developers.google.com/google-ads/api/docs/keyword-planning/generate-forecast-metrics)
 
expects a long, the keywordPlanId. 

I had thought that this number was the 4th item in the plan string, but 
this appears not to be the case (and I have traces to prove it.)

So how does one get from plan to metrics?

-- Bruce.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/87d15e1f-3a65-4e24-b41d-65fece310dbdn%40googlegroups.com.
  • Mo... Bruce Axtens
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to