Get Google Ads workspace debt
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Returns what the workspace owes for Google Ads spend, and whether it can be settled.
The balance is workspace-wide rather than per app. Base44 holds Google Ads at the workspace level, so this resolves the held account across every app in the workspace and reports it from whichever app you ask through. That is why app_id in the response can name a different app from the one in the path. Read state first, since no_workspace_debt is the normal answer and leaves every other field at a neutral default rather than omitting it.
Nothing here charges anything. Settling a balance is a card transaction Base44 deliberately keeps out of this API, so treat a payable state as something to raise with whoever owns the card.
<Note>Unlike the rest of the Google Ads API, this endpoint stays available while Google Ads is switched off for you, so a workspace can always see what it owes.</Note>
<Note>This endpoint accepts a personal API key. Workspace API keys are not authorized for it and are rejected with a 403.</Note>
<Warning>The response includes fields beyond the ones documented here. Don't rely on undocumented response fields, as they can change at any time.</Warning>
Path parameters
ID of the app whose Google Ads campaigns to manage.
ID of the app whose Google Ads campaigns to manage.
Response
What the workspace owes, and whether it can be settled.
Example response
{
"state": "payable",
"account_id": "68b1c0d4e7b91d003c45a1f8",
"app_id": "6820f3a4e7b91d003c45a1f2",
"account_status": "BLOCKED",
"block_reason": "PAYMENT_FAILED",
"charge_trigger_mode": "cadence",
"recoverable": true,
"can_pay_now": true,
"payment_method": {
"brand": "visa",
"last4": "4242"
},
"invoice": {
"id": "68b1c0d4e7b91d003c45a1fa",
"status": "FAILED",
"billing_type": "weekly",
"period_start": "2026-08-18",
"period_end": "2026-08-24",
"amount_micros": 43500000,
"currency_code": "USD",
"failed_at": "2026-08-25T04:12:00Z"
}
}Changes
Changed in 1 of the 14 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○