Hello I want to get cpc for keywords. Response for forecast returns:

"keywordForecasts": [
    {
      "keywordPlanAdGroupKeyword": 
"customers/2705932929/keywordPlanKeywords/743359713813",
      "keywordForecast": {
        "impressions": 0,
        "clicks": 0,
        "costMicros": "0"
      }
    },

BUT this resource "customers/2705932929/keywordPlanKeywords/743359713813" 
doesn't exist! There was a conversation regarding 
this https://groups.google.com/g/adwords-api/c/uwP9auFv_a8/m/LxHVjnK3BAAJ
with a solution Mar 18, 2019, 8:38:42 PM



to AdWords API and Google Ads API Forum
Hi Gintaras, 

You can use the GoogleAdsService 
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#googleadsservice>
 to 
get the text from keyword_plan_keyword resource for the corresponding 
keyword_plan_ad_group_keyword 
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#google.ads.googleads.v1.services.KeywordPlanKeywordForecast>
 created 
in the plan. The query given below should be helpful. 

SELECT
 keyword_plan_keyword.text,
 keyword_plan_keyword.id
FROM
keyword_plan_keyword
WHERE
keyword_plan_keyword.id IN (14140579338)
LIMIT
100

Please let me know if you have any additional questions. 

Thanks,
Sreelakshmi, Google Ads API Team

Please help me how can I retrieve text for keyword forecast. 
Thank you!

Best, Vlad











-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1e07707f-37f2-4a89-89eb-5bbac8760badn%40googlegroups.com.
  • Ho... Vladymyr Karpov
    • ... Vladymyr Karpov
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Vladymyr Karpov

Reply via email to