Unified Dsp Cm Migration 标志

Unified Dsp Cm Migration

社区
wjwwwww
unified-dsp-cm-migration

将 Amazon DSP Campaign Management 从旧版 API(/dsp/v1/)迁移到 Unified API(/adsApi/v1/)时使用,包括广告系列、广告组、创意素材/广告、定向和广告关联的端点映射、请求正文重组、标头变更以及字段级差异。

Add to TypingMind

概览

发布者wjwwwww
代码仓库amazon-ads-api-skills
技能名称unified-dsp-cm-migration
星标数
30
复刻数
2
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 wjwwwww 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Unified Dsp Cm Migration AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/wjwwwww/amazon-ads-api-skills/tree/main/skills/unified-dsp-cm-migration
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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-dsp-cm-migration .claude/skills/unified-dsp-cm-migration
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Unified Dsp Cm Migration,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Unified Dsp Cm Migration。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Unified Dsp Cm Migration 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Amazon DSP: Legacy API to Unified API — Campaign Management Migration Guide

1. Overview & Migration Scope

This guide helps developers migrate from the legacy DSP Campaign Management APIs (/dsp/v1/...) to the Unified API (/adsApi/v1/...).

Who Should Use This

Developers currently using:

  • /dsp/v1/campaigns — Campaign CRUD
  • /dsp/v1/adGroups — Ad Group CRUD
  • /dsp/v1/targets — Target management
  • /dsp/v1/adCreatives — Creative management
  • /dsp/v1/adCreatives/associations/adGroups — Creative-to-AdGroup linking
  • /dsp/v1/campaigns/{id}/flights — Flight management

What's Covered (Migrating to Unified API)

ResourceLegacy APIUnified API
Campaigns/dsp/v1/campaigns/adsApi/v1/create/campaigns
Ad Groups/dsp/v1/adGroups/adsApi/v1/create/adGroups
Ads (Creatives)/dsp/v1/adCreatives/adsApi/v1/create/ads
Ad Associations/dsp/v1/adCreatives/associations/adGroups/adsApi/v1/create/adAssociations
Targets/dsp/v1/targets/adsApi/v1/create/targets
Flights/dsp/v1/campaigns/{id}/flightsNested in campaign create/update

What's NOT Covered (Remain on Legacy)

These legacy APIs have no equivalent in the Unified API yet:

  • Measurement & Studies (30 endpoints)
  • Deal Proposals (19 endpoints)
  • Deals management (8 endpoints)
  • Deal Advertiser Permissions (8 endpoints)
  • Conversion Tracking (20 endpoints)
  • Bid Adjustment Rules (8 endpoints)
  • Frequency Groups (10 endpoints)
  • Inherited Settings (6 endpoints)
  • Guidance (3 endpoints)
  • QuickActions (5 endpoints)
  • Seats (4 endpoints)
  • Campaign Insights (3 endpoints)
  • Discovery APIs (8 endpoints) — partially replaced by query filters
  • Audiences (3 endpoints)

2. Architecture Changes

AspectLegacy DSPUnified DSP
Endpoint pattern/dsp/v1/{resource}/adsApi/v1/{action}/{resource}
HTTP methodsMixed: POST (create), PATCH (update), POST (list)All POST
Header: Client IDAmazon-Advertising-API-ClientIdAmazon-Ads-ClientId
Header: ScopeAmazon-Advertising-API-Scope (required)Not used
Header: Account IDAmazon-Ads-AccountId (required)Amazon-Ads-AccountId (required)
adProduct fieldNot required (implicit)Required: "AMAZON_DSP"
State valuesACTIVE / INACTIVEENABLED / PAUSED / ARCHIVED
Campaign creation stateCan create as ACTIVEMust create as PAUSED, then update to ENABLED
Response structure{requestId, success:[], error:[]}{success:[], error:[]} (no requestId at top level)
Batch size (campaigns)55
Batch size (ad groups)2020
Batch size (ads/creatives)varies10
Batch size (targets)10001000

Header Comparison

bash
# Legacy DSP
-H "Amazon-Advertising-API-ClientId: ${CLIENT_ID}"
-H "Amazon-Ads-AccountId: ${ACCOUNT_ID}"
-H "Amazon-Advertising-API-Scope: ${PROFILE_ID}"
-H "Content-Type: application/json"

