About the result of Google Keyword planner of both UI & API

92 views
Skip to first unread message

Ming

unread,
Jan 26, 2023, 6:23:10 AM1/26/23
to Google Ads API and AdWords API Forum
Hi there,

I tried to obtain the forecast metrics from both online Keyword Planner UI & API with same campaign language, location, manual cpc value, estimation period etc.

I got the metric value from the online Keyword Planner UI but I got all 0 from the API result. Is there any different for the forecast part in both online Keyword Planner UI & API? coz I got the same value for historical metrics but not in forecast part.

Regards,
Ming

Google Ads API Forum Advisor

unread,
Jan 26, 2023, 8:42:11 AM1/26/23
to ming...@theegg.com, adwor...@googlegroups.com
Hi Ming,

Thank you for reaching out to the Google Ads API support team.

With regards to your concern, it appears that this is about comparing the forecast metrics data between the Google Ads UI and API. Kindly note that in order for our team to provide accurate guidance, we will be needing some information from you. Having said that, can you please provide the uncropped screenshot of the Google Ads UI showing the said data and the complete request and response logs with request ID and request header generated on your end?

You may then send the requested logs via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

In addition, you may check our API documentation which has the details about Keyword Planning in the Google Ads API. Also, this Generate Forecast Metrics guide and this section for its mapping to the UI.

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2iNzTT:ref

Google Ads API Forum Advisor

unread,
Jan 26, 2023, 8:50:06 PM1/26/23
to ming...@theegg.com, suki....@theegg.com, alice...@theegg.com, adwor...@googlegroups.com
Hi Ming,

Thank you for the reply.

You may check this documentation for more information on Generate Forecast Metrics. Additionally since you want to generate forecast metrics, I would suggest you Call KeywordPlanService.GenerateForecastMetrics with that keyword plan. You may check this documentation for more information.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2iNzTT:ref
Message has been deleted

Google Ads API Forum Advisor

unread,
Jan 27, 2023, 1:47:40 AM1/27/23
to ming...@theegg.com, suki....@theegg.com, alice...@theegg.com, adwor...@googlegroups.com

Hi Ming,

Thanks for getting back to us.

For your other question, you may note that API and UI treat keyword plans can result in seeming discrepancies when comparing results between the two. To avoid misinterpreting the results, keep the following rules in mind:

  • The Google Ads API always uses the settings at the KeywordPlanCampaign level.
  • The Google Ads UI always uses the settings at the KeywordPlan level. However, these settings are not currently accessible to the API.
  • If you create a KeywordPlan using the Google Ads API, it shows up in the UI as targeting all locations and languages.
  • The UI also shows various metrics for all locations and languages; the settings at the underlying KeywordPlanCampaign are ignored by the UI. The UI might also prevent you from editing these keyword plans.
  • If you create a KeywordPlan using the UI, the Google Ads UI sets geo targets for the underlying KeywordPlanCampaign under certain conditions.
  • These settings are not presented to you on the UI, which can lead to a mismatch in metrics when comparing them against the values retrieved using the API.
  • Editing the keyword plan settings in the UI can also cause the API and UI metrics to diverge.


This is because the Google Ads UI exposes these settings at the plan level and doesn't expose the underlying KeywordPlanCampaign and KeywordPlanAdGroup objects. When possible, avoid mixing the keyword plans created by the API and the UI.

In addition, I can see that you are using Google Ads API v10, however, please note that v10 is already deprecated, and after the sunset, all v10 API requests will begin to fail. We highly recommend to please migrate to a newer version prior to February 1, 2023 to ensure your API access is unaffected.

For additional information, please see Deprecation and Sunset, and Release Notes for the functionality and changes added in v12. 

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2iNzTT:ref

Google Ads API Forum Advisor

unread,
Jan 27, 2023, 1:49:25 AM1/27/23
to ming...@theegg.com, suki....@theegg.com, adwor...@googlegroups.com, alice...@theegg.com
Hi Ming, 

In addition, I had to delete your last post as it contained completed logs. Kindly refrain from posting complete logs and sensitive deails on the forum thread. Instead, you may send us privately.

Thank you!!
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages