List Google Ads advertising languages

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 languages a campaign's ads can run in.

These are the codes the rest of the Google Ads endpoints accept as an ads language, for example language_code on Estimate Google Ads cost per click. The list is the same for every app and changes only when Base44 adds a language, so you can cache it. The app does not need a Google Ads account.

This is limited to 120 requests a minute per app, shared with Get Google Ads campaign launch draft. Some workspaces have a different limit.

<Note>This endpoint accepts a personal API key from anyone who can view the app, including a read-only key. Workspace API keys are not authorized for it and are rejected with a 403.</Note>

get/api/apps/{app_id}/google-ads/languages

Request

  • Base URL: https://app.base44.com
  • URL: https://app.base44.com/api/apps/{app_id}/google-ads/languages
  • Auth: HTTP bearer

Path parameters

app_idstring required

ID of the app whose Google Ads campaigns to manage.

Response

The supported ads languages.

languagesstring[] required

Two-letter ISO 639-1 codes, sorted alphabetically. Name them in your own interface language yourself; the API returns codes only.

Example response

{
  "languages": [
    "ar",
    "de",
    "en",
    "es",
    "fr",
    "he"
  ]
}

Changes