RECIPE: Get AI Campaign Suggestions for Google Ads

Download skillThe skill is a reference md and part of wix-manage skill. You can use the following command to add the full wix-manage skill to your project:
Copy

The Suggestions API produces the values that make a campaign effective — keywords, locations, budgets, and creative assets — either from Google directly or from Wix's AI. It's the input layer for the create-campaign recipes; this file is the standalone reference for each endpoint and for the two that don't appear there (full campaign suggestions from a brief, and incentive offers).

Base URL: https://www.wixapis.com/google-ads/v1. <AUTH> is the Authorization header; body calls also need Content-Type: application/json. All suggestion endpoints are read-only — none create or spend anything, so run them freely.

Two conventions to carry into every answer (this is where they trip people up):

  • Budgets come back in micros. Every dailyBudget / budgetAmountMicros / recommendedBudgetAmountMicros is in micros, where 1,000,000 micros = 1 unit of the account's currency (so 15000000 = $15.00/day). Always convert to currency units when presenting to a user, and pass micros back when creating a campaign.
  • Geo suggestions return an id, not a usable target. geo-options returns each location's id (e.g. "1023191"). To target it in a campaign you must wrap it as geoTargetConstants/{id} (e.g. "geoTargetConstants/1023191") in locations[].location.geoTargetConstant. The raw id alone is not accepted.

Which suggestion do you need?

GoalEndpointUsed by
Keyword themes for a Smart campaignkeyword-theme-suggestions / keyword-theme-optionsSmart campaigns
Geo targetsgeo-optionsSmart & PMAX
Daily budget tiers (Smart)budget-suggestionsSmart campaigns
Budget recommendation (PMAX)budget-recommendationPMAX
Headlines & descriptions (PMAX)text-asset-suggestionsPMAX
AI images (PMAX)image-asset-suggestionsPMAX
Search themes (PMAX Leads)search-theme-suggestionsPMAX
A full AI campaign config from a briefcampaign-suggestionsthis recipe
Promotional credit offersincentivesaccount setup

For the campaign-building endpoints (keyword themes, geo, Smart budget, PMAX text/image/search-theme assets, PMAX budget recommendation), see the Quick Reference below — and the Performance Max recipe for the PMAX asset/budget calls in context. Below are the two endpoints unique to this reference.


Full AI campaign suggestions (from a campaign brief)

Generates one or more complete, ready-to-use campaign configurations — assets, keywords, and geo targets bundled into a campaign object you can pass almost directly to Create Campaign. Smart suggestions come from a previously created campaign brief; PMAX Leads suggestions come from the site's marketing settings and pages. Uses an LLM — responses can take up to 120 seconds.

  • campaignBriefId — required for SMART (the brief id you created earlier). PMAX Leads doesn't need one.
  • amount — how many suggestions to generate (max 3).
  • campaignTypeSMART (default) or PERFORMANCE_MAX_LEADS.
Copy
Copy

Present campaignMessaging and the config to the user, then use the campaign object as the basis for creating the campaign (add accountId, status, budget, and locations before Create). costInMicrocents in the response is the AI cost — absorbed by Wix, not charged to the caller. Errors: MISSING_CAMPAIGN_BRIEF_ID (Smart without a brief), MAX_CAMPAIGNS_TO_SUGGEST_EXCEEDED (amount > 3).


Promotional incentive offers

Credit offers for new accounts, granted after a spend threshold. Only supported currencies return offers. This drives the optional incentive step of account setup.

Copy

Returns lowOffer / mediumOffer / highOffer, each with incentiveId, awardAmount, and requiredAmount, plus a consolidatedTermsAndConditionsUrl. Pass the chosen incentiveId as selectedIncentiveId when creating the account.


Quick reference — the create-flow suggestion endpoints

  • Keyword themes: POST /v1/keyword-theme-suggestions with { suggestionInfo: { liveSiteUrl, languageCode, businessName? } } → themes with displayName. Autocomplete: GET /v1/keyword-theme-options?queryText=&languageCode=&countryCode=.
  • Geo targets: GET /v1/geo-options?queryLocation=&languageCode=&countryCode= → geo targets with id (→ geoTargetConstants/{id}). May include restricted countries (rejected at create).
  • Smart budget tiers: POST /v1/budget-suggestions with { suggestionInfo: { liveSiteUrl, languageCode } }low/recommended/high with dailyBudget (micros) and estimated clicks.
  • PMAX budget: POST /v1/budget-recommendation with { campaignType, assetGroupInfo:[{finalUrl,...}], currency, ... }recommendedBudgetAmountMicros + budgetOptions.
  • Text assets: POST /v1/text-asset-suggestions (suggestionInfo.landingPageUrl + textSuggestionInfo.languageCode required).
  • Image assets: POST /v1/image-asset-suggestions (suggestionInfo.landingPageUrl required; images auto-uploaded to Wix Media).
  • Search themes: POST /v1/search-theme-suggestions (textSuggestionInfo.languageCode required).

Error handling

SymptomCauseFix
INVALID_ARGUMENT / MISSING_CAMPAIGN_BRIEF_IDSMART campaign-suggestions without a briefCreate a campaign brief first, or request PERFORMANCE_MAX_LEADS
INVALID_ARGUMENT / MAX_CAMPAIGNS_TO_SUGGEST_EXCEEDEDamount > 3Request at most 3
Slow response on campaign/asset/budget suggestionsLLM/Google calls (SLA up to 60–120s)Wait; don't retry prematurely
Incentives returns no offersCurrency not supportedProceed without an incentive
INVALID_ARGUMENT on text/image assetslandingPageUrl/languageCode missingProvide the required fields

References

Last updated: 30 July 2026

Did this help?