Skip to main content
GET
Get Google Ads performance dashboard

Authorizations

api_key
string
header
required

Personal API key.

Path Parameters

app_id
string
required

ID of the app whose Google Ads reporting you want to read.

Query Parameters

start_date
string
required

First day of the window, as YYYY-MM-DD. Inclusive.

end_date
string
required

Last day of the window, as YYYY-MM-DD. Inclusive.

include_campaign_trend
boolean
default:true

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.

spend
number
required

Amount spent in the window, in the account's currency.

Example:

1240.75

impressions
integer
required

Impressions in the window.

Example:

52100

clicks
integer
required

Clicks in the window.

Example:

1830

roas
number
required

Return on ad spend: conversion value divided by spend. 0 when nothing was spent.

Example:

2.35

campaign_breakdown
DashboardCampaignRow · object[]
required

One row per campaign that has metrics in the window, archived campaigns included, so the rows sum to the totals above.

Example:
includes_estimated
boolean
required

true when some rows are Base44's own estimate rather than a figure Google reported.

Example:

false

spend_trend
number | null

Percentage change in spend against the previous window of the same length. null when the previous window had no spend to compare against.

Example:

12.4

impressions_trend
number | null

Percentage change in impressions against the previous window.

Example:

-3.2

clicks_trend
number | null

Percentage change in clicks against the previous window.

Example:

8.1

conversions
number | null

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.

Example:

64

conversions_trend
number | null

Percentage change in conversions against the previous window. null whenever conversions is null.

Example:

15

roas_trend
number | null

Percentage change in return on ad spend against the previous window.

Example:

4.7

top_search_terms
DashboardTopSearchTerm · object[]

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.

Example:
monthly_spend_cap_micros
integer
default:0

The account's monthly spend cap in micros, or 0 when no cap is set. Absent when the account has no synced campaigns yet.

Example:

50000000

trend
DashboardTrendPoint · object[] | null

Account-wide daily series for the window. Absent when Base44 served its own copy of the numbers instead of Google's live figures.

Example:
conversion_goals
DashboardConversionGoal · object[] | null

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.

Example: