Create Google Ads campaign

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Creates a campaign on the app's Google Ads account and starts serving it.

This spends money. The workspace needs a payment method on file and an account in good standing. Without either, the call returns a 402 and no campaign is created. A campaign is also created paused when the app's conversion tracking is not yet verified, so check status on the response rather than assuming it is serving.

Set campaign_type to SMART or PERFORMANCE_MAX. daily_budget_micros is in micros of the account currency and has a per-currency floor Google enforces. A budget below it comes back as a 400 carrying Google's reason, and the campaign is not created. Advertisers in the EU must declare whether the campaign carries political advertising. The call is rejected until that declaration is on file.

Google validates the campaign as it is created, so a rejected ad text, an unreachable landing page, or a budget below the floor comes back as a 400 with Google's own reason.

<Note>This endpoint accepts a personal API key. Workspace API keys are not authorized for it and are rejected with a 403.</Note>

<Warning>A 409 means the change may or may not have been applied. The request to Google Ads timed out after it was sent. Read the campaign back with Get campaign before retrying, or you can end up applying it twice.</Warning>

<Warning>The response includes fields beyond the ones documented here. Don't rely on undocumented response fields, as they can change at any time. Send only the fields documented here. Other request fields are not supported and their behavior can change.</Warning>

post/api/apps/{app_id}/google-ads/campaigns

Path parameters

app_idstring required

ID of the app to advertise.

ID of the app to advertise.

Request body

campaign_namestring required

Name for the campaign.

campaign_type'SMART' | 'PERFORMANCE_MAX'

Which campaign type to create.

daily_budget_microsinteger required

Daily budget in micros of the account currency, so 15000000 is 15.00. Google enforces a per-currency minimum and rejects anything below it with a 400.

landing_pagestring

URL the ads send clicks to. Google rejects the campaign if it cannot reach this page.

logo_urlstring

URL of a square logo image. Required for a PERFORMANCE_MAX campaign and rejected with a 400 when missing; ignored for SMART. Google must be able to fetch it.

keyword_themesstring[]

Themes to match searches on, for a SMART campaign.

headlinesstring[]

Ad headlines. Google reviews these against its advertising policies.

descriptionsstring[]

Ad description lines. Google reviews these against its advertising policies.

geo_targetsstring[]

Google Ads geo target constant IDs to target.

business_namestring

Business name shown in the ad.

phone_numberstring

Phone number shown in the ad. On PERFORMANCE_MAX it becomes a call asset and must be in international format with the country code (e.g. +18506168085) — Google needs the country alongside the number, and any other format is rejected with a 400. SMART campaigns take it as typed. Omit for no phone.

contains_eu_political_advertisingboolean

Whether the campaign carries political advertising. Required before an EU advertiser can create a campaign.

Response

Successful Response

idstring required

Base44's ID for the campaign. Pass this as campaign_id on the other campaign endpoints.

google_campaign_idstring required

The campaign's ID in Google Ads. Empty while a just-created campaign is still being pushed to Google.

campaign_namestring required

Name shown for the campaign.

campaign_type'SMART' | 'PERFORMANCE_MAX' | 'SEARCH' | 'DISPLAY' | 'SHOPPING' | 'VIDEO' | 'DEMAND_GEN' | 'LOCAL' | 'UNKNOWN' required

Campaign type. Base44 creates SMART and PERFORMANCE_MAX. The other values appear only on campaigns created outside Base44 and synced in.

status'ENABLED' | 'PAUSED' | 'REMOVED' | 'UNKNOWN' required

Serving state in Base44's cache. A status of REMOVED is a deleted campaign, which Google keeps for reporting.

daily_budget_microsinteger required

Daily budget in micros of the account currency, where 1,000,000 micros is one unit, so 15000000 is 15.00.

landing_pagestring required

URL the ads send clicks to.

geo_targetsstring[] required

Google Ads geo target constant IDs the campaign targets.

phone_numberstring required

Campaign phone number, empty when the campaign has none. E.164 on PERFORMANCE_MAX (where it is a call asset); as typed on SMART.

learning_ends_atstring date-time nullable

When Smart Bidding's learning period is expected to end, about 14 days after creation, or null on a campaign that has not started learning.

review_statusstring required

Google's policy review status, passed through as Google reports it (REVIEWED, UNDER_REVIEW, …). Empty until the first sync after creation.

serving_statusstring required

Google's serving status, passed through as Google reports it. Can still report review gating after policy review clears, so read it alongside review_status.

primary_statusstring required

Google's summary of whether the campaign is serving well, passed through as Google reports it (ELIGIBLE, LIMITED, NOT_SERVING, …).

primary_status_reasonsstring[] required

Google's reasons behind primary_status, for example why a campaign is limited. Empty when there is nothing to explain.

created_datestring date-time required

When the campaign was created in Base44.

updated_datestring date-time required

When Base44 last changed its record of the campaign.

Example response

{
  "id": "68b1c0d4e7b91d003c45a1f2",
  "google_campaign_id": "21098765432",
  "campaign_name": "Spring sale in Berlin",
  "campaign_type": "SMART",
  "status": "ENABLED",
  "daily_budget_micros": 15000000,
  "landing_page": "https://example.com/spring",
  "geo_targets": [
    "1003854"
  ],
  "phone_number": "+493012345678",
  "learning_ends_at": "2026-09-08T11:20:00Z",
  "review_status": "REVIEWED",
  "serving_status": "SERVING",
  "primary_status": "ELIGIBLE",
  "primary_status_reasons": [
    "CAMPAIGN_BUDGET_LIMITED"
  ],
  "created_date": "2026-08-25T11:20:00Z",
  "updated_date": "2026-08-25T14:05:00Z"
}

Changes

Changed in 2 of the 11 revisions of this API.3