Metrics from Keyword Planner vs Google Ads API (GenerateKeywordForecastMetricsResponse)

95 views
Skip to first unread message

Isaac Esses

unread,
Jan 7, 2024, 7:22:36 PM1/7/24
to Google Ads API and AdWords API Forum
Hi There,

I'm currently trying to pull keyword forecasts from the Google Ads API and I'm finding the values different than what I'm seeing in the UI; I'm hoping someone can help me:
1. Understand the differences
2. Find a way to get the exact values from the UI via the API so that I can share these forecasts with my customer without them seeing discrepancies (if/when they check)

Example: 
Forecast for the keyword 'subaru' Broad Match for Jan 7 - 13 returns: 
Google Ads UI:
Impressions: 396,815.34
Cost:$354,573.73
Google Ads API via GenerateKeywordForecastMetrics:
Impressions: 397,709.50
Cost:$401,164.15

Thanks! 

Google Ads API Forum Advisor

unread,
Jan 8, 2024, 1:23:02 AM1/8/24
to adwor...@googlegroups.com
Hi,

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

By reviewing your concern, I understand that you are experiencing a discrepancy between the UI and API responses. To investigate this issue further, please provide the Complete API logs (request and response with request-id and request header).

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .NetPHPPythonRuby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02rVBt5:ref"

Thanks,
 
Google Logo Google Ads API Team


Isaac Esses

unread,
Jan 8, 2024, 3:41:47 PM1/8/24
to adwor...@googlegroups.com
Hi There,

Thanks for the reply! I'm running these requests through Google Sheets & Apps Script - I'm not sure if there are API logs in Apps Script but please let me know if I'm mistaken there (I'm not super familiar with this process so apologies in advance..). Here's some more information that I hope is what you're looking for:

Request: 

{"customer_id":"2944525035","forecast_period":{"start_date":"2024-02-01","end_date":"2024-02-29"},"campaign":{"language_constants":["languageConstants/1000"],"keyword_plan_network":"GOOGLE_SEARCH","bidding_strategy":{"manual_cpc_bidding_strategy":{"max_cpc_bid_micros":100000000}},"ad_groups":[{"biddable_keywords":[{"keyword":{"text":"subaru","match_type":"BROAD"}}]}]}} { service: 'KeywordPlanIdeaService', method: 'GenerateKeywordForecastMetrics', version: 'v15' }

Response:

{ "campaignForecastMetrics": { "impressions": 1502701.125, "clickThroughRate": 0.07320823520421982, "averageCpcMicros": "15413430", "clicks": 110010.1015625, "costMicros": "1695633029369", "conversions": 3571.638671875, "conversionRate": 0.03246646001935005, "averageCpaMicros": "474749319" } }

This testing was done on an sandbox Google Ads account that I own - 
CID: 690054953
External CID: 294-452-5035

Please let me know if this helps/what else I can provide.

Thanks! 

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 a topic in the Google Groups "Google Ads API and AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/7zxjUOBIGAI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/CM6pY000000000000000000000000000000000000000000000S6XJ1P009a4YTcAARDqdfOWuJtThzg%40sfdc.net.


--


unnamed.gif
Isaac Esses
Account Strategist
Google Customer Solutions, New York, NY
ies...@google.com | 650-942-5107







                                 
                               
                                                                 

***For all technical or troubleshooting issues you can contact our dedicated Agency support team by clicking here to access chat, or calling 1-866-246-6453. *Be sure to use your Agency MCC ID.***


Fastest Agency Resolutions Links
Reply all
Reply to author
Forward
0 new messages