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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    wjwwwwwがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Unified Dsp Cm Migration」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にUnified Dsp Cm Migrationを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Unified Dsp Cm Migrationは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

よくある質問

AIスキル「Unified Dsp Cm Migration」では何ができますか?

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を読み込み、チャットごとに有効にできるスキルとしてインストールします。

Unified Dsp Cm Migrationを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Unified Dsp Cm Migrationで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもUnified Dsp Cm Migrationを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Unified Dsp Cm Migration」は無料ですか?

はい。wjwwwwwがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