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.
PERFORMANCE_MAX creates a retail campaign from the account's linked Google Merchant Center feed, and fails with
MERCHANT_CENTER_ACCOUNT_NOT_LINKED unless the account's merchantCenterAccountLinkStatus.status is ENABLED. It
doesn't accept asset group assets, asset group signals, excluded keywords, a phone number or a url. To create a
campaign from your own asset group (headlines, descriptions, images and logos) for the site's url, use
PERFORMANCE_MAX_LEADS.
You can only call this method when authenticated as a Wix app or Wix user identity.
There are 19 errors with this status code.
There are 8 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.