Logo van 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.

Overzicht

Uitgeverwjwwwww
Repositoryamazon-ads-api-skills
Skillnaamunified-sp-migration
Sterren
30
Forks
2
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door wjwwwww op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Unified Sp Migration in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/wjwwwww/amazon-ads-api-skills/tree/main/skills/unified-sp-migration
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Unified Sp Migration in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Unified Sp Migration automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Unified Sp Migration niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Veelgestelde vragen

Wat doet de AI-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.

Waarom Unified Sp Migration gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Unified Sp Migration bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Unified Sp Migration in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/wjwwwww/amazon-ads-api-skills/tree/main/skills/unified-sp-migration. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Unified Sp Migration gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Unified Sp Migration gebruiken?

Zoveel als je wilt. Je kunt Unified Sp Migration gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Unified Sp Migration gratis?

Ja. Deze skill is door wjwwwww op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