POST

Get Campaign Suggestions


Developer Preview

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

Retrieves AI-generated campaign configurations, including assets, keywords, and geo targets.

For Smart campaigns, the configurations are generated from a previously created campaign brief, specified in campaignBriefId. For Performance Max Leads campaigns, they're generated from the site's marketing settings and pages.

For Performance Max Leads campaigns, the generated images are saved to the site's Media Manager, in the "Google Ads AI generated images" folder.

Use a returned configuration as the starting point when you call Create Campaign.

The response can take up to 120 seconds.

Authentication

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

Permission Scopes
View google ads campaigns
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/_serverless/pa-google/v1/campaign-suggestions

Errors
400Invalid Argument

There are 2 errors with this status code.

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

Did this help?