Returns one row per campaign per day for a Google Ads account: impressions, clicks, spend, conversions and conversion value, with money in micros of the account currency.
curl -X POST "https://api.primaryapi.com/v1/run/google-ads.campaign_performance" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"customerId":"1234567890","startDate":"2026-11-15","endDate":"2026-11-16"}'{
"output": {
"found": true,
"data": {
"currencyCode": "USD",
"timeZone": "America/New_York",
"period": "BETWEEN '2026-11-15' AND '2026-11-1…",
"nextCursor": null, …
}
},
"credits": 1
}Input and output
10 fields
1234567890.2026-11-15.2026-11-16.customerId THROUGH a manager (MCC) account: that manager account’s id (10 digits). Sent as the login-customer-id header. Omit for accounts the Google account can open directly.6 fields
Good to know
Runs as your connected Google account. Needs the Google Ads capability.
The same row shape every ad platform uses here. Raw counters only (work out CTR, CPC, CPA or ROAS from them), money as integer micros (1,000,000 per unit) of the account currency, days in the account’s time zone.
Days with no activity have no row.
Sorted by day, then cost, highest first.
Includes removed campaigns by default so totals match the account.
Unknown customer ID? It comes back as not found, not as an error.
The same key and credits work for every API.