Logo von Unified Sp Migration

Unified Sp Migration

Community
wjwwwww
unified-sp-migration

Use when migrating Sponsored Products campaigns from SP v3 API (/sp/) to the Unified API (/adsApi/v1/), including endpoint mapping, request body restructuring, header changes, field mapping differences, bidding/targeting migration, and troubleshooting migration errors.

Übersicht

Herausgeberwjwwwww
Repositoryamazon-ads-api-skills
Skill-Nameunified-sp-migration
Sterne
30
Forks
2
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von wjwwwww auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Unified Sp Migration in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/wjwwwww/amazon-ads-api-skills/tree/main/skills/unified-sp-migration
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wjwwwww/amazon-ads-api-skills.git /tmp/amazon-ads-api-skills
mkdir -p .claude/skills
cp -r /tmp/amazon-ads-api-skills/skills/unified-sp-migration .claude/skills/unified-sp-migration
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Unified Sp Migration in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Unified Sp Migration automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Unified Sp Migration nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Sponsored Products: SP v3 API to Unified API Migration Guide

1. Migration Overview

This guide helps API developers migrate from the Sponsored Products v3 API (paths like /sp/...) to the Unified API (paths like /adsApi/v1/...).

Key Architectural Changes

AspectSP v3 APIUnified API
ScopeSP-only APIShared across all ad products (SP, SB, etc.)
Endpoint pattern/sp/{resource}/adsApi/v1/{action}/{resource}
HTTP methodsMixed (POST, PUT, GET, DELETE)All POST
Content-TypeVersioned per resource (e.g. application/vnd.spAdGroup.v3+json)Standard application/json
Targeting modelSeparate endpoints for keywords, targets, negative keywords, negative targetsUnified /targets endpoint with targetType and negative flag
Product AdsDedicated /sp/productAds endpointUnified /ads endpoint
Ad product identifierImplicit (from path)Explicit adProduct: "SPONSORED_PRODUCTS" required

Confidence Legend

  • ✅ Confirmed from schema — directly verifiable from API spec field names, types, and enum values
  • ⚠️ Reasonable inference — based on semantic analysis and naming patterns; not from an official migration guide
  • ❓ Unconfirmed — cannot be determined from schema alone; open a support case with Amazon Ads API team

2. Header Changes

HeaderSP v3 APIUnified APIConfidence
Client IDAmazon-Advertising-API-ClientIdAmazon-Ads-ClientId✅ Confirmed
Profile/ScopeAmazon-Advertising-API-Scope (required)Amazon-Advertising-API-Scope (optional)✅ Confirmed
Account IDNot usedAmazon-Ads-AccountId (optional)✅ Confirmed
Content-TypeVersioned: application/vnd.spAdGroup.v3+json, application/vnd.spCampaign.v3+json, etc.Standard: application/json✅ Confirmed
PreferPrefer header (optional)Not used✅ Confirmed

3. Endpoint Path Mapping

Core CRUD Operations

OperationSP v3 APIUnified API
Create CampaignPOST /sp/campaignsPOST /adsApi/v1/create/campaigns
Update CampaignPUT /sp/campaignsPOST /adsApi/v1/update/campaigns
List CampaignsPOST /sp/campaigns/listPOST /adsApi/v1/query/campaigns
Delete CampaignsPOST /sp/campaigns/deletePOST /adsApi/v1/delete/campaigns
Create Ad GroupPOST /sp/adGroupsPOST /adsApi/v1/create/adGroups
Update Ad GroupPUT /sp/adGroupsPOST /adsApi/v1/update/adGroups
List Ad GroupsPOST /sp/adGroups/listPOST /adsApi/v1/query/adGroups
Delete Ad GroupsPOST /sp/adGroups/deletePOST /adsApi/v1/delete/adGroups
Create Product AdPOST /sp/productAdsPOST /adsApi/v1/create/ads
Update Product AdPUT /sp/productAdsPOST /adsApi/v1/update/ads
List Product AdsPOST /sp/productAds/listPOST /adsApi/v1/query/ads
Delete Product AdsPOST /sp/productAds/deletePOST /adsApi/v1/delete/ads