# Unified DSP
-H "Amazon-Ads-ClientId: ${CLIENT_ID}"
-H "Amazon-Ads-AccountId: ${ACCOUNT_ID}"
-H "Content-Type: application/json"
# No Scope header needed

3. Endpoint Mapping Table

Legacy EndpointMethodUnified EndpointMethod
/dsp/v1/campaignsPOST/adsApi/v1/create/campaignsPOST
/dsp/v1/campaignsPATCH/adsApi/v1/update/campaignsPOST
/dsp/v1/campaigns/listPOST/adsApi/v1/query/campaignsPOST
/dsp/v1/adGroupsPOST/adsApi/v1/create/adGroupsPOST
/dsp/v1/adGroupsPATCH/adsApi/v1/update/adGroupsPOST
/dsp/v1/adGroups/listPOST/adsApi/v1/query/adGroupsPOST
/dsp/v1/targetsPOST/adsApi/v1/create/targetsPOST
/dsp/v1/targets/listPOST/adsApi/v1/query/targetsPOST
/dsp/v1/targets/deletePOST/adsApi/v1/delete/targetsPOST
/dsp/v1/targets/deleteByObjectPOST(deprecated, use delete by ID)—
/dsp/v1/adCreativesPOST/adsApi/v1/create/adsPOST
/dsp/v1/adCreatives/listPOST/adsApi/v1/query/adsPOST
/dsp/v1/adCreatives/{id}PATCH/adsApi/v1/update/adsPOST
/dsp/v1/adCreatives/associations/adGroupsPOST/adsApi/v1/create/adAssociationsPOST
/dsp/v1/adCreatives/associations/adGroupsPATCH/adsApi/v1/update/adAssociationsPOST
/dsp/v1/adCreatives/associations/adGroups/listPOST/adsApi/v1/query/adAssociationsPOST
/dsp/v1/adCreatives/associations/adGroups/deletePOST/adsApi/v1/delete/adAssociationsPOST
/dsp/v1/campaigns/{id}/flightsPOST/PATCHNested in campaign flights field—

4. Campaign Migration

Required Fields Comparison

Legacy (DspPostCampaign)Unified (DSPCampaignCreate)
advertiserIdNot needed (derived from AccountId header)
flights (required)flights (required)
frequencies (required)frequencies (optional)
name (required)name (required)
optimization (required)optimizations (required)
—adProduct: "AMAZON_DSP" (required)
—state: "PAUSED" (required on create)

Key Field Mapping

Legacy FieldUnified FieldNotes
advertiserId(removed)Derived from Amazon-Ads-AccountId header
optimization.goalSettingoptimizations.goalSettingsRenamed (pluralized)
optimization.bidStrategyoptimizations.bidSettings.bidStrategyNested deeper
optimization.automateBudgetAllocationoptimizations.budgetSettings.budgetAllocationRestructured
optimization.flightBudgetRolloverSettingoptimizations.budgetSettings.flightBudgetRolloverStrategyRenamed
state: ACTIVE/INACTIVEstate: ENABLED/PAUSED/ARCHIVEDEnum changed
countrycountries[]String → array
budgetCaps[]budgets[]Restructured with budgetType/budgetValue/recurrenceTimePeriod
feesfeesSimilar structure
flights[]flights[]Structure similar, see below

Flight Structure Comparison

json
// Legacy flight
{
  "budgetAmount": 10000.00,
  "startDateTime": "2026-01-01T00:00:00Z",
  "endDateTime": "2026-01-31T23:59:59Z",
  "name": "January Flight"
}

// Unified flight
{
  "budget": {
    "budgetType": "MONETARY",
    "budgetValue": {
      "monetaryBudgetValue": {
        "monetaryBudget": { "value": 10000.00 }
      }
    }
  },
  "startDateTime": "2026-01-01T00:00:00Z",
  "endDateTime": "2026-01-31T23:59:59Z"
}

Before/After Example

