list_display_targeting

Walmart Connect Read

Browse the Display targeting catalog for an advertiser: contextual (tier_1

Endpoint

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

Headers

Description

Browse the Display targeting catalog for an advertiser: contextual (tier_1..tier_7) or behavioral (audienceType retail/brand/persona/custom/demographic) targets to use when building ad-group targeting. Pass tactic and (for behavioral) audience_type; search_text to narrow.

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
advertiser_idstring optionalWalmart Advertiser ID. Optional when only one advertiser is connected.
tacticstring optionalTargeting tactic to list. one of: contextual, behavioral
audience_typestring optionalFor behavioral: retail|brand|persona|custom|demographic.
search_textstring optionalFree-text to narrow the catalog.
querystring optionalFree-text search across names/ids/text (case-insensitive).
sort_bystring optionalField to sort by (e.g. name, dailyBudget, bid). Unknown/absent values sort last.
sort_orderstring optionalSort direction (default asc). one of: asc, desc
offsetinteger optionalRow offset for paging (default 0).
limitinteger optionalMax rows per page (default 50, capped at 200). The response reports total, filtered and has_more.

Example request

{
  "arguments": {
    "tactic": "contextual",
    "sort_order": "asc"
  }
}

Example responses

200 — Success

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

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": "list_display_targeting"
}

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": "list_display_targeting",
  "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