upload_amazon_asset

Amazon Ads Write

Download an image/video from a URL, validate it against Amazon's creative specs (BRAND_LOGO ≥400×400px ≤1MB; OTHER_IMAGE ≥1200×628px ≤5MB; BACKGROUND_VIDEO MP4/MOV), and upload+register it in the crea

Endpoint

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

Headers

Description

Download an image/video from a URL, validate it against Amazon's creative specs (BRAND_LOGO ≥400×400px ≤1MB; OTHER_IMAGE ≥1200×628px ≤5MB; BACKGROUND_VIDEO MP4/MOV), and upload+register it in the creative asset library. Returns the asset_id needed for Sponsored Brands ads (brandLogoAssetID / videoAssetIds). ALWAYS run this before create_amazon_sb_ad if the customer doesn't already have an asset ID.

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.
asset_urlstring requiredPublic URL of the image/video to download and upload to Amazon's creative asset library
namestring requiredDisplay name for the asset in the library
asset_sub_typestring optional'BRAND_LOGO' (≥400×400px ≤1MB JPG/PNG), 'OTHER_IMAGE' (custom image ≥1200×628px ≤5MB), or 'BACKGROUND_VIDEO' (MP4/MOV ≤500MB) default: "BRAND_LOGO"
asinsarray optionalASINs to associate with the asset
brand_entity_idstring optionalBrand Registry entity ID (sellers)

Example request

{
  "arguments": {
    "asset_url": "https://example.com",
    "name": "string",
    "profile_id": "string",
    "asset_sub_type": "BRAND_LOGO",
    "asins": [
      "string"
    ],
    "brand_entity_id": "string"
  }
}

Example responses

200 — Success

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

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

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