json
// LEGACY: POST /dsp/v1/campaigns
{
  "campaigns": [{
    "advertiserId": "ADV123",
    "name": "Q1 Display Campaign",
    "state": "ACTIVE",
    "country": "US",
    "flights": [{
      "budgetAmount": 50000,
      "startDateTime": "2026-01-01T00:00:00Z",
      "endDateTime": "2026-03-31T23:59:59Z"
    }],
    "frequencies": [{"frequencyType": "CUSTOM", "maxImpressions": 5, "timeUnit": "DAYS", "timeUnitCount": 1}],
    "optimization": {
      "bidStrategy": "SPEND_BUDGET_IN_FULL",
      "goalSetting": {"kpi": "CLICK_THROUGH_RATE"}
    }
  }]
}

// UNIFIED: POST /adsApi/v1/create/campaigns
{
  "campaigns": [{
    "adProduct": "AMAZON_DSP",
    "name": "Q1 Display Campaign",
    "state": "PAUSED",
    "countries": ["US"],
    "flights": [{
      "budget": {
        "budgetType": "MONETARY",
        "budgetValue": {"monetaryBudgetValue": {"monetaryBudget": {"value": 50000}}}
      },
      "startDateTime": "2026-01-01T00:00:00Z",
      "endDateTime": "2026-03-31T23:59:59Z"
    }],
    "frequencies": [{"eventMaxCount": 5, "timeUnit": "DAYS", "timeCount": 1, "frequencyTargetingSetting": "IMPRESSION"}],
    "optimizations": {
      "bidSettings": {"bidStrategy": "SPEND_BUDGET_IN_FULL"},
      "goalSettings": {"kpi": "CLICK_THROUGH_RATE"}
    }
  }]
}

⚠️ After creating the campaign in PAUSED state, update it to ENABLED to activate delivery.


5. AdGroup Migration

Required Fields Comparison

Legacy (DspPostAdGroup)Unified (DSPAdGroupCreate)
advertisedProductCategoryIdsadvertisedProductCategoryIds
bid ({baseBid})bid ({baseBid, currencyCode})
campaignIdcampaignId
creativeRotationTypecreativeRotationType
endDateTimeendDateTime
frequencies(optional)
inventoryTypeinventoryType
namename
optimization ({bidStrategy})optimization ({bidStrategy})
pacing ({deliveryProfile, catchUpBoostPercentage})pacing ({deliveryProfile})
startDateTimestartDateTime
targetingSettingstargetingSettings
—adProduct: "AMAZON_DSP" (required)
—state: "PAUSED" (required)

Key Changes

  • bid: Legacy only requires baseBid. Unified requires baseBid (currencyCode derived from campaign in create).
  • pacing.catchUpBoostPercentage: Deprecated in legacy, removed in Unified.
  • state: Must be PAUSED on create, update to ENABLED to activate.
  • targetingSettings: Mostly compatible. Key sub-fields:
    • amazonViewability — same structure
    • timeZoneType — same values (ADVERTISER_REGION, VIEWER)
    • userLocationSignal — same values
    • automatedTargetingTactic — renamed values in some cases
    • videoCompletionTier — same structure

Before/After Example

json
// LEGACY: POST /dsp/v1/adGroups
{
  "adGroups": [{
    "campaignId": "CAMP123",
    "name": "Display AdGroup",
    "inventoryType": "DISPLAY",
    "advertisedProductCategoryIds": ["12345"],
    "bid": {"baseBid": 3.50},
    "creativeRotationType": "RANDOM",
    "startDateTime": "2026-01-01T00:00:00Z",
    "endDateTime": "2026-03-31T23:59:59Z",
    "frequencies": [{"frequencyType": "CUSTOM", "maxImpressions": 10, "timeUnit": "DAYS", "timeUnitCount": 1}],
    "optimization": {"bidStrategy": "SPEND_BUDGET_IN_FULL"},
    "pacing": {"deliveryProfile": "EVEN", "catchUpBoostPercentage": 0},
    "targetingSettings": {
      "amazonViewability": {"viewabilityTier": "ALL_TIERS", "includeUnmeasurableImpressions": false},
      "timeZoneType": "VIEWER",
      "userLocationSignal": "ANYWHERE"
    }
  }]
}

