List Google Ads promotional credits
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Returns the promotional credits on the app's Google Ads account.
Each credit carries its face value in amount_micros and how much has been spent in used_micros, both in micros of the credit currency. Subtract one from the other for what is left.
By default only credits that can still be spent are returned. Pass include_settled=true to also get recently used or expired ones, which come back with spendable: false. If you sum credits, filter on spendable rather than adding every row.
<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>
Request
- Base URLhttps://app.base44.com
- URLhttps://app.base44.com/api/apps/{app_id}/google-ads/billing/credits
- AuthHTTP bearer
Path parameters
ID of the app whose Google Ads campaigns to manage.
Query parameters
Also return credits that ran out or expired in the last 30 days, flagged spendable: false.
Response
Successful Response
Example response
[
{
"id": "68b1c0d4e7b91d003c45a1f7",
"code": "WELCOME50",
"credit_type": "GOOGLE_PROMO",
"status": "ACTIVE",
"currency_code": "EUR",
"amount_micros": 50000000,
"used_micros": 12000000,
"expires_at": "2026-12-31T23:59:59Z",
"spendable": true
}
]Changes
- info
the security scope
read_onlywas added to the endpoint's security schemePersonalAccessTokenAuth - info
the security scope
full_accesswas removed from the endpoint's security schemePersonalAccessTokenAuth
- info
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info