Targeting (Consolidated in Unified API)

OperationSP v3 APIUnified API
Create KeywordsPOST /sp/keywordsPOST /adsApi/v1/create/targets (targetType: KEYWORD)
Update KeywordsPUT /sp/keywordsPOST /adsApi/v1/update/targets
List KeywordsPOST /sp/keywords/listPOST /adsApi/v1/query/targets
Delete KeywordsPOST /sp/keywords/deletePOST /adsApi/v1/delete/targets
Create Negative KeywordsPOST /sp/negativeKeywordsPOST /adsApi/v1/create/targets (negative: true)
Update Negative KeywordsPUT /sp/negativeKeywordsPOST /adsApi/v1/update/targets
List Negative KeywordsPOST /sp/negativeKeywords/listPOST /adsApi/v1/query/targets (negativeFilter)
Delete Negative KeywordsPOST /sp/negativeKeywords/deletePOST /adsApi/v1/delete/targets
Create TargetsPOST /sp/targetsPOST /adsApi/v1/create/targets (targetType: PRODUCT/PRODUCT_CATEGORY)
Update TargetsPUT /sp/targetsPOST /adsApi/v1/update/targets
List TargetsPOST /sp/targets/listPOST /adsApi/v1/query/targets
Delete TargetsPOST /sp/targets/deletePOST /adsApi/v1/delete/targets
Create Negative TargetsPOST /sp/negativeTargetsPOST /adsApi/v1/create/targets (negative: true)
Create Campaign Neg KeywordsPOST /sp/campaignNegativeKeywordsPOST /adsApi/v1/create/targets (negative: true, campaignId)
Create Campaign Neg TargetsPOST /sp/campaignNegativeTargetsPOST /adsApi/v1/create/targets (negative: true, campaignId)

HTTP Method Changes

OperationSP v3Unified API
Update CampaignPUTPOST
Update Ad GroupPUTPOST
Update Product AdPUTPOST
Update KeywordsPUTPOST
Update TargetsPUTPOST

The Unified API uses POST for all operations.


4. Campaign-Level Field Mapping

4.1 Campaign Creation — Side by Side

SP v3 API (POST /sp/campaigns):

json
{
  "campaigns": [{
    "name": "My SP Campaign",
    "state": "ENABLED",
    "budget": { "budget": 50.00, "budgetType": "DAILY" },
    "startDate": "2026-02-01",
    "dynamicBidding": {
      "strategy": "LEGACY_FOR_SALES",
      "placementBidding": [
        { "placement": "PLACEMENT_TOP", "percentage": 50 },
        { "placement": "PLACEMENT_PRODUCT_PAGE", "percentage": 25 }
      ]
    },
    "portfolioId": "<portfolio-id>"
  }]
}

Unified API (POST /adsApi/v1/create/campaigns):

json
{
  "campaigns": [{
    "adProduct": "SPONSORED_PRODUCTS",
    "name": "My SP Campaign",
    "state": "ENABLED",
    "marketplaceScope": "SINGLE_MARKETPLACE",
    "startDateTime": "2026-02-01T00:00:00Z",
    "budgets": [{
      "budgetType": "MONETARY",
      "budgetValue": {
        "monetaryBudgetValue": {
          "monetaryBudget": { "value": 50.00 }
        }
      },
      "recurrenceTimePeriod": "DAILY"
    }],
    "optimizations": {
      "bidSettings": {
        "bidStrategy": "SALES_DOWN_ONLY",
        "bidAdjustments": {
          "placementBidAdjustments": [
            { "placement": "TOP_OF_SEARCH", "percentage": 50 },
            { "placement": "PRODUCT_PAGE", "percentage": 25 }
          ]
        }
      }
    },
    "portfolioId": "<portfolio-id>"
  }]
}