// UNIFIED: POST /adsApi/v1/create/adGroups
{
  "adGroups": [{
    "adProduct": "AMAZON_DSP",
    "campaignId": "CAMP123",
    "name": "Display AdGroup",
    "state": "PAUSED",
    "inventoryType": "DISPLAY",
    "advertisedProductCategoryIds": ["12345"],
    "bid": {"baseBid": 3.50},
    "creativeRotationType": "RANDOM",
    "startDateTime": "2026-01-01T00:00:00Z",
    "endDateTime": "2026-03-31T23:59:59Z",
    "frequencies": [{"eventMaxCount": 10, "timeUnit": "DAYS", "timeCount": 1, "frequencyTargetingSetting": "IMPRESSION"}],
    "optimization": {"bidStrategy": "SPEND_BUDGET_IN_FULL"},
    "pacing": {"deliveryProfile": "EVEN"},
    "targetingSettings": {
      "amazonViewability": {"viewabilityTier": "ALL_TIERS", "includeUnmeasurableImpressions": false},
      "timeZoneType": "VIEWER",
      "userLocationSignal": "ANYWHERE"
    }
  }]
}

6. Targets Migration

Structural Change

The key difference is how target type is expressed:

AspectLegacy /dsp/v1/targetsUnified /adsApi/v1/create/targets
Target type declarationtargetType enum field inside each target detail objectoneOf key in targetDetails (no separate targetType field)
Target type valuesUppercase enum: AUDIENCE, DEVICE, etc.camelCase object key: audienceTarget, deviceTarget, etc.

Target Type Mapping

Legacy targetType EnumUnified targetDetails Key
AUDIENCEaudienceTarget
APPappTarget
DAY_PARTdayPartTarget
DEVICEdeviceTarget
LOCATIONlocationTarget
INVENTORY_SOURCEinventorySourceTarget
PRODUCTproductTarget
PRODUCT_CATEGORYproductCategoryTarget
IAB_CATEGORYcontentCategoryTarget
CONTENT_GENREcontentGenreTarget
CONTENT_RATINGcontentRatingTarget
AD_INITIATIONadInitiationTarget
AD_PLAYER_SIZEadPlayerSizeTarget
VIDEO_AD_FORMATvideoAdFormatTarget
THIRD_PARTYthirdPartyTarget
DOMAINdomainTarget
KEYWORDkeywordTarget
BRAND_SAFETY_TIERbrandSafetyTierTarget
BRAND_SAFETY_CATEGORYbrandSafetyCategoryTarget
CONTENT_INSTREAM_POSITIONcontentInstreamPositionTarget
CONTENT_OUTSTREAM_POSITIONcontentOutstreamPositionTarget
CONTENT_DURATIONvideoContentDurationTarget
ON_SCREEN_POSITIONfoldPositionTarget
NATIVE_CONTENT_POSITIONnativeContentPositionTarget
PLACEMENT_TYPEplacementTypeTarget
AUTOthemeTarget
SAVED_GROUP(not available in Unified)

Before/After Example (Audience Target)

json
// LEGACY: POST /dsp/v1/targets
{
  "targets": [{
    "adGroupId": "AG123",
    "adProduct": "AMAZON_DSP",
    "negative": false,
    "state": "ENABLED",
    "targetDetails": {
      "audienceTarget": {
        "audienceId": "AUD456",
        "groupId": "1",
        "targetType": "AUDIENCE"
      }
    }
  }]
}

// UNIFIED: POST /adsApi/v1/create/targets
{
  "targets": [{
    "adGroupId": "AG123",
    "adProduct": "AMAZON_DSP",
    "negative": false,
    "state": "ENABLED",
    "targetDetails": {
      "audienceTarget": {
        "audienceId": {"defaultValue": "AUD456"},
        "groupId": "1"
      }
    }
  }]
}

Key differences:

  • No targetType field inside the target detail object in Unified
  • audienceId changed from plain string to {"defaultValue": "..."} (marketplace-aware)

7. Ads & Creative Migration

Conceptual Change

AspectLegacyUnified
Creative entity/dsp/v1/adCreatives — standalone creative/adsApi/v1/create/ads — "ad" contains creative
Linking to ad group/dsp/v1/adCreatives/associations/adGroups/adsApi/v1/create/adAssociations
Creative typesNested in creative settingsadType enum + creative oneOf

