The Campaign API creates, updates, launches, pauses, and deletes Google Ads campaigns for a Wix site. It supports Smart campaigns (auto-managed by Google) and Performance Max (PMAX) campaigns (multi-channel using asset groups). PMAX Leads is a Performance Max variant focused on lead generation.
GetCampaignChangeLog.CreateCampaign creates a campaign immediately in the status you specify, including DRAFT. If no status is provided, the campaign defaults to PAUSED.
LaunchCampaign to activate a campaign for the first time. Use ResumeCampaign to reactivate a campaign that was previously live and then explicitly paused.PauseCampaign to stop a running campaign without losing its configuration. Pass a scheduledResumeDate to schedule an automatic resume — a job runs at that time and fires a CampaignAutoResumed domain event. Pass null to cancel an existing scheduled resume.UpdateCampaign is a partial update: only the fields you include in the request are sent to Google Ads.GetCampaignChangeLog to retrieve the full event history for a campaign. GetCampaignStatusHistory is a legacy method.A campaign's status is read-only and synced from Google Ads. It may change without developer action — for example, due to a policy violation or billing issue. The possible values are:
DRAFT — The campaign was created but not yet launched.LIVE — The campaign is active and serving ads.PAUSED — The campaign was paused by the user.LEARNING — The campaign is in the learning phase (PMAX Leads only, approximately 28 days after launch).IN_REVIEW — Wix is finalizing the payment setup for the campaign.DISAPPROVED — The campaign or its assets violate Google Ads policy and will not serve.NOT_SERVING — The campaign is not serving due to budget limitations.ENDED — The campaign has ended (PMAX campaigns with an endDate).ERROR — The campaign is in an error state.It's important to note the following points before starting to code:
DeleteCampaign permanently deletes the campaign. Deleted campaigns cannot be recovered.utm_campaign parameter in the campaign's final URL suffix for analytics attribution.Last updated: 16 July 2026