4.2 Field-by-Field Mapping

FieldSP v3Unified APIConfidence
Ad productNot needed (implicit)adProduct: "SPONSORED_PRODUCTS" (required)✅ Confirmed
Budgetbudget: { budget: 50, budgetType: "DAILY" }Nested budgets[].budgetValue.monetaryBudgetValue.monetaryBudget.value✅ Confirmed
Budget typebudget.budgetType: "DAILY"budgets[].recurrenceTimePeriod: "DAILY"✅ Confirmed
Date formatYYYY-MM-DDISO 8601 YYYY-MM-DDTHH:mm:ssZ✅ Confirmed
Date fieldsstartDate / endDatestartDateTime / endDateTime✅ Confirmed
MarketplaceNot in bodymarketplaceScope: "SINGLE_MARKETPLACE" (required)✅ Confirmed
Bidding structuredynamicBidding.strategy + placementBiddingoptimizations.bidSettings.bidStrategy + bidAdjustments.placementBidAdjustments✅ Confirmed
State valuesENABLED, PAUSED, PROPOSEDENABLED, PAUSED (create); + ARCHIVED (read)✅ Confirmed

4.3 Bidding Strategy Mapping

From the official enum mapping document:

SP v3 dynamicBidding.strategyUnified API bidStrategyConfidence
LEGACY_FOR_SALES (down only)SALES_DOWN_ONLY✅ Confirmed from enum doc
AUTO_FOR_SALES (up and down)SALES_UP_AND_DOWN✅ Confirmed from enum doc
MANUAL (fixed bid)MANUAL✅ Confirmed (identical)
RULE_BASEDRULE_BASED✅ Confirmed (identical)

Note: SB also maps MAXIMIZE_IMMEDIATE_SALES (v4 bidOptimization) → SALES_UP_AND_DOWN, and has a NEW_TO_BRAND → MAXIMIZE_NEW_TO_BRAND_CUSTOMERS mapping. SP does not use these.

4.4 Placement Enum Mapping

From the official enum mapping document:

