preview_amazon_sd_creative

Amazon Ads Read

Preview the rendered HTML of a Sponsored Display creative before creating it

Endpoint

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

Headers

Description

Preview the rendered HTML of a Sponsored Display creative before creating it. Needs a size {width,height} and one ASIN to render against.

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
profile_idstring optionalAmazon Ads profile ID (advertiser account). Omit to use the user's selected account. Find IDs with list_amazon_profiles.
sizeobject requiredPreview placement size, e.g. {width: 300, height: 250}.
asinstring requiredOne product ASIN to render the preview against.
headlinestring optionalHeadline to preview.
brand_logoobject optionalLogo to preview {asset_id, asset_version}.
rect_custom_imageobject optionalRectangular image to preview.
square_custom_imageobject optionalSquare image to preview.
landing_page_typestring optionalLanding page type (default DETAIL_PAGE).
on_amazonboolean optionalWhether the ad links on Amazon (default true). default: true

Example request

{
  "arguments": {
    "size": {},
    "asin": "string",
    "profile_id": "string",
    "headline": "string",
    "brand_logo": {},
    "rect_custom_image": {},
    "square_custom_image": {},
    "landing_page_type": "string"
  }
}

Example responses

200 — Success

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

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

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