Ad Types

Unified adTypeCreative oneOf KeyDescription
AUDIOaudioCreativeAudio ads (streaming audio/podcast)
COMPONENTcomponentCreativeResponsive ecommerce, asset-based, brand store
DISPLAYdisplayCreativeStandard display with custom images
THIRD_PARTYthirdPartyCreativeThird-party ad server hosted
VIDEOvideoCreativeOnline video (OLV) and Streaming TV (STV)

Before/After Example (Responsive Ecommerce Ad)

json
// LEGACY: POST /dsp/v1/adCreatives
// (creates a creative, then associate separately)
{
  "adCreatives": [{
    "adType": "COMPONENT",
    "creativeSettings": {
      "responsiveEcommerceSettings": {
        "language": "EN",
        "inventoryTypes": ["DISPLAY"],
        "products": [{"productId": "B0EXAMPLE", "productIdType": "ASIN"}],
        "optimizationGoalKpi": "CLICK_THROUGH_RATE",
        "responsiveSizingBehavior": "ENABLED",
        "supportedThirdPartySellers": "DISABLED"
      }
    }
  }]
}

// UNIFIED: POST /adsApi/v1/create/ads
{
  "ads": [{
    "adProduct": "AMAZON_DSP",
    "adType": "COMPONENT",
    "name": "Responsive Ecommerce Ad",
    "state": "PAUSED",
    "creative": {
      "componentCreative": {
        "responsiveEcommerceSettings": {
          "language": "EN",
          "inventoryTypes": ["DISPLAY"],
          "products": [{"productId": "B0EXAMPLE", "productIdType": "ASIN"}],
          "optimizationGoalKpi": "CLICK_THROUGH_RATE",
          "responsiveSizingBehavior": "ENABLED",
          "supportedThirdPartySellers": "DISABLED"
        }
      }
    }
  }]
}

Ad Association (Linking Ad to AdGroup)

json
// LEGACY: POST /dsp/v1/adCreatives/associations/adGroups
{
  "associations": [{
    "adCreativeId": "CREATIVE123",
    "adGroupId": "AG123",
    "state": "ACTIVE"
  }]
}

// UNIFIED: POST /adsApi/v1/create/adAssociations
{
  "adAssociations": [{
    "adId": "AD123",
    "adGroupId": "AG123",
    "state": "ENABLED"
  }]
}

8. New Features in Unified API (Not Available in Legacy)

Commitments

Manage advertising commitments/deals:

  • POST /adsApi/v1/create/commitments/dsp
  • POST /adsApi/v1/query/commitments/dsp
  • POST /adsApi/v1/update/commitments/dsp
  • POST /adsApi/v1/retrieve/commitments/dsp
  • POST /adsApi/v1/retrieve/commitmentSpends/dsp
  • GET /adsApi/v1/commitments/dsp (list)

GeoLocations

Create geo-targeting definitions (smart locations + radius):

  • POST /adsApi/v1/create/geoLocations

Supports:

  • Smart locations: Target postal codes based on a sales index
  • Radius locations (beta): Target users within a distance of a coordinate

Location Indexes

Create and manage custom postal-code-to-value datasets:

  • POST /adsApi/v1/create/locationIndexes
  • POST /adsApi/v1/update/locationIndexes
  • POST /adsApi/v1/retrieve/locationIndexes
  • GET /adsApi/v1/locationIndexes (list)

Campaign Forecasts

Retrieve delivery forecasts for campaigns:

  • POST /adsApi/v1/retrieve/campaignForecasts/dsp

Returns: delivery confidence, expected reach/impressions, spend projections, replanning recommendations.


9. Legacy APIs NOT Migrated

These GA legacy APIs continue to function and have no equivalent in the Unified API. Continue using them directly:

