Logo: Unified Sp Migration

Unified Sp Migration

Communautéit
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.

Iwwersiicht

Editeurwjwwwww
Repositoryamazon-ads-api-skills
Skill-Nummunified-sp-migration
Stären
30
Forks
2
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    wjwwwww huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Unified Sp Migration an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/wjwwwww/amazon-ads-api-skills/tree/main/skills/unified-sp-migration
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-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 nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Unified Sp Migration an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Unified Sp Migration automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Unified Sp Migration net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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

Heefeg gestallte Froen

Wat mécht de 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.

Firwat Unified Sp Migration op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Unified Sp Migration besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Unified Sp Migration an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/wjwwwww/amazon-ads-api-skills/tree/main/skills/unified-sp-migration an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Unified Sp Migration benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Unified Sp Migration benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Unified Sp Migration domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Unified Sp Migration gratis?

Jo. wjwwwww huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