POST

Create Campaign


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates a campaign and immediately activates it in the requested status. The campaign becomes visible in the site's Promote/Ads dashboard alongside any manually created campaigns.

Creating a Smart Campaign (campaignType SMART) is deprecated. Support for creating new Smart Campaigns will be removed in a future release, so use PERFORMANCE_MAX or PERFORMANCE_MAX_LEADS instead. Existing Smart Campaigns aren't affected and can still be retrieved, updated, paused, and resumed through this API.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage google ads campaigns
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/_serverless/pa-google/v1/campaigns

Errors
400Invalid Argument

There are 12 errors with this status code.

428Failed Precondition

There are 6 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?