Skip to main content
GET
Get Google Ads performance dashboard

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Scopes

full_access
PersonalAccessTokenAuth
full_access
WorkspaceApiKeyAuth
full_access
WorkspaceApiKeyBearerAuth

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

conversions_value
number
required

Total value of the window's conversions, in the account's currency.

Example:

2915

roas
number
required

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

Example:

2.35

conversion_rate
number
required

Conversions divided by clicks, as a percentage. 0 when there were no clicks.

Example:

3.5

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. When the real-conversions setting is on, this excludes Add to cart, Begin checkout and Phone call clicks.

Example:

64

conversions_trend
number | null

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

Example:

15

conversions_value_trend
number | null

Percentage change in conversion value against the previous window.

Example:

9.6

cost_per_conversion
number | null

Spend divided by conversions, in the account's currency. null when there were no conversions.

Example:

19.39

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: