Hello!
I am trying to get historical statistics as described here 
https://developers.google.com/google-ads/api/docs/keyword-planning/generate-historical-metrics?hl=en#generate_the_metrics
I created keyword plans and do a request to GenerateHistoricalMetrics
But it doesn't respond to me with keyword metrics objects. 
https://developers.google.com/google-ads/api/reference/rpc/v9/KeywordPlanKeywordHistoricalMetrics?hl=en

In the response I can see searchQuery and closeVariants only for some of my 
keywords, you can find logs here:

I, [2022-04-13T17:25:22.218409 #15426]  INFO -- : CID: N/A, Host: 
googleads.googleapis.com:443, Method: 
/google.ads.googleads.v9.services.KeywordPlanService/GenerateHistoricalMetrics, 
IsFault: no, Request ID: YYTWLpe0Ta0F5tXPQ8uU6w
D, [2022-04-13T17:25:22.218983 #15426] DEBUG -- : Outgoing request: 
Headers: 
{"developer-token":"REDACTED","login-customer-id":"<MCC-account-id>","x-goog-api-client":"gl-ruby/2.7.1
 
gccl/15.0.0 gax/0.6.0 gapic/15.0.0 
grpc/1.41.0","x-goog-request-params":"keyword_plan=customers/<my-customer-id>/keywordPlans/<keyword-plan-id>"}
 
Payload: 
{"keywordPlan":"customers/<my-customer-id>/keywordPlans/<keyword-plan-id>"}
D, [2022-04-13T17:25:22.219057 #15426] DEBUG -- : Incoming response: 
Payload: 
{"metrics":[{"searchQuery":"<my-keyword-0>","closeVariants":["<my-keyword-variant-0>"]},{"searchQuery":"<my-keyword-1>"},{"searchQuery":"<my-keyword-2>","closeVariants":["<my-keyword-variant-2>"]},{"searchQuery":"<my-keyword-3>"},{"searchQuery":"<my-keyword-variant-3>"}]}

How can I get KeywordPlanHistoricalMetrics 
<https://developers.google.com/google-ads/api/reference/rpc/v9/KeywordPlanHistoricalMetrics>
 statistics 
in the response? 

Btw, on UI after Keyword plan creation according to the steps in 
documentation I have error adn can not see these stats as well

Thanks, 
Maksym

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/59a31739-306b-4429-929e-05b249950618n%40googlegroups.com.
  • Ke... Maksym Masalitin
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to