Generate Forecast Metrics API output vs UI

77 views
Skip to first unread message

Sinu Joseph

unread,
Apr 6, 2022, 12:25:49 PM4/6/22
to Google Ads API and AdWords API Forum
Hi,
I'm starting off on google ads api. So please excuse me for a dumb question.

I ran the Google Forecast Metrics API for a set of keywords. Below is the output of the API.
"campaignForecasts": [
        {
            "keywordPlanCampaign": "customers/XXXXXXX/keywordPlanCampaigns/XXXXXXX",
            "hasKeywordPlanCampaign": true,
            "campaignForecast": {
                "impressions": 906.3535766601562,
                "hasImpressions": true,
                "ctr": 0.04165558144450188,
                "hasCtr": true,
                "averageCpc": 892418,
                "hasAverageCpc": true,
                "clicks": 37.75468444824219,
                "hasClicks": true,
                "costMicros": 33692939,
                "hasCostMicros": true
            }
        }

For the same query params, this is the reponse that i get. 
Forecast Metrics.png

I'm not able to understand, why API gives me one value,and how is that one value (row) determinded?

I do know that i can get the curve by calling another API. Thats not the question. My question is, how the API returned one row.

Regards
Sinu

Google Ads API Forum Advisor

unread,
Apr 6, 2022, 11:25:40 PM4/6/22
to josep...@gmail.com, adwor...@googlegroups.com
Hi Sinu,

Thank you for reaching out to the Google Ads API Team.

In order for us to better investigate why you only got one row of forecast data for a set of keywords, can you please provide the complete request and response logs with request ID ? You may send the requested information to me via Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ZKQIr:ref
Reply all
Reply to author
Forward
0 new messages