Get Google Ads workspace debt
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.
Authorizations
Personal API key.
Path Parameters
ID of the app whose Google Ads campaigns to manage.
Response
What the workspace owes, and whether it can be settled.
Whether the workspace owes anything for Google Ads spend.
What can be done about the balance. no_workspace_debt means nothing is held. payable means there is an invoice and a usable card. requires_payment_method and requires_payment_refresh both mean a card is needed. pending_payment means a charge is already in flight. paid_recovery_incomplete means the invoice is paid but the account is still held. unavailable means the balance cannot be settled right now, including when stripe_unavailable is true. no_debt and not_recoverable mean the account has no settleable balance.
"payable"
Whether the account is in a state Base44 can settle at all (true) or not (false).
true
Whether there is a chargeable invoice and a usable card, so settling would go through now (true) or not (false).
true
Whether a card has to be added or replaced before the balance can be settled (true) or not (false).
false
Whether Base44 could not reach the payment provider (true) or reached it fine (false). When it is true the card check failed closed, so payment_method reads null and can_pay_now reads false because the check failed, not because the card is missing. Retry rather than telling someone to add a card.
false
ID of the Google Ads account the balance belongs to, or null when state is no_workspace_debt.
"68b1c0d4e7b91d003c45a1f8"
ID of the app that owns the held account, which is not necessarily the app in the path. The value is null when state is no_workspace_debt.
"6820f3a4e7b91d003c45a1f2"
Status of the held Google Ads account, or null when state is no_workspace_debt.
"BLOCKED"
Why the account is held, or null when it is not held or the reason is unrecorded.
"PAYMENT_FAILED"
How the account is billed. cadence is the recurring charge and threshold is spend-triggered. The value is null when state is no_workspace_debt.
"cadence"
The card on file, or null when the workspace has none and when the payment provider could not be reached.
The unpaid invoice behind the hold, or null when there is none to settle and when the latest one is already paid.