All skills
wix avatar

/wix-manage

@4895cc9 official
by Wix.comwix/skills33 stars
33

REST recipes to configure and manage a Wix site's business solutions — stores, bookings, payments, CMS, and more. Open the matching recipe for the exact endpoint, method, and payload before calling — never guess a Wix API, never write Wix dashboard URL from memory. Routes to: stores, bookings, get-paid, CMS, contacts, forms, media, app-installation, pricing-plans, restaurants, ricos rich-content, sites, blog, calendar, domains, events, site-properties, ecommerce, marketing, google-ads, google-business-profile, analytics, accessibility, seo, dashboard-navigation.

Use this Skill: https://skilld.dev/gh/wix/skills/wix-manage

This session only. Nothing lands on disk.

referencesgoogle-adsget-campaign-suggestions.md

≈2.3k tokens on demand. Your agent reads this file only when SKILL.md points to it.

RECIPE: Get AI Campaign Suggestions for Google Ads

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/_serverless/pa-google/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?

Goal Endpoint Used by
Keyword themes for a Smart campaign keyword-theme-suggestions / keyword-theme-options Smart campaigns
Geo targets geo-options Smart & PMAX
Daily budget tiers (Smart) budget-suggestions Smart campaigns
Budget recommendation (PMAX) budget-recommendation PMAX
Headlines & descriptions (PMAX) text-asset-suggestions PMAX
AI images (PMAX) image-asset-suggestions PMAX
Search themes (PMAX Leads) search-theme-suggestions PMAX
A full AI campaign config from a brief campaign-suggestions this recipe
Promotional credit offers incentives account 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).
  • campaignType — SMART (default) or PERFORMANCE_MAX_LEADS.
curl -X POST 'https://www.wixapis.com/_serverless/pa-google/v1/campaign-suggestions' \
  -H 'Authorization: <AUTH>' -H 'Content-Type: application/json' \
  -d '{ "campaignBriefId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "amount": 1, "campaignType": "SMART" }'
{ "campaignSuggestions": [ {
  "campaignMessaging": "Reach local customers searching for fresh-baked goods",
  "campaign": {
    "name": "Sunrise Bakery – Smart Campaign",
    "campaignType": "SMART",
    "budget": { "amountMicros": "15000000" },
    "smartCampaign": {
      "businessName": "Sunrise Bakery",
      "url": "https://www.example.com",
      "languageCode": "en",
      "adGroups": [ { "ads": [ {
        "headlines": ["Fresh Baked Daily", "Order Custom Cakes"],
        "descriptions": ["Award-winning pastries made fresh every morning.", "Custom cakes for every occasion."]
      } ] } ]
    }
  }
} ] }

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.

curl -X GET 'https://www.wixapis.com/_serverless/pa-google/v1/incentives?currency=USD' -H 'Authorization: <AUTH>'

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

Symptom Cause Fix
INVALID_ARGUMENT / MISSING_CAMPAIGN_BRIEF_ID SMART campaign-suggestions without a brief Create a campaign brief first, or request PERFORMANCE_MAX_LEADS
INVALID_ARGUMENT / MAX_CAMPAIGNS_TO_SUGGEST_EXCEEDED amount > 3 Request at most 3
Slow response on campaign/asset/budget suggestions LLM/Google calls (SLA up to 60–120s) Wait; don't retry prematurely
Incentives returns no offers Currency not supported Proceed without an incentive
INVALID_ARGUMENT on text/image assets landingPageUrl/languageCode missing Provide the required fields

References

Source: SKILL.md on GitHub

1 warning1d4 checks · Risk SAFE
  • Gen Agent Trust Hub1d

    The wix-manage skill is an extensive collection of management recipes for Wix sites, covering business solutions such as eCommerce, Bookings, SEO, and site provisioning. It utilizes official Wix REST endpoints and incorporates robust safety patterns, including mandatory user confirmation for sensitive operations and careful validation of site data before mutation.

  • Socket1d

    No alerts

  • Snyk1d

    Risk: MEDIUM · 1 issue

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 4895cc9. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated yesterday
compatibility
Requires Wix REST API access (API key or OAuth).
  • wix
  • rest-api
  • ecommerce
  • bookings
  • cms
  • contacts
  • blog
  • domains
  • restaurants
  • site-configuration
  • api-integration

README badge

README badge for wix/skills/wix-manage

REST API operations for configuring Wix business solutions including stores, bookings, CMS, contacts, domains, and ecommerce. Routes to site setup, entity management (products, services, staff), bulk administrative operations, and server-to-server integrations across Wix's business app ecosystem.

Generated from the current SKILL.md.

Do I need API credentials to use these recipes?
Yes. The skill requires Wix REST API access via either an API key or OAuth token to execute any management operations.
Can I use these recipes to display data on my site frontend?
No. These recipes are for backend REST API operations only — site configuration, entity management, and administrative tasks. They do not cover frontend development or displaying data to users.
What business domains do these recipes cover?
The skill covers stores, bookings, payments, CMS, contacts, forms, media, apps, pricing plans, restaurants, rich content, sites, blogs, calendars, domains, and site properties.
Do these recipes handle OAuth authentication with external services like Google Calendar?
Yes. The external calendar integration recipe covers OAuth-based setup with Google Calendar, Microsoft Outlook, and Apple Calendar for bidirectional event sync.

Generated from the current SKILL.md. These answers refresh after source changes.