create_display_campaign

Walmart Connect Write

Create one or more Walmart Display (DSS) campaigns, created PAUSED/DRAFT (never auto-spend)

Endpoint

POST https://api.adspirer.ai/api/v1/tools/create_display_campaign/execute

Headers

Description

Create one or more Walmart Display (DSS) campaigns, created PAUSED/DRAFT (never auto-spend). Money is plain-decimal USD (CPM), minimum $0.01. ⛔ Budget + schedule (budget_type, daily_budget/total_budget, start_date, end_date, delivery_speed) must be set at the campaign level OR the ad-group level — NOT both. mediaType (banner/video) is permanent after create; a video campaign supports objective=awareness only.

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
advertiser_idstring optionalWalmart Advertiser ID. Optional when only one advertiser is connected.
namestring optionalCampaign name (≤240 chars).
media_typestring optionalCreative media type (default banner). PERMANENT after create. one of: banner, video
objectivestring optionalCampaign objective (video → awareness only). one of: awareness, engagement, conversion
descriptionstring optionalOptional description (≤240 chars).
budget_typestring optionalSet only if budget lives at the campaign level. one of: daily, total
daily_budgetnumber optionalDaily budget, decimal USD (budget_type=daily).
total_budgetnumber optionalTotal budget, decimal USD (budget_type=total).
start_datestring optionalyyyy-MM-dd (ET). Required with a budget.
end_datestring optionalyyyy-MM-dd (ET); omit for indefinite (needs daily budget).
delivery_speedstring optionalPacing; frontloaded not allowed with a daily budget. one of: frontloaded, evenly
campaignsarray optionalOptional: create several at once (each object = the fields above). ≤10.

Example request

{
  "arguments": {
    "media_type": "banner",
    "objective": "awareness",
    "budget_type": "daily",
    "delivery_speed": "frontloaded"
  }
}

Example responses

200 — Success

{
  "success": true,
  "data": {
    "text": "(tool-specific textual output for create_display_campaign)",
    "quota": {
      "used": 42,
      "limit": 150,
      "tier": "plus",
      "period_end": "2026-05-01"
    }
  },
  "tool": "create_display_campaign"
}

400 — Tool-level error (bad arguments / multi-account selection)

{
  "success": false,
  "error": "You have 25 meta_ads accounts connected. Please specify which account to use by passing the ad_account_id parameter:\n  - Acme Holdings (ad_account_id=\"act_123456789\")\n  - Acme EU (ad_account_id=\"act_987654321\")",
  "is_error": true,
  "tool": "create_display_campaign"
}

402 — Quota exhausted

{
  "success": false,
  "error": "\ud83d\udea8 Monthly limit reached (150/150 tool calls on Plus tier).\nUpgrade to Pro at https://adspirer.ai to keep building.",
  "is_error": true,
  "tool": "create_display_campaign",
  "quota": {
    "used": 150,
    "limit": 150,
    "tier": "plus",
    "period_end": "2026-05-01",
    "upgrade_url": "https://adspirer.ai"
  }
}

Try it live


Adspirer REST API — get an API key at adspirer.ai/keys · adspirer.ai