CategoryLegacy SpecEndpointsPath Pattern
MeasurementMeasurement_prod_3p.json30/dsp/measurement/...
Deal ProposalsDealProposals_prod_3p.json19/dsp/inventory/proposals/...
DealsDeals_prod_3p.json8/dsp/inventory/deals/...
Deal PermissionsDealAdvertiserPermissions_prod_3p.json8/dsp/inventory/deals/{id}/advertiserPermissions/...
Deal Create/UpdateD16GDspApiDeals_prod_3p.json2/dsp/inventory/deals
ConversionsConversionsAPI_prod_3p.json17/accounts/{id}/dsp/...
Conv. Tracking ProductsCampaignConversionTracking-Products-V1_prod_3p.json3/dsp/v1/campaigns/{id}/conversionTracking/...
Bid AdjustmentsBidAdjustments_prod_3p.json8/dsp/rules/adjustments/...
Frequency GroupsD16GFMApiFrequencyGroup*.json10/frequencyGroups/v1/...
Inherited SettingsInheritedSettingsAPI-V1_prod_3p.json6/dsp/v1/inheritedSettings/...
GuidanceDSPGuidance_prod_3p.json3/dsp/v1/guidance/...
QuickActionsDSPQuickActions_prod_3p.json5/dsp/v1/quickactions/...
SeatsD16GSeatsApiService_prod_3p.json, SeatIDs_prod_3p.json4/dsp/v1/seats/...
InsightsD16GDspApiCampaignInsightsV1_prod_3p.json, D16GDspApiActionableInsights_prod_3p.json3/dsp/v1/campaign/insights, /dsp/v1/frequency*Insights/...
Discovery7 files8/dsp/v1/*/list, /dsp/v2/*/list, /dsp/geoLocations
AudiencesADSPAudiences_prod_3p.json1/dsp/audiences
Combined AudiencesCombinedAudienceAPI_prod_3p.json2/dsp/audiences/combinedAudiences/...
KPI RecommendationsGoalSeekingBidderTargetKPIRecommendation_prod_3p.json1/dsp/campaigns/targetKpi/recommendations

10. FAQ

Q: Can I use both legacy and Unified APIs simultaneously? A: Yes. You can gradually migrate resource by resource. Campaigns created via legacy are visible in the Unified query endpoints, and vice versa.

Q: Do I need to migrate everything at once? A: No. The recommended approach is:

  1. Start with queries (read-only, low risk)
  2. Migrate campaign creation
  3. Migrate ad group creation
  4. Migrate targets
  5. Migrate creatives/ads + associations

Q: Why must campaigns be created in PAUSED state? A: This is an ADSP-specific requirement in the Unified API. Create the campaign as PAUSED, configure all ad groups, ads, and targets, then update the campaign state to ENABLED to begin delivery.

Q: What happened to advertiserId in campaign create? A: It's no longer needed. The advertiser is determined from the Amazon-Ads-AccountId header.

Q: What about the Amazon-Advertising-API-Scope header? A: Not used in the Unified API. Remove it from your requests.

Q: How do I handle the targetType field change in targets? A: In legacy, each target detail object has a targetType enum field (e.g., "targetType": "AUDIENCE"). In Unified, the target type is determined by which key you use in targetDetails (e.g., "audienceTarget": {...}). Remove the targetType field from your target detail objects.

Q: Are batch size limits the same? A: Mostly yes. Campaigns: 5, Ad Groups: 20, Targets: 1000. Ads (creatives) changed from variable to fixed at 10. Ad Associations: 20.

Q: What about legacy /dsp/v1/targets/deleteByObject? A: This endpoint is deprecated even in legacy. Use delete-by-ID pattern: collect target IDs via query, then call /adsApi/v1/delete/targets with the IDs.

常见问题

Unified Dsp Cm Migration AI 技能有什么作用?

将 Amazon DSP Campaign Management 从旧版 API(/dsp/v1/)迁移到 Unified API(/adsApi/v1/)时使用,包括广告系列、广告组、创意素材/广告、定向和广告关联的端点映射、请求正文重组、标头变更以及字段级差异。

为什么在 TypingMind 中使用 Unified Dsp Cm Migration?

因为您只需安装一次,就能搭配任何模型使用。Unified Dsp Cm Migration 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Unified Dsp Cm Migration?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/wjwwwww/amazon-ads-api-skills/tree/main/skills/unified-dsp-cm-migration。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Unified Dsp Cm Migration?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Unified Dsp Cm Migration 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Unified Dsp Cm Migration 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Unified Dsp Cm Migration AI 技能免费吗?

是的。wjwwwww 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