Get Google Ads billing status
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Reports whether the workspace can be charged for ad spend, and shows the card on file.
Read this before creating or resuming a campaign, both of which need a usable card.
<Warning>The check fails closed. When Base44 cannot reach the payment provider it returns has_payment_method: false with stripe_unavailable: true, which means "could not check" rather than "no card". Retry in that case instead of telling someone to add a card.</Warning>
<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
Successful Response
Example response
{
"has_payment_method": true,
"currency_code": "EUR",
"payment_method_brand": "visa",
"payment_method_last4": "4242"
}Changes
Changed in 2 of the 11 revisions of this API.2
- ○
removed the non-success response with the status
422response-non-success-status-removed
- ○
- ○
endpoint added
endpoint-added
- ○