Unified API placementSP v3 placementSB v4 placementConfidence
TOP_OF_SEARCHPLACEMENT_TOPTOP_OF_SEARCH✅ Confirmed from enum doc
PRODUCT_PAGEPLACEMENT_PRODUCT_PAGEDETAIL_PAGE✅ Confirmed from enum doc
REST_OF_SEARCHREST_OF_SEARCHREST_OF_SEARCH✅ Confirmed from enum doc
HOME_PAGEN/A (SP doesn't use)HOME✅ Confirmed from enum doc

5. Ad Group Field Mapping

SP v3 API (POST /sp/adGroups):

json
{
  "adGroups": [{
    "campaignId": "<campaign-id>",
    "name": "My Ad Group",
    "state": "ENABLED",
    "defaultBid": 1.50
  }]
}

Unified API (POST /adsApi/v1/create/adGroups):

json
{
  "adGroups": [{
    "adProduct": "SPONSORED_PRODUCTS",
    "campaignId": "<campaign-id>",
    "name": "My Ad Group",
    "state": "ENABLED",
    "bid": { "bid": 1.50 }
  }]
}
FieldSP v3Unified APIConfidence
Ad productNot neededadProduct: "SPONSORED_PRODUCTS" (required)✅ Confirmed
Default biddefaultBid: 1.50 (flat number)bid: { bid: 1.50 } (object)✅ Confirmed

6. Product Ad Field Mapping

SP v3 API (POST /sp/productAds):

json
{
  "productAds": [{
    "campaignId": "<campaign-id>",
    "adGroupId": "<ad-group-id>",
    "state": "ENABLED",
    "asin": "B0XXXXXXX1",
    "sku": "SKU-123"
  }]
}

Unified API (POST /adsApi/v1/create/ads):

json
{
  "ads": [{
    "adGroupId": "<ad-group-id>",
    "adProduct": "SPONSORED_PRODUCTS",
    "adType": "PRODUCT_AD",
    "state": "ENABLED",
    "creative": {
      "productCreative": {
        "productCreativeSettings": {
          "advertisedProduct": {
            "productId": "B0XXXXXXX1",
            "productIdType": "ASIN"
          }
        }
      }
    }
  }]
}
FieldSP v3Unified APIConfidence
WrapperproductAds arrayads array✅ Confirmed
Ad productNot neededadProduct: "SPONSORED_PRODUCTS" (required)✅ Confirmed
Ad typeNot neededadType: "PRODUCT_AD" (required)✅ Confirmed
Campaign IDcampaignId in bodyNot in ad body (inherited from ad group)✅ Confirmed
ASINasin: "B0XX" (flat string)creative.productCreative.productCreativeSettings.advertisedProduct.productId + productIdType: "ASIN"✅ Confirmed
SKUsku: "SKU-123" (flat string)❓ Check if SKU maps to productId with different productIdType❓ Unconfirmed

❓ The SKU field mapping is not clear from the schema. The Unified API uses productIdType: "ASIN" — it's unclear whether SKU-based ads use a different productIdType or a different mechanism. Open a support case if you use SKU-based product ads.


7. Targeting Migration

This is the most significant structural change. SP v3 has separate endpoints for keywords, targets, negative keywords, negative targets, and campaign-level negatives. The Unified API consolidates ALL of these into a single /adsApi/v1/create/targets endpoint.

7.1 Keyword Target

SP v3 API (POST /sp/keywords):

json
{
  "keywords": [{
    "campaignId": "<campaign-id>",
    "adGroupId": "<ad-group-id>",
    "state": "ENABLED",
    "keywordText": "women running shoes",
    "matchType": "BROAD",
    "bid": 1.50
  }]
}

Unified API (POST /adsApi/v1/create/targets):

json
{
  "targets": [{
    "adGroupId": "<ad-group-id>",
    "adProduct": "SPONSORED_PRODUCTS",
    "state": "ENABLED",
    "negative": false,
    "targetType": "KEYWORD",
    "bid": { "bid": 1.50 },
    "targetDetails": {
      "keywordTarget": {
        "keyword": "women running shoes",
        "matchType": "BROAD"
      }
    }
  }]
}
FieldSP v3Unified API
Keyword textkeywordTexttargetDetails.keywordTarget.keyword
Match typematchTypetargetDetails.keywordTarget.matchType
Bidbid: 1.50 (flat number)bid: { bid: 1.50 } (object)
Campaign IDcampaignId (required)Not needed (inherited from ad group)
Negative flagSeparate endpoint /sp/negativeKeywordsnegative: true on same endpoint

7.2 Negative Keyword

SP v3 API (POST /sp/negativeKeywords):

json
{
  "negativeKeywords": [{
    "campaignId": "<campaign-id>",
    "adGroupId": "<ad-group-id>",
    "state": "ENABLED",
    "keywordText": "free",
    "matchType": "EXACT"
  }]
}

Unified API (POST /adsApi/v1/create/targets):

json
{
  "targets": [{
    "adGroupId": "<ad-group-id>",
    "adProduct": "SPONSORED_PRODUCTS",
    "state": "ENABLED",
    "negative": true,
    "targetType": "KEYWORD",
    "targetDetails": {
      "keywordTarget": {
        "keyword": "free",
        "matchType": "EXACT"
      }
    }
  }]
}

7.3 Product/Category Targeting

SP v3 API (POST /sp/targets) uses expression-based targeting. Unified API uses typed target objects:

SP v3 Target TypeUnified API targetTypeUnified API targetDetails
ASIN targetingPRODUCTproductTarget: { product: { productId }, productIdType: "ASIN", matchType: "PRODUCT_EXACT" }
Category targetingPRODUCT_CATEGORYproductCategoryTarget: { productCategoryRefinement: {...} }
Auto targetingTHEMEthemeTarget: { matchType: "..." }

7.4 Product Match Type Mapping (ASIN Exact vs Expanded)

From the official enum mapping document — this is how to distinguish ASIN exact vs expanded:

Unified API matchTypeSP v3 expressionDescriptionConfidence
PRODUCT_EXACTASIN_SAME_ASASIN exact targeting (only the specified ASIN)✅ Confirmed from enum doc
PRODUCT_SIMILARASIN_EXPANDED_FROMASIN expanded targeting (similar products)✅ Confirmed from enum doc

This is the answer to "how to distinguish ASIN exact vs expanded":

  • targetType: "PRODUCT" + productTarget.matchType: "PRODUCT_EXACT" = ASIN exact (精准)
  • targetType: "PRODUCT" + productTarget.matchType: "PRODUCT_SIMILAR" = ASIN expanded (扩展)
  • targetType: "PRODUCT_CATEGORY" = Category targeting (类目)

Note: The Unified API OpenAPI schema (UnifiedAPISP.json) only lists PRODUCT_EXACT in the SPProductMatchType enum. However, the official enum mapping document confirms PRODUCT_SIMILAR also exists for expanded ASIN targeting. The schema may be incomplete.

7.4 Campaign-Level Negative Targeting

In SP v3, campaign-level negatives use separate endpoints (/sp/campaignNegativeKeywords, /sp/campaignNegativeTargets).

In the Unified API, use the same /adsApi/v1/create/targets endpoint with:

  • negative: true
  • campaignId instead of adGroupId
  • Target level becomes campaign-level

7.5 Auto Targeting (Theme Targets)

SP v3 auto campaigns implicitly create auto targets. In the Unified API, these are explicit THEME type targets with the following match types:

Auto target match types (✅ Confirmed from enum doc):

Unified API matchTypeSP v3 equivalentDescription
SEARCH_LOOSE_MATCHQUERY_BROAD_REL_MATCHESLoosely related search terms
SEARCH_CLOSE_MATCHQUERY_HIGH_REL_MATCHESClosely related search terms
PRODUCT_SUBSTITUTESASIN_SUBSTITUTE_RELATEDSimilar product detail pages
PRODUCT_COMPLEMENTSASIN_ACCESSORY_RELATEDComplementary product detail pages

Theme target match types for manual SP campaigns (✅ Confirmed from enum doc):

Unified API matchTypeSP v3 equivalentDescription
KEYWORDS_RELATED_TO_YOUR_BRANDbrandKeywords related to your brand
KEYWORDS_RELATED_TO_GIFTSgiftKeywords related to gifts
KEYWORDS_RELATED_TO_YOUR_PRODUCT_CATEGORYcategoryKeywords related to your product category

7.6 Target Type Mapping

From the official enum mapping document, the Unified API targetType values include:

Unified API targetTypeUsage
AUTOAuto targeting (SP)
KEYWORDKeyword targeting
PRODUCTASIN targeting
PRODUCT_CATEGORYCategory targeting
PRODUCT_AUDIENCEProduct audience (SD)
PRODUCT_CATEGORY_AUDIENCECategory audience (SD)
AUDIENCEAudience targeting (SD)

7.7 Product ID Type

From the enum mapping document, productIdType supports:

  • ASIN — ASIN identifier
  • SKU — SKU identifier

This confirms that SKU-based product ads ARE supported in the Unified API via productIdType: "SKU".


8. Audience Bid Adjustment Migration

SP v3 API:

json
"dynamicBidding": {
  "shopperCohortBidding": [{
    "shopperCohortType": "AUDIENCE_SEGMENT",
    "percentage": 50,
    "audienceSegments": [{ "audienceId": "xxx", "audienceSegmentType": "SPONSORED_ADS_AMC" }]
  }]
}

Unified API:

json
"optimizations": {
  "bidSettings": {
    "bidAdjustments": {
      "audienceBidAdjustments": [{ "audienceId": "xxx", "percentage": 50 }]
    }
  }
}

What's confirmed (✅):

  • Unified API audienceBidAdjustments only has audienceId + percentage
  • No audienceSegmentType or shopperCohortType fields exist in the Unified API

Unconfirmed (❓):

  • Whether audienceId values are directly portable
  • How "default audience" is expressed — open a support case to verify

9. Response Format Differences

SP v3 success response:

json
{
  "campaigns": {
    "success": [{ "campaignId": "123", "index": 0 }],
    "error": [{ "index": 1, "errors": [...] }]
  }
}

Unified API success response:

json
{
  "success": [{ "index": 0, "campaign": {...} }],
  "error": [{ "index": 1, "errors": [...] }]
}

Top-level success/error without a resource-type wrapper.


10. Features NOT Available in Unified API

The following v3 features must still use SP v3 endpoints:

  • Budget rules — /sp/budgetRules
  • Budget recommendations — /sp/campaigns/budgetRecommendations
  • Budget usage — /sp/campaigns/budget/usage
  • Campaign recommendations — /sp/campaign/recommendations
  • Optimization rules — /sp/rules/optimization, /sp/rules/campaignOptimization
  • Keyword recommendations — /sp/targets/keywords/recommendations
  • Product recommendations — /sp/targets/products/recommendations
  • Category recommendations — /sp/targets/categories/recommendations
  • Targetable categories — /sp/targets/categories
  • Category refinements — /sp/targets/category/{id}/refinements
  • Bid recommendations — /sp/targets/bid/recommendations
  • Negative target brand recommendations — /sp/negativeTargets/brands/recommendations
  • Target promotion groups — /sp/targetPromotionGroups
  • Events — /sp/v1/events

11. Migration Checklist

Headers & Transport

  • Rename Amazon-Advertising-API-ClientId → Amazon-Ads-ClientId
  • Change Content-Type from versioned types to application/json
  • Change all HTTP methods to POST (no more PUT)
  • Update endpoint paths (/sp/... → /adsApi/v1/...)
  • Remove Prefer header (not used in Unified API)

Campaign Level

  • Add adProduct: "SPONSORED_PRODUCTS" to all create/query requests
  • Add marketplaceScope: "SINGLE_MARKETPLACE" to campaign creation
  • Restructure budget from { budget, budgetType } to nested budgets[] array
  • Convert date strings from YYYY-MM-DD to ISO 8601 datetime
  • Rename date fields (startDate → startDateTime)
  • Move bidding from dynamicBidding.strategy to optimizations.bidSettings.bidStrategy
  • Update bidding strategy enum (LEGACY_FOR_SALES → SALES_DOWN_ONLY, AUTO_FOR_SALES → SALES_UP_AND_DOWN)
  • Update placement enums (PLACEMENT_TOP → TOP_OF_SEARCH, PLACEMENT_PRODUCT_PAGE → PRODUCT_PAGE, PLACEMENT_REST_OF_SEARCH → REST_OF_SEARCH)
  • Restructure audience bid adjustments from shopperCohortBidding to audienceBidAdjustments

Ad Group Level

  • Add adProduct: "SPONSORED_PRODUCTS" to ad group requests
  • Restructure defaultBid (number) to bid: { bid: value } (object)

Ad Level

  • Replace /sp/productAds with /adsApi/v1/create/ads
  • Add adType: "PRODUCT_AD" to ad creation
  • Wrap ASIN in creative.productCreative.productCreativeSettings.advertisedProduct
  • Remove campaignId from ad body (inherited from ad group)

Targeting (Major Change)

  • Consolidate all keyword/target/negative endpoints to single /adsApi/v1/create/targets
  • Add targetType field (KEYWORD, PRODUCT, PRODUCT_CATEGORY, THEME, LOCATION)
  • Add negative: true/false flag (replaces separate negative endpoints)
  • Move keywordText to targetDetails.keywordTarget.keyword
  • Restructure bid from flat number to bid: { bid: value } object
  • Remove campaignId from ad-group-level targets (use adGroupId only)
  • For campaign-level negatives, use campaignId field instead of adGroupId

Query/Response

  • Add adProductFilter to all query requests
  • Update response parsing — remove resource-type wrapper
  • Update error handling for new ErrorCode enum

12. Common Migration Errors

Problem: 400 Bad Request

  1. Missing adProduct: "SPONSORED_PRODUCTS"
  2. Missing marketplaceScope: "SINGLE_MARKETPLACE"
  3. Wrong date format (use 2026-01-15T00:00:00Z, not 2026-01-15)
  4. Old header name Amazon-Advertising-API-ClientId instead of Amazon-Ads-ClientId
  5. Versioned Content-Type instead of application/json
  6. Budget as flat object instead of nested budgets[] array
  7. Missing adType: "PRODUCT_AD" in ad creation
  8. Missing negative field in target creation
  9. Missing targetType field in target creation

Problem: Placement bid adjustments rejected

  • Update enum values: PLACEMENT_TOP → TOP_OF_SEARCH, PLACEMENT_PRODUCT_PAGE → PRODUCT_PAGE

Problem: Keyword creation fails

  • Use /adsApi/v1/create/targets not /adsApi/v1/create/keywords (no such endpoint)
  • Set targetType: "KEYWORD" and negative: false
  • Move keywordText to targetDetails.keywordTarget.keyword

Problem: Bidding strategy rejected

  • LEGACY_FOR_SALES does not exist in Unified API — use SALES_DOWN_ONLY
  • AUTO_FOR_SALES does not exist — use SALES_UP_AND_DOWN

13. Frequently Asked Questions

Q: Do I need to migrate everything at once? A: No. Both APIs work simultaneously. Migrate incrementally.

Q: Will campaigns created in v3 be visible in Unified API? A: Yes. The Unified API can query resources regardless of which API created them.

Q: The biggest change seems to be targeting — why? A: SP v3 had 5+ separate endpoints for different target types. The Unified API consolidates them into one endpoint with targetType and negative fields. This is simpler long-term but requires restructuring your integration.

Q: What happened to campaignId in keyword/target creation? A: In the Unified API, ad-group-level targets only need adGroupId — the campaign association is inherited. Only campaign-level targets (campaign negatives) need campaignId.

Q: Is the PROPOSED state supported in Unified API? A: The Unified API create state only supports ENABLED and PAUSED. The PROPOSED state from v3 is not available for creation in the Unified API.

Q: What about autoManageCampaign from v3? A: The Unified API has autoCreationSettings.autoCreateTargets which may serve a similar purpose. However, exact equivalence is ❓ unconfirmed — open a support case if you rely on this feature.

Q: Is reporting affected? A: No. Reporting APIs are separate and unchanged.


14. Batch Size Limits

ResourceCreateQuery (maxResults)UpdateDelete
Campaigns101001010
Ad Groups101001010
Ads101001010
Targets1000500010001000

Häufig gestellte Fragen

Was macht der KI-Skill Unified Sp Migration?

Use when migrating Sponsored Products campaigns from SP v3 API (/sp/) to the Unified API (/adsApi/v1/), including endpoint mapping, request body restructuring, header changes, field mapping differences, bidding/targeting migration, and troubleshooting migration errors.

Warum Unified Sp Migration in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Unified Sp Migration besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Unified Sp Migration in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/wjwwwww/amazon-ads-api-skills/tree/main/skills/unified-sp-migration ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Unified Sp Migration nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Unified Sp Migration verwenden?

So viele Sie möchten. In TypingMind können Sie Unified Sp Migration mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Unified Sp Migration kostenlos?

Ja. Der Skill wird von wjwwwww auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