Get Google Ads performance dashboard
Returns the account’s spend, clicks, impressions, conversions and return on ad spend for a date window, each with its change against the previous window of the same length, plus a per-campaign breakdown.
Base44 reads these numbers from Google Ads on every call. When Google is unavailable it falls back to its own nightly copy, which is the same shape minus trend and conversion_goals: write your client to treat both as optional rather than assuming the live shape.
Archived campaigns stay in both the totals and the breakdown, so the rows always sum to the figures above them.
conversions and conversions_trend are null for an account that records no conversions and has no conversion tracking configured, so a real zero stays distinguishable from an untracked account. List conversion actions shows whether the account has any goals at all.
Set include_campaign_trend to false to drop the per-campaign daily sparkline. It costs one Google Ads row per campaign per day, so leaving it on is noticeably slower on an account with many campaigns and a long window.
start_date and end_date are inclusive and must both be YYYY-MM-DD. Anything else is rejected with a 400.Authorizations
Personal API key.
Path Parameters
ID of the app whose Google Ads reporting you want to read.
Query Parameters
First day of the window, as YYYY-MM-DD. Inclusive.
Last day of the window, as YYYY-MM-DD. Inclusive.
Include each campaign's daily series in campaign_breakdown[].trend. Set it to false to leave the series out, which is significantly faster on an account with many campaigns or a long window.
Response
The account's totals for the window, plus a row per campaign.
Account-wide totals for the window, plus a per-campaign breakdown.
Amount spent in the window, in the account's currency.
1240.75
Impressions in the window.
52100
Clicks in the window.
1830
Return on ad spend: conversion value divided by spend. 0 when nothing was spent.
2.35
One row per campaign that has metrics in the window, archived campaigns included, so the rows sum to the totals above.
true when some rows are Base44's own estimate rather than a figure Google reported.
false
Percentage change in spend against the previous window of the same length. null when the previous window had no spend to compare against.
12.4
Percentage change in impressions against the previous window.
-3.2
Percentage change in clicks against the previous window.
8.1
Conversions in the window. null when the account has no conversion tracking configured and recorded none, because the number would read as a real zero.
64
Percentage change in conversions against the previous window. null whenever conversions is null.
15
Percentage change in return on ad spend against the previous window.
4.7
Up to four search terms that drove the most clicks in the last 30 days, regardless of the window you asked for. Empty when the term read failed or the account has no campaigns yet.
The account's monthly spend cap in micros, or 0 when no cap is set. Absent when the account has no synced campaigns yet.
50000000
Account-wide daily series for the window. Absent when Base44 served its own copy of the numbers instead of Google's live figures.
Every conversion goal on the account with its count for the window. Absent when Base44 served its own copy of the numbers, and null when the goal read failed